Home
last modified time | relevance | path

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

/frameworks/av/media/ndk/
DNdkImage.cpp224 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const { in getPlanePixelStride() argument
230 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlanePixelStride()
232 planeIdx, mNumPlanes - 1); in getPlanePixelStride()
245 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()
248 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride()
252 *pixelStride = (planeIdx == 0) ? 2 : mLockedBuffer->chromaStep; in getPlanePixelStride()
254 *pixelStride = (planeIdx == 0) ? 2 : 4; in getPlanePixelStride()
291 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const { in getPlaneRowStride() argument
297 if (planeIdx < 0 || planeIdx >= mNumPlanes) { in getPlaneRowStride()
299 planeIdx, mNumPlanes - 1); in getPlaneRowStride()
[all …]
DNdkImagePriv.h81 media_status_t getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const;
82 media_status_t getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const;
83 media_status_t getPlaneData(int planeIdx,/*out*/uint8_t** data, /*out*/int* dataLength) const;
/frameworks/av/media/ndk/include/media/
DNdkImage.h723 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) __INTRODUCED_IN(24);
752 const AImage* image, int planeIdx, /*out*/int32_t* rowStride) __INTRODUCED_IN(24);
778 const AImage* image, int planeIdx,
/frameworks/base/media/java/android/media/
DImageUtils.java276 private static Size getEffectivePlaneSizeForImage(Image image, int planeIdx) { in getEffectivePlaneSizeForImage() argument
282 if (planeIdx == 0) { in getEffectivePlaneSizeForImage()
288 if (planeIdx == 0) { in getEffectivePlaneSizeForImage()