Home | History | Annotate | Download | only in ndk

Lines Matching refs:pixelStride

173 AImage::getPlanePixelStride(int planeIdx, /*out*/int32_t* pixelStride) const {
179 if (pixelStride == nullptr) {
189 *pixelStride = (planeIdx == 0) ? 1 : mBuffer->chromaStep;
192 *pixelStride = (planeIdx == 0) ? 1 : 2;
195 *pixelStride = 1;
198 *pixelStride = 1;
204 *pixelStride = 2;
208 *pixelStride = 4;
212 *pixelStride = 3;
598 const AImage* image, int planeIdx, /*out*/int32_t* pixelStride) {
600 if (image == nullptr || pixelStride == nullptr) {
601 ALOGE("%s: bad argument. image %p pixelStride %p",
602 __FUNCTION__, image, pixelStride);
605 return image->getPlanePixelStride(planeIdx, pixelStride);