Searched refs:newDiff (Results 1 – 2 of 2) sorted by relevance
146 …int newDiff = Math.abs(screenResolution.x * supportedHeight - supportedWidth * screenResolution.y); in findBestPreviewSizeValue() local147 if (newDiff == 0) { in findBestPreviewSizeValue()151 if (newDiff < diff) { in findBestPreviewSizeValue()153 diff = newDiff; in findBestPreviewSizeValue()
904 INT lastDiff, newDiff; in FDKsbrEnc_SbrGetXOverFreq() local916 newDiff = fixp_abs((INT)pVKMaster[band] - cutoffSb); in FDKsbrEnc_SbrGetXOverFreq()918 if (newDiff >= lastDiff) { in FDKsbrEnc_SbrGetXOverFreq()923 lastDiff = newDiff; in FDKsbrEnc_SbrGetXOverFreq()