Lines Matching refs:ystride
253 int ystride, cstride; in gralloc_lock_ycbcr() local
259 ystride = ALIGN(hnd->width, 16); in gralloc_lock_ycbcr()
261 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
262 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr()
263 ycbcr->ystride = ystride; in gralloc_lock_ycbcr()
264 ycbcr->cstride = ystride; in gralloc_lock_ycbcr()
270 ystride = ALIGN(hnd->width, 16); in gralloc_lock_ycbcr()
272 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
273 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr()
274 ycbcr->ystride = ystride; in gralloc_lock_ycbcr()
275 ycbcr->cstride = ystride; in gralloc_lock_ycbcr()
281 ystride = ALIGN(hnd->width, 16); in gralloc_lock_ycbcr()
282 cstride = ALIGN(ystride / 2, 16); in gralloc_lock_ycbcr()
284 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
285 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height in gralloc_lock_ycbcr()
287 ycbcr->ystride = ystride; in gralloc_lock_ycbcr()