Searched refs:numPlanes (Results 1 – 6 of 6) sorted by relevance
/aosp14/frameworks/base/media/jni/ |
H A D | android_media_ImageReader.cpp | 781 int numPlanes, jobject buffer, int fenceFd, int format, int cropLeft, int cropTop, in ImageReader_createImagePlanes() argument 784 ALOGV("%s: create ImagePlane array with size %d", __FUNCTION__, numPlanes); in ImageReader_createImagePlanes() 794 if (isFormatOpaque(halReaderFormat) && numPlanes > 0) { in ImageReader_createImagePlanes() 797 " must be 0", halReaderFormat, numPlanes); in ImageReader_createImagePlanes() 802 jobjectArray imagePlanes = env->NewObjectArray(numPlanes, gImagePlaneClassInfo.clazz, in ImageReader_createImagePlanes() 828 for (int i = 0; i < numPlanes; i++) { in ImageReader_createImagePlanes() 850 int numPlanes, int halReaderFormat, uint64_t ndkReaderUsage) in Image_createSurfacePlanes() argument 852 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes); in Image_createSurfacePlanes() 859 if (isFormatOpaque(halReaderFormat) && numPlanes > 0) { in Image_createSurfacePlanes() 862 " must be 0", halReaderFormat, numPlanes); in Image_createSurfacePlanes() [all …]
|
H A D | android_media_ImageWriter.cpp | 1059 int numPlanes, int writerFormat) { in Image_createSurfacePlanes() argument 1060 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes); in Image_createSurfacePlanes() 1067 if (isFormatOpaque(halFormat) && numPlanes > 0) { in Image_createSurfacePlanes() 1070 " must be 0", writerFormat, numPlanes); in Image_createSurfacePlanes() 1075 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz, in Image_createSurfacePlanes() 1092 for (int i = 0; i < numPlanes; i++) { in Image_createSurfacePlanes()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | ImageReader.java | 1420 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, in nativeCreatePlanes() argument 1486 public static ImagePlane[] initializeImagePlanes(int numPlanes, in initializeImagePlanes() argument 1490 return nativeCreateImagePlanes(numPlanes, buffer, fenceFd, format, crop.left, crop.top, in initializeImagePlanes() 1494 private synchronized static native ImagePlane[] nativeCreateImagePlanes(int numPlanes, in nativeCreateImagePlanes() argument
|
H A D | ImageWriter.java | 1168 int numPlanes = ImageUtils.getNumPlanesForFormat(getFormat()); in getPlanes() local 1169 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat()); in getPlanes() 1279 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, int writerFmt); in nativeCreatePlanes() argument
|
H A D | MediaCodec.java | 5408 int numPlanes = info.getInt(); in MediaImage() local 5409 if (numPlanes != 3) { in MediaImage() 5410 throw new RuntimeException("unexpected number of planes: " + numPlanes); in MediaImage() 5440 mPlanes = new MediaPlane[numPlanes]; in MediaImage() 5441 for (int ix = 0; ix < numPlanes; ix++) { in MediaImage()
|
/aosp14/frameworks/base/core/jni/ |
H A D | android_hardware_camera2_DngCreator.cpp | 1019 size_t numChannels, const uint8_t* planeColors, size_t numPlanes, in generateNoiseProfile() argument 1022 for (size_t p = 0; p < numPlanes; ++p) { in generateNoiseProfile()
|