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

/frameworks/av/media/ndk/
H A DNdkImage.cpp173 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const { argument
174 if (planeIdx < 0 || planeIdx >= mNumPlanes) {
175 ALOGE("Error: planeIdx %d out of bound [0,%d]",
176 planeIdx, mNumPlanes - 1);
189 *pixelStride = (planeIdx == 0) ? 1 : mBuffer->chromaStep;
192 *pixelStride = (planeIdx == 0) ? 1 : 2;
228 AImage::getPlaneRowStride(int planeIdx, /*out*/int32_t* rowStride) const { argument
229 if (planeIdx < 0 || planeIdx >
336 getPlaneData(int planeIdx, uint8_t** data, int* dataLength) const argument
597 AImage_getPlanePixelStride( const AImage* image, int planeIdx, int32_t* pixelStride) argument
609 AImage_getPlaneRowStride( const AImage* image, int planeIdx, int32_t* rowStride) argument
621 AImage_getPlaneData( const AImage* image, int planeIdx, uint8_t** data, int* dataLength) argument
[all...]
H A 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/
H A DNdkImage.h544 * @param planeIdx the index of the plane. Must be less than the number of planes of input image.
549 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or pixelStride is NULL, or planeIdx
557 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride);
569 * @param planeIdx the index of the plane. Must be less than the number of planes of input image.
574 * <li>{@link AMEDIA_ERROR_INVALID_PARAMETER} if image or rowStride is NULL, or planeIdx
582 const AImage* image, int planeIdx, /*out*/int32_t* rowStride);
592 * @param planeIdx the index of the plane. Must be less than the number of planes of input image.
599 * planeIdx is out of the range of [0, numOfPlanes - 1].</li>
604 const AImage* image, int planeIdx,
/frameworks/base/media/java/android/media/
H A DImageUtils.java229 private static Size getEffectivePlaneSizeForImage(Image image, int planeIdx) { argument
234 if (planeIdx == 0) {
240 if (planeIdx == 0) {

Completed in 395 milliseconds