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()
889 INT lastDiff, newDiff; in FDKsbrEnc_SbrGetXOverFreq() local899 newDiff = fixp_abs((INT)pVKMaster[band] - cutoffSb); in FDKsbrEnc_SbrGetXOverFreq()901 if(newDiff >= lastDiff) { in FDKsbrEnc_SbrGetXOverFreq()906 lastDiff = newDiff; in FDKsbrEnc_SbrGetXOverFreq()