Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DBitmapFactory.cpp157 static bool needsFineScale(const int fullSize, const int decodedSize, const int sampleSize) { in needsFineScale() argument
158 if (fullSize % sampleSize == 0 && fullSize / sampleSize != decodedSize) { in needsFineScale()
160 } else if ((fullSize / sampleSize + 1) != decodedSize && in needsFineScale()
161 (fullSize / sampleSize) != decodedSize) { in needsFineScale()
167 static bool needsFineScale(const SkISize fullSize, const SkISize decodedSize, in needsFineScale() argument
169 return needsFineScale(fullSize.width(), decodedSize.width(), sampleSize) || in needsFineScale()
170 needsFineScale(fullSize.height(), decodedSize.height(), sampleSize); in needsFineScale()
/frameworks/av/media/libstagefright/codecs/aacdec/
DSoftAAC2.cpp996 int32_t decodedSize = mDecodedSizes.itemAt(0); in onQueueFilled() local
998 ALOGV("decoded %d of %d", decodedSize, *currentBufLeft); in onQueueFilled()
999 if (*currentBufLeft > decodedSize) { in onQueueFilled()
1001 *currentBufLeft -= decodedSize; in onQueueFilled()