Home
last modified time | relevance | path

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

/frameworks/base/tools/aapt2/compile/
DPng.cpp116 int colorType, bitDepth, interlaceType, compressionType; in readPng() local
117 png_get_IHDR(readPtr, infoPtr, &outInfo->width, &outInfo->height, &bitDepth, in readPng()
124 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) { in readPng()
132 if (bitDepth == 16) { in readPng()
441 int colorType, bitDepth, interlaceType, compressionType; in writePng() local
612 png_get_IHDR(writePtr, infoPtr, &width, &height, &bitDepth, &colorType, in writePng()
617 << ", h = " << height << ", d = " << bitDepth in writePng()
/frameworks/base/media/java/android/media/
DMediaCodec.java3694 int bitDepth = info.getInt(); in MediaImage() local
3695 if (bitDepth != 8) { in MediaImage()
3696 throw new UnsupportedOperationException("unsupported bit depth: " + bitDepth); in MediaImage()
3722 buffer.limit(buffer.position() + Utils.divUp(bitDepth, 8) in MediaImage()
/frameworks/av/media/libstagefright/webm/
DWebmElement.cpp333 WebmElement *bitDepth = new WebmUnsigned(kMkvBitDepth, bps); in AudioTrackEntry() local
334 audioInfo.push_back(bitDepth); in AudioTrackEntry()