Lines Matching refs:pixelStride
239 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const { in getPlanePixelStride()
250 if (pixelStride == nullptr) { in getPlanePixelStride()
260 *pixelStride = (planeIdx == 0) ? 1 : mLockedBuffer->chromaStep; in getPlanePixelStride()
263 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride()
266 *pixelStride = 1; in getPlanePixelStride()
269 *pixelStride = 1; in getPlanePixelStride()
275 *pixelStride = 2; in getPlanePixelStride()
279 *pixelStride = 4; in getPlanePixelStride()
283 *pixelStride = 3; in getPlanePixelStride()
716 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) { in AImage_getPlanePixelStride() argument
718 if (image == nullptr || pixelStride == nullptr) { in AImage_getPlanePixelStride()
720 __FUNCTION__, image, pixelStride); in AImage_getPlanePixelStride()
729 return image->getPlanePixelStride(planeIdx, pixelStride); in AImage_getPlanePixelStride()