/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 34 int32_t width, int32_t height, int32_t numPlanes) : in AImage() argument 37 mWidth(width), mHeight(height), mNumPlanes(numPlanes) { in AImage() 145 AImage::getNumPlanes(int32_t* numPlanes) const { in getNumPlanes() 146 if (numPlanes == nullptr) { in getNumPlanes() 149 *numPlanes = -1; in getNumPlanes() 154 *numPlanes = mNumPlanes; in getNumPlanes() 586 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) { in AImage_getNumberOfPlanes() argument 588 if (image == nullptr || numPlanes == nullptr) { in AImage_getNumberOfPlanes() 590 __FUNCTION__, image, numPlanes); in AImage_getNumberOfPlanes() 593 return image->getNumPlanes(numPlanes); in AImage_getNumberOfPlanes()
|
D | NdkImagePriv.h | 36 int32_t width, int32_t height, int32_t numPlanes); 54 media_status_t getNumPlanes(/*out*/int32_t* numPlanes) const;
|
/frameworks/base/media/jni/ |
D | android_media_ImageWriter.cpp | 728 int numPlanes, int writerFormat) { in Image_createSurfacePlanes() argument 729 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes); in Image_createSurfacePlanes() 736 if (isFormatOpaque(format) && numPlanes > 0) { in Image_createSurfacePlanes() 739 " must be 0", format, numPlanes); in Image_createSurfacePlanes() 744 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz, in Image_createSurfacePlanes() 762 for (int i = 0; i < numPlanes; i++) { in Image_createSurfacePlanes()
|
D | android_media_ImageReader.cpp | 672 int numPlanes, int readerFormat) in Image_createSurfacePlanes() argument 674 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes); in Image_createSurfacePlanes() 685 if (isFormatOpaque(halReaderFormat) && numPlanes > 0) { in Image_createSurfacePlanes() 688 " must be 0", halReaderFormat, numPlanes); in Image_createSurfacePlanes() 693 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz, in Image_createSurfacePlanes() 708 for (int i = 0; i < numPlanes; i++) { in Image_createSurfacePlanes()
|
/frameworks/av/media/img_utils/src/ |
D | DngUtils.cpp | 334 status_t OpcodeListBuilder::addWarpRectilinear(uint32_t numPlanes, in addWarpRectilinear() argument 349 const uint32_t NUMBER_COEFFS = numPlanes * 6; in addWarpRectilinear() 355 err = mEndianOut.write(&numPlanes, 0, 1); in addWarpRectilinear()
|
/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 693 int numPlanes = ImageUtils.getNumPlanesForFormat(getFormat()); in getPlanes() local 694 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat()); in getPlanes() 802 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, int writerFmt); in nativeCreatePlanes() argument
|
D | MediaCodec.java | 3506 int numPlanes = info.getInt(); in MediaImage() local 3507 if (numPlanes != 3) { in MediaImage() 3508 throw new RuntimeException("unexpected number of planes: " + numPlanes); in MediaImage() 3525 mPlanes = new MediaPlane[numPlanes]; in MediaImage() 3526 for (int ix = 0; ix < numPlanes; ix++) { in MediaImage()
|
D | ImageReader.java | 862 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, in nativeCreatePlanes() argument
|
/frameworks/av/include/ndk/ |
D | NdkImage.h | 531 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes);
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | DngUtils.h | 136 virtual status_t addWarpRectilinear(uint32_t numPlanes,
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 944 size_t numChannels, const uint8_t* planeColors, size_t numPlanes, in generateNoiseProfile() argument 947 for (size_t p = 0; p < numPlanes; ++p) { in generateNoiseProfile()
|