Lines Matching refs:yStride
810 size_t yStride = (w*bpp + (align - 1)) & ~(align-1); in gralloc_alloc() local
811 size_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in gralloc_alloc()
813 ashmem_size += yStride * h + 2 * (uvHeight * uvStride); in gralloc_alloc()
814 stride = yStride / bpp; in gralloc_alloc()
1393 size_t yStride; in gralloc_lock_ycbcr() local
1403 yStride = cb->width; in gralloc_lock_ycbcr()
1406 vOffset = yStride * cb->height; in gralloc_lock_ycbcr()
1413 yStride = (cb->width + (align -1)) & ~(align-1); in gralloc_lock_ycbcr()
1414 cStride = (yStride / 2 + (align - 1)) & ~(align-1); in gralloc_lock_ycbcr()
1417 vOffset = yStride * cb->height; in gralloc_lock_ycbcr()
1422 yStride = cb->width; in gralloc_lock_ycbcr()
1423 cStride = yStride / 2; in gralloc_lock_ycbcr()
1425 uOffset = cb->height * yStride; in gralloc_lock_ycbcr()
1438 ycbcr->ystride = yStride; in gralloc_lock_ycbcr()