Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/
DNdkImage.cpp173 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const { in getPlanePixelStride() argument
174 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlanePixelStride()
176 planeIdx, mNumPlanes - 1); in getPlanePixelStride()
189 *pixelStride = (planeIdx == 0) ? 1 : mBuffer->chromaStep; in getPlanePixelStride()
192 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride()
228 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const { in getPlaneRowStride() argument
229 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneRowStride()
231 planeIdx, mNumPlanes - 1); in getPlaneRowStride()
244 *rowStride = (planeIdx == 0) ? mBuffer->stride : mBuffer->chromaStride; in getPlaneRowStride()
254 *rowStride = (planeIdx == 0) ? mBuffer->stride : ALIGN(mBuffer->stride / 2, 16); in getPlaneRowStride()
[all …]
DNdkImagePriv.h57 media_status_t getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const;
58 media_status_t getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const;
59 media_status_t getPlaneData(int planeIdx,/*out*/uint8_t** data, /*out*/int* dataLength) const;
/frameworks/av/include/ndk/
DNdkImage.h557 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride);
582 const AImage* image, int planeIdx, /*out*/int32_t* rowStride);
604 const AImage* image, int planeIdx,
/frameworks/base/media/java/android/media/
DImageUtils.java229 private static Size getEffectivePlaneSizeForImage(Image image, int planeIdx) { in getEffectivePlaneSizeForImage() argument
234 if (planeIdx == 0) { in getEffectivePlaneSizeForImage()
240 if (planeIdx == 0) { in getEffectivePlaneSizeForImage()