Home
last modified time | relevance | path

Searched refs:mNumPlanes (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libstagefright/omx/
DOMXUtils.cpp88 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) { in initFromV1()
97 mNumPlanes = image.mNumPlanes; in initFromV1()
102 for (size_t ix = 0; ix < image.mNumPlanes; ++ix) { in initFromV1()
216 image.mNumPlanes = 0; in DescribeDefaultColorFormat()
254 image.mNumPlanes = 3; in DescribeDefaultColorFormat()
374 if (img.mNumPlanes != 3 in IsFlexibleColorFormat()
/frameworks/av/media/ndk/
DNdkImage.cpp37 mTimestamp(timestamp), mWidth(width), mHeight(height), mNumPlanes(numPlanes) { in AImage()
144 *numPlanes = mNumPlanes; in getNumPlanes()
247 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlanePixelStride()
249 planeIdx, mNumPlanes - 1); in getPlanePixelStride()
314 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneRowStride()
316 planeIdx, mNumPlanes - 1); in getPlaneRowStride()
438 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneData()
440 planeIdx, mNumPlanes - 1); in getPlaneData()
DNdkImagePriv.h104 const int32_t mNumPlanes; member
DNdkImageReaderPriv.h127 const int32_t mNumPlanes; member
DNdkImageReader.cpp279 mNumPlanes(getNumPlanesForFormat(format)), in AImageReader()
495 readerWidth, readerHeight, mNumPlanes); in acquireImageLocked()
498 bufferWidth, bufferHeight, mNumPlanes); in acquireImageLocked()
/frameworks/base/media/java/android/media/
DImageReader.java362 mNumPlanes = ImageUtils.getNumPlanesForFormat(mFormat); in ImageReader()
377 mNumPlanes = ImageUtils.getNumPlanesForHardwareBufferFormat(mHardwareBufferFormat); in ImageReader()
1109 private final int mNumPlanes; field in ImageReader
1254 return ImageReader.this.mNumPlanes; in getPlaneCount()
1292 mPlanes = nativeCreatePlanes(ImageReader.this.mNumPlanes, in getPlanes()
/frameworks/native/headers/media_plugin/media/hardware/
DVideoAPI.h42 uint32_t mNumPlanes; // number of planes member
82 uint32_t mNumPlanes; // number of planes member
/frameworks/av/media/libstagefright/colorconversion/
DColorConverter.cpp150 .mNumPlanes = 3, in CreateYUV420PlanarMediaImage2()
187 .mNumPlanes = 3, in CreateYUV420SemiPlanarMediaImage2()
229 if (mImage.mNumPlanes != 3) { in Image()
289 if (mImage.mNumPlanes != 3) { in getYUVPlaneOffsetAndStride()
1216 || mSrcImage->getMediaImage2().mNumPlanes != 3) { in convertYUVMediaImage()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp400 && img->mNumPlanes == 3 in IsYUV420()
512 .mNumPlanes = 3, in CreateYUV420PlanarMediaImage2()
547 .mNumPlanes = 3, in CreateYUV420SemiPlanarMediaImage2()
/frameworks/av/media/codec2/sfplugin/tests/
DCCodecBuffers_test.cpp251 ASSERT_EQ(3u, img->mNumPlanes); in TEST()
391 ASSERT_EQ(3u, img->mNumPlanes); in TEST()
DMediaCodec_sanity_test.cpp350 EXPECT_EQ(img->mNumPlanes, 3u); in TEST_P()
/frameworks/av/media/codec2/sfplugin/
DCCodecBuffers.cpp107 if (img->mNumPlanes > 0 && img->mType != img->MEDIA_IMAGE_TYPE_UNKNOWN) { in handleImageData()
114 if (img->mNumPlanes > 1 && stride > 0) { in handleImageData()
DCodec2Buffer.cpp595 mediaImage->mNumPlanes = layout.numPlanes; in GraphicView2MediaImageConverter()
DCCodec.cpp1743 if (img && img->mNumPlanes > 0 && img->mType != img->MEDIA_IMAGE_TYPE_UNKNOWN) { in configure()
1746 if (img->mNumPlanes > 1 && stride > 0) { in configure()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp1540 imageInfo->mNumPlanes != 3) { in copyOneYuvTile()
1544 imageInfo->mBitDepthAllocated, imageInfo->mNumPlanes); in copyOneYuvTile()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt26301 Landroid/media/ImageReader;->mNumPlanes:I