Home
last modified time | relevance | path

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

/aosp14/frameworks/base/media/java/android/media/
H A DEncoderProfiles.java209 return bitDepth; in getBitDepth()
248 int bitDepth, in VideoProfile() argument
257 this.bitDepth = bitDepth; in VideoProfile()
278 private int bitDepth; field in EncoderProfiles.VideoProfile
H A DMediaCodec.java5418 int bitDepth = info.getInt(); in MediaImage() local
5419 if (bitDepth != 8 && bitDepth != 10) { in MediaImage()
5420 throw new UnsupportedOperationException("unsupported bit depth: " + bitDepth); in MediaImage()
5427 if (bitDepth == 8 && bitDepthAllocated == 8) { in MediaImage()
5431 } else if (bitDepth == 10 && bitDepthAllocated == 16) { in MediaImage()
5437 + " bitDepth: " + bitDepth + " bitDepthAllocated: " + bitDepthAllocated); in MediaImage()
5458 buffer.limit(buffer.position() + Utils.divUp(bitDepth, 8) in MediaImage()
/aosp14/frameworks/base/tools/aapt2/compile/
H A 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()
440 int colorType, bitDepth, interlaceType, compressionType; in writePng() local
608 png_get_IHDR(writePtr, infoPtr, &width, &height, &bitDepth, &colorType, in writePng()
613 << "image written: w = " << width << ", h = " << height << ", d = " << bitDepth in writePng()
/aosp14/frameworks/base/media/jni/
H A Dandroid_media_MediaProfiles.cpp271 int bitDepth = vc->getBitDepth(); in android_media_MediaProfiles_native_get_camcorder_profiles() local
282 bitDepth, in android_media_MediaProfiles_native_get_camcorder_profiles()