Home
last modified time | relevance | path

Searched refs:newDiff (Results 1 – 2 of 2) sorted by relevance

/external/zxing/qr_scanner/src/com/google/zxing/client/android/camera/
DCameraConfigurationManager.java146 …int newDiff = Math.abs(screenResolution.x * supportedHeight - supportedWidth * screenResolution.y); in findBestPreviewSizeValue() local
147 if (newDiff == 0) { in findBestPreviewSizeValue()
151 if (newDiff < diff) { in findBestPreviewSizeValue()
153 diff = newDiff; in findBestPreviewSizeValue()
/external/aac/libSBRenc/src/
Dsbr_encoder.cpp815 INT lastDiff, newDiff; in FDKsbrEnc_SbrGetXOverFreq() local
825 newDiff = fixp_abs((INT)pVKMaster[band] - cutoffSb); in FDKsbrEnc_SbrGetXOverFreq()
827 if(newDiff >= lastDiff) { in FDKsbrEnc_SbrGetXOverFreq()
832 lastDiff = newDiff; in FDKsbrEnc_SbrGetXOverFreq()