Lines Matching refs:stride
319 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
326 if (mLockedBuffer->stride % 16) { in getPlaneRowStride()
327 ALOGE("Stride %d is not 16 pixel aligned!", mLockedBuffer->stride); in getPlaneRowStride()
330 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
331 : ALIGN(mLockedBuffer->stride / 2, 16); in getPlaneRowStride()
336 *rowStride = mLockedBuffer->stride; in getPlaneRowStride()
339 if (mLockedBuffer->stride % 16) { in getPlaneRowStride()
341 mLockedBuffer->stride); in getPlaneRowStride()
344 *rowStride = mLockedBuffer->stride; in getPlaneRowStride()
351 if (mLockedBuffer->stride % 16) { in getPlaneRowStride()
353 mLockedBuffer->stride); in getPlaneRowStride()
356 *rowStride = mLockedBuffer->stride * 2; in getPlaneRowStride()
359 *rowStride = mLockedBuffer->stride * 2; in getPlaneRowStride()
363 *rowStride = mLockedBuffer->stride * 4; in getPlaneRowStride()
367 *rowStride = mLockedBuffer->stride * 3; in getPlaneRowStride()
448 dataSize = mLockedBuffer->stride * (mLockedBuffer->height - 1) + in getPlaneData()
461 (mLockedBuffer->stride * mLockedBuffer->height); in getPlaneData()
474 if (mLockedBuffer->stride % 16) { in getPlaneData()
476 mLockedBuffer->stride); in getPlaneData()
480 ySize = mLockedBuffer->stride * mLockedBuffer->height; in getPlaneData()
481 cStride = ALIGN(mLockedBuffer->stride / 2, 16); in getPlaneData()
494 dataSize = mLockedBuffer->stride * mLockedBuffer->height; in getPlaneData()
501 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()
519 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()
541 if (mLockedBuffer->stride < (mLockedBuffer->width * 10 / 8)) { in getPlaneData()
543 mLockedBuffer->stride, mLockedBuffer->width * 10 / 8); in getPlaneData()
547 dataSize = mLockedBuffer->stride * mLockedBuffer->height; in getPlaneData()
559 if (mLockedBuffer->stride < (mLockedBuffer->width * 12 / 8)) { in getPlaneData()
561 mLockedBuffer->stride, mLockedBuffer->width * 12 / 8); in getPlaneData()
565 dataSize = mLockedBuffer->stride * mLockedBuffer->height; in getPlaneData()
573 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()
580 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()
586 dataSize = mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()