Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/
DNdkImage.cpp35 int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes) : in AImage() argument
37 mTimestamp(timestamp), mWidth(width), mHeight(height), mNumPlanes(numPlanes) { in AImage()
148 AImage::getNumPlanes(int32_t* numPlanes) const { in getNumPlanes()
149 if (numPlanes == nullptr) { in getNumPlanes()
152 *numPlanes = -1; in getNumPlanes()
157 *numPlanes = mNumPlanes; in getNumPlanes()
705 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) { in AImage_getNumberOfPlanes() argument
707 if (image == nullptr || numPlanes == nullptr) { in AImage_getNumberOfPlanes()
709 __FUNCTION__, image, numPlanes); in AImage_getNumberOfPlanes()
712 return image->getNumPlanes(numPlanes); in AImage_getNumberOfPlanes()
DNdkImagePriv.h36 int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes);
55 media_status_t getNumPlanes(/*out*/int32_t* numPlanes) const;
/frameworks/base/media/jni/
Dandroid_media_ImageReader.cpp705 int numPlanes, int readerFormat) in Image_createSurfacePlanes() argument
707 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes); in Image_createSurfacePlanes()
718 if (isFormatOpaque(halReaderFormat) && numPlanes > 0) { in Image_createSurfacePlanes()
721 " must be 0", halReaderFormat, numPlanes); in Image_createSurfacePlanes()
726 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz, in Image_createSurfacePlanes()
744 for (int i = 0; i < numPlanes; i++) { in Image_createSurfacePlanes()
Dandroid_media_ImageWriter.cpp726 int numPlanes, int writerFormat) { in Image_createSurfacePlanes() argument
727 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes); in Image_createSurfacePlanes()
734 if (isFormatOpaque(format) && numPlanes > 0) { in Image_createSurfacePlanes()
737 " must be 0", format, numPlanes); in Image_createSurfacePlanes()
742 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz, in Image_createSurfacePlanes()
760 for (int i = 0; i < numPlanes; i++) { in Image_createSurfacePlanes()
/frameworks/base/media/java/android/media/
DImageWriter.java732 int numPlanes = ImageUtils.getNumPlanesForFormat(getFormat()); in getPlanes() local
733 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat()); in getPlanes()
841 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, int writerFmt); in nativeCreatePlanes() argument
DMediaCodec.java3587 int numPlanes = info.getInt(); in MediaImage() local
3588 if (numPlanes != 3) { in MediaImage()
3589 throw new RuntimeException("unexpected number of planes: " + numPlanes); in MediaImage()
3606 mPlanes = new MediaPlane[numPlanes]; in MediaImage()
3607 for (int ix = 0; ix < numPlanes; ix++) { in MediaImage()
DImageReader.java1016 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, in nativeCreatePlanes() argument
/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/av/media/ndk/include/media/
DNdkImage.h636 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.cpp945 size_t numChannels, const uint8_t* planeColors, size_t numPlanes, in generateNoiseProfile() argument
948 for (size_t p = 0; p < numPlanes; ++p) { in generateNoiseProfile()