Lines Matching refs:yStride
828 size_t yStride = (w*bpp + (align - 1)) & ~(align-1); in gralloc_alloc() local
829 size_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in gralloc_alloc()
831 ashmem_size += yStride * h + 2 * (uvHeight * uvStride); in gralloc_alloc()
832 stride = yStride / bpp; in gralloc_alloc()
1417 size_t yStride; in gralloc_lock_ycbcr() local
1427 yStride = cb->width; in gralloc_lock_ycbcr()
1430 vOffset = yStride * cb->height; in gralloc_lock_ycbcr()
1437 yStride = (cb->width + (align -1)) & ~(align-1); in gralloc_lock_ycbcr()
1438 cStride = (yStride / 2 + (align - 1)) & ~(align-1); in gralloc_lock_ycbcr()
1441 vOffset = yStride * cb->height; in gralloc_lock_ycbcr()
1446 yStride = cb->width; in gralloc_lock_ycbcr()
1447 cStride = yStride / 2; in gralloc_lock_ycbcr()
1449 uOffset = cb->height * yStride; in gralloc_lock_ycbcr()
1462 ycbcr->ystride = yStride; in gralloc_lock_ycbcr()