/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 35 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() 133 AImage::getNumPlanes(int32_t* numPlanes) const { in getNumPlanes() 134 if (numPlanes == nullptr) { in getNumPlanes() 137 *numPlanes = -1; in getNumPlanes() 142 *numPlanes = mNumPlanes; in getNumPlanes() 690 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) { in AImage_getNumberOfPlanes() argument 692 if (image == nullptr || numPlanes == nullptr) { in AImage_getNumberOfPlanes() 694 __FUNCTION__, image, numPlanes); in AImage_getNumberOfPlanes() 697 return image->getNumPlanes(numPlanes); in AImage_getNumberOfPlanes()
|
D | NdkImagePriv.h | 36 int64_t timestamp, int32_t width, int32_t height, int32_t numPlanes); 55 media_status_t getNumPlanes(/*out*/int32_t* numPlanes) const;
|
/frameworks/av/media/codec2/sfplugin/ |
D | Codec2Buffer.cpp | 224 if (layout.numPlanes == 0) { in GraphicView2MediaImageConverter() 240 if (layout.numPlanes != 3) { in GraphicView2MediaImageConverter() 241 ALOGD("Converter: %d planes for YUV layout", layout.numPlanes); in GraphicView2MediaImageConverter() 265 for (uint32_t i = 0; i < layout.numPlanes; ++i) { in GraphicView2MediaImageConverter() 284 for (uint32_t i = 0; i < layout.numPlanes; ++i) { in GraphicView2MediaImageConverter() 366 if (layout.numPlanes != 3) { in GraphicView2MediaImageConverter() 367 ALOGD("Converter: %d planes for RGB layout", layout.numPlanes); in GraphicView2MediaImageConverter() 386 if (layout.numPlanes != 4) { in GraphicView2MediaImageConverter() 387 ALOGD("Converter: %d planes for RGBA layout", layout.numPlanes); in GraphicView2MediaImageConverter() 398 mediaImage->mNumPlanes = layout.numPlanes; in GraphicView2MediaImageConverter() [all …]
|
/frameworks/base/media/jni/ |
D | android_media_ImageReader.cpp | 722 int numPlanes, int readerFormat) in Image_createSurfacePlanes() argument 724 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes); in Image_createSurfacePlanes() 735 if (isFormatOpaque(halReaderFormat) && numPlanes > 0) { in Image_createSurfacePlanes() 738 " must be 0", halReaderFormat, numPlanes); in Image_createSurfacePlanes() 743 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz, in Image_createSurfacePlanes() 761 for (int i = 0; i < numPlanes; i++) { in Image_createSurfacePlanes()
|
D | android_media_ImageWriter.cpp | 909 int numPlanes, int writerFormat) { in Image_createSurfacePlanes() argument 910 ALOGV("%s: create SurfacePlane array with size %d", __FUNCTION__, numPlanes); in Image_createSurfacePlanes() 917 if (isFormatOpaque(format) && numPlanes > 0) { in Image_createSurfacePlanes() 920 " must be 0", format, numPlanes); in Image_createSurfacePlanes() 925 jobjectArray surfacePlanes = env->NewObjectArray(numPlanes, gSurfacePlaneClassInfo.clazz, in Image_createSurfacePlanes() 943 for (int i = 0; i < numPlanes; i++) { in Image_createSurfacePlanes()
|
/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 766 int numPlanes = ImageUtils.getNumPlanesForFormat(getFormat()); in getPlanes() local 767 mPlanes = nativeCreatePlanes(numPlanes, getOwner().getFormat()); in getPlanes() 875 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, int writerFmt); in nativeCreatePlanes() argument
|
D | MediaCodec.java | 3919 int numPlanes = info.getInt(); in MediaImage() local 3920 if (numPlanes != 3) { in MediaImage() 3921 throw new RuntimeException("unexpected number of planes: " + numPlanes); in MediaImage() 3938 mPlanes = new MediaPlane[numPlanes]; in MediaImage() 3939 for (int ix = 0; ix < numPlanes; ix++) { in MediaImage()
|
D | ImageReader.java | 1026 private synchronized native SurfacePlane[] nativeCreatePlanes(int numPlanes, in nativeCreatePlanes() argument
|
/frameworks/av/media/img_utils/src/ |
D | DngUtils.cpp | 388 status_t OpcodeListBuilder::addWarpRectilinear(uint32_t numPlanes, in addWarpRectilinear() argument 403 const uint32_t NUMBER_COEFFS = numPlanes * 6; in addWarpRectilinear() 409 err = mEndianOut.write(&numPlanes, 0, 1); in addWarpRectilinear()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkImage.h | 692 media_status_t AImage_getNumberOfPlanes(const AImage* image, /*out*/int32_t* numPlanes) __INTRODUCE…
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | DngUtils.h | 141 virtual status_t addWarpRectilinear(uint32_t numPlanes,
|
/frameworks/av/media/codec2/sfplugin/utils/ |
D | Codec2BufferUtils.cpp | 71 for (uint32_t i = 0; i < layout.numPlanes; ++i) { in _ImageCopy() 192 return (layout.numPlanes == 3 in IsYUV420()
|
/frameworks/av/media/codec2/vndk/ |
D | C2AllocatorGralloc.cpp | 534 layout->numPlanes = 4; in map() 645 layout->numPlanes = 3; in map() 759 layout->numPlanes = 3; in map()
|
D | C2Buffer.cpp | 857 for (size_t planeIx = 0; planeIx < mLayout.numPlanes; ++planeIx) { in Mapped()
|
/frameworks/av/media/codec2/core/include/ |
D | C2Buffer.h | 1568 uint32_t numPlanes; // number of component planes member
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 954 size_t numChannels, const uint8_t* planeColors, size_t numPlanes, in generateNoiseProfile() argument 957 for (size_t p = 0; p < numPlanes; ++p) { in generateNoiseProfile()
|