Searched refs:bitDepth (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/tools/aapt2/compile/
H A DPng.cpp111 int colorType, bitDepth, interlaceType, compressionType; local
112 png_get_IHDR(readPtr, infoPtr, &outInfo->width, &outInfo->height, &bitDepth, &colorType,
119 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) {
127 if (bitDepth == 16) {
420 int colorType, bitDepth, interlaceType, compressionType; local
584 png_get_IHDR(writePtr, infoPtr, &width, &height, &bitDepth, &colorType, &interlaceType,
590 << ", d = " << bitDepth << ", colors = " << colorType
/frameworks/base/media/java/android/media/
H A DMediaCodec.java3516 int bitDepth = info.getInt();
3517 if (bitDepth != 8) {
3518 throw new UnsupportedOperationException("unsupported bit depth: " + bitDepth);
3544 buffer.limit(buffer.position() + Utils.divUp(bitDepth, 8)
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp333 WebmElement *bitDepth = new WebmUnsigned(kMkvBitDepth, bps); local
334 audioInfo.push_back(bitDepth);

Completed in 87 milliseconds