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()
815 INT lastDiff, newDiff; in FDKsbrEnc_SbrGetXOverFreq() local825 newDiff = fixp_abs((INT)pVKMaster[band] - cutoffSb); in FDKsbrEnc_SbrGetXOverFreq()827 if(newDiff >= lastDiff) { in FDKsbrEnc_SbrGetXOverFreq()832 lastDiff = newDiff; in FDKsbrEnc_SbrGetXOverFreq()