Home
last modified time | relevance | path

Searched refs:numPlanes (Results 1 – 11 of 11) sorted by relevance

/frameworks/av/media/ndk/
DNdkImage.cpp34 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()
DNdkImagePriv.h36 int32_t width, int32_t height, int32_t numPlanes);
54 media_status_t getNumPlanes(/*out*/int32_t* numPlanes) const;
/frameworks/base/media/jni/
Dandroid_media_ImageWriter.cpp728 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()
Dandroid_media_ImageReader.cpp672 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/
DDngUtils.cpp334 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/
DImageWriter.java693 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
DMediaCodec.java3506 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()
DImageReader.java862 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, in nativeCreatePlanes() argument
/frameworks/av/include/ndk/
DNdkImage.h531 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes);
/frameworks/av/media/img_utils/include/img_utils/
DDngUtils.h136 virtual status_t addWarpRectilinear(uint32_t numPlanes,
/frameworks/base/core/jni/
Dandroid_hardware_camera2_DngCreator.cpp944 size_t numChannels, const uint8_t* planeColors, size_t numPlanes, in generateNoiseProfile() argument
947 for (size_t p = 0; p < numPlanes; ++p) { in generateNoiseProfile()