Searched refs:bitDepth (Results 1 – 7 of 7) sorted by relevance
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 231 uint32_t bitDepth = layout.planes[0].bitDepth; in GraphicView2MediaImageConverter() local 401 mediaImage->mBitDepth = bitDepth; in GraphicView2MediaImageConverter() 407 if (plane.allocatedDepth < plane.bitDepth in GraphicView2MediaImageConverter() 408 || plane.rightShift != plane.allocatedDepth - plane.bitDepth) { in GraphicView2MediaImageConverter() 418 if (plane.allocatedDepth != mAllocatedDepth || plane.bitDepth != bitDepth) { in GraphicView2MediaImageConverter()
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 80 || plane.allocatedDepth < plane.bitDepth in _ImageCopy() 82 || plane.rightShift != plane.allocatedDepth - plane.bitDepth in _ImageCopy() 196 && layout.planes[layout.PLANE_Y].bitDepth == 8 in IsYUV420() 202 && layout.planes[layout.PLANE_U].bitDepth == 8 in IsYUV420() 208 && layout.planes[layout.PLANE_V].bitDepth == 8 in IsYUV420()
|
/frameworks/base/tools/aapt2/compile/ |
D | Png.cpp | 117 int colorType, bitDepth, interlaceType, compressionType; in readPng() local 118 png_get_IHDR(readPtr, infoPtr, &outInfo->width, &outInfo->height, &bitDepth, in readPng() 125 if (colorType == PNG_COLOR_TYPE_GRAY && bitDepth < 8) { in readPng() 133 if (bitDepth == 16) { in readPng() 442 int colorType, bitDepth, interlaceType, compressionType; in writePng() local 613 png_get_IHDR(writePtr, infoPtr, &width, &height, &bitDepth, &colorType, in writePng() 618 << ", h = " << height << ", d = " << bitDepth in writePng()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Config.h | 1358 : bitDepth(8), subsampling(C2Color::YUV_420) { } in C2ColorInfoStruct() 1360 uint32_t bitDepth; member 1366 : bitDepth(bitDepth_), subsampling(subsampling_) { } in C2ColorInfoStruct() 1371 : bitDepth(bitDepth_), subsampling(subsampling_) { in C2ColorInfoStruct() 1383 C2FIELD(bitDepth, "bit-depth") 2005 uint32_t bitDepth; member 2011 C2FIELD(bitDepth, "bit-depth")
|
D | C2Buffer.h | 1497 uint32_t bitDepth; ///< significant bits per sample member
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 3929 int bitDepth = info.getInt(); in MediaImage() local 3930 if (bitDepth != 8) { in MediaImage() 3931 throw new UnsupportedOperationException("unsupported bit depth: " + bitDepth); in MediaImage() 3957 buffer.limit(buffer.position() + Utils.divUp(bitDepth, 8) in MediaImage()
|
/frameworks/av/media/libstagefright/webm/ |
D | WebmElement.cpp | 334 WebmElement *bitDepth = new WebmUnsigned(kMkvBitDepth, bps); in AudioTrackEntry() local 335 audioInfo.push_back(bitDepth); in AudioTrackEntry()
|