Lines Matching refs:pixelStride
173 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const { in getPlanePixelStride()
179 if (pixelStride == nullptr) { in getPlanePixelStride()
189 *pixelStride = (planeIdx == 0) ? 1 : mBuffer->chromaStep; in getPlanePixelStride()
192 *pixelStride = (planeIdx == 0) ? 1 : 2; in getPlanePixelStride()
195 *pixelStride = 1; in getPlanePixelStride()
198 *pixelStride = 1; in getPlanePixelStride()
204 *pixelStride = 2; in getPlanePixelStride()
208 *pixelStride = 4; in getPlanePixelStride()
212 *pixelStride = 3; in getPlanePixelStride()
598 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) { in AImage_getPlanePixelStride() argument
600 if (image == nullptr || pixelStride == nullptr) { in AImage_getPlanePixelStride()
602 __FUNCTION__, image, pixelStride); in AImage_getPlanePixelStride()
605 return image->getPlanePixelStride(planeIdx, pixelStride); in AImage_getPlanePixelStride()