Home
last modified time | relevance | path

Searched refs:planeIdx (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/ndk/
DNdkImage.cpp240 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const { in getPlanePixelStride() argument
246 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlanePixelStride()
248 planeIdx, mNumPlanes - 1); in getPlanePixelStride()
261 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()
264 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride()
300 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const { in getPlaneRowStride() argument
306 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneRowStride()
308 planeIdx, mNumPlanes - 1); in getPlaneRowStride()
321 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
332 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
[all …]
DNdkImagePriv.h61 media_status_t getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const;
62 media_status_t getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const;
63 media_status_t getPlaneData(int planeIdx,/*out*/uint8_t** data, /*out*/int* dataLength) const;
/frameworks/av/media/ndk/include/media/
DNdkImage.h664 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride);
691 const AImage* image, int planeIdx, /*out*/int32_t* rowStride);
715 const AImage* image, int planeIdx,
/frameworks/base/media/java/android/media/
DImageUtils.java235 private static Size getEffectivePlaneSizeForImage(Image image, int planeIdx) { in getEffectivePlaneSizeForImage() argument
240 if (planeIdx == 0) { in getEffectivePlaneSizeForImage()
246 if (planeIdx == 0) { in getEffectivePlaneSizeForImage()