Searched refs:bitDepth (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | Png.cpp | 113 int colorType, bitDepth, interlaceType, compressionType; in readPng() local 114 png_get_IHDR(readPtr, infoPtr, &outInfo->width, &outInfo->height, &bitDepth, &colorType, in readPng() 121 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) { in readPng() 129 if (bitDepth == 16) { in readPng() 422 int colorType, bitDepth, interlaceType, compressionType; in writePng() local 586 png_get_IHDR(writePtr, infoPtr, &width, &height, &bitDepth, &colorType, &interlaceType, in writePng() 591 << ", d = " << bitDepth << ", colors = " << colorType in writePng()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 331 WebmElement *bitDepth = new WebmUnsigned(kMkvBitDepth, bps); in AudioTrackEntry() local 332 audioInfo.push_back(bitDepth); in AudioTrackEntry()
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 3322 int bitDepth = readInt(info, sizeIsLong); in MediaImage() local 3323 if (bitDepth != 8) { in MediaImage() 3324 throw new UnsupportedOperationException("unsupported bit depth: " + bitDepth); in MediaImage() 3341 buffer.limit(buffer.position() + Utils.divUp(bitDepth, 8) in MediaImage()
|