Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/
DNdkImage.cpp225 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const { in getPlanePixelStride() argument
231 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlanePixelStride()
233 planeIdx, mNumPlanes - 1); in getPlanePixelStride()
246 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()
249 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride()
285 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const { in getPlaneRowStride() argument
291 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneRowStride()
293 planeIdx, mNumPlanes - 1); in getPlaneRowStride()
306 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
317 *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.h722 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) __INTRODUCED_IN(24);
751 const AImage* image, int planeIdx, /*out*/int32_t* rowStride) __INTRODUCED_IN(24);
777 const AImage* image, int planeIdx,
/frameworks/base/media/java/android/media/
DImageUtils.java239 private static Size getEffectivePlaneSizeForImage(Image image, int planeIdx) { in getEffectivePlaneSizeForImage() argument
244 if (planeIdx == 0) { in getEffectivePlaneSizeForImage()
250 if (planeIdx == 0) { in getEffectivePlaneSizeForImage()