• Home
  • Raw
  • Download

Lines Matching refs:stride

306             *rowStride = (planeIdx == 0) ? mLockedBuffer->stride  in getPlaneRowStride()
313 if (mLockedBuffer->stride % 16) { in getPlaneRowStride()
314 ALOGE("Stride %d is not 16 pixel aligned!", mLockedBuffer->stride); in getPlaneRowStride()
317 *rowStride = (planeIdx == 0) ? mLockedBuffer->stride in getPlaneRowStride()
318 : ALIGN(mLockedBuffer->stride / 2, 16); in getPlaneRowStride()
323 *rowStride = mLockedBuffer->stride; in getPlaneRowStride()
326 if (mLockedBuffer->stride % 16) { in getPlaneRowStride()
328 mLockedBuffer->stride); in getPlaneRowStride()
331 *rowStride = mLockedBuffer->stride; in getPlaneRowStride()
338 if (mLockedBuffer->stride % 16) { in getPlaneRowStride()
340 mLockedBuffer->stride); in getPlaneRowStride()
343 *rowStride = mLockedBuffer->stride * 2; in getPlaneRowStride()
346 *rowStride = mLockedBuffer->stride * 2; in getPlaneRowStride()
350 *rowStride = mLockedBuffer->stride * 4; in getPlaneRowStride()
354 *rowStride = mLockedBuffer->stride * 3; in getPlaneRowStride()
435 dataSize = mLockedBuffer->stride * (mLockedBuffer->height - 1) + in getPlaneData()
448 (mLockedBuffer->stride * mLockedBuffer->height); in getPlaneData()
461 if (mLockedBuffer->stride % 16) { in getPlaneData()
463 mLockedBuffer->stride); in getPlaneData()
467 ySize = mLockedBuffer->stride * mLockedBuffer->height; in getPlaneData()
468 cStride = ALIGN(mLockedBuffer->stride / 2, 16); in getPlaneData()
481 dataSize = mLockedBuffer->stride * mLockedBuffer->height; in getPlaneData()
488 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()
506 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()
528 if (mLockedBuffer->stride < (mLockedBuffer->width * 10 / 8)) { in getPlaneData()
530 mLockedBuffer->stride, mLockedBuffer->width * 10 / 8); in getPlaneData()
534 dataSize = mLockedBuffer->stride * mLockedBuffer->height; in getPlaneData()
546 if (mLockedBuffer->stride < (mLockedBuffer->width * 12 / 8)) { in getPlaneData()
548 mLockedBuffer->stride, mLockedBuffer->width * 12 / 8); in getPlaneData()
552 dataSize = mLockedBuffer->stride * mLockedBuffer->height; in getPlaneData()
560 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()
567 mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()
573 dataSize = mLockedBuffer->stride * mLockedBuffer->height * bytesPerPixel; in getPlaneData()