Home
last modified time | relevance | path

Searched refs:ystride (Results 1 – 5 of 5) sorted by relevance

/device/linaro/hikey/gralloc/
Dgralloc_module.cpp333 int ystride, cstride; in gralloc_lock_ycbcr() local
360 ystride = cstride = GRALLOC_ALIGN(hnd->width, 16); in gralloc_lock_ycbcr()
362 ycbcr->cr = (void *)((unsigned char *)hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
363 ycbcr->cb = (void *)((unsigned char *)hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr()
364 ycbcr->ystride = ystride; in gralloc_lock_ycbcr()
371 ystride = GRALLOC_ALIGN(hnd->width, (hnd->height % 8 == 0) ? GRALLOC_ALIGN_BASE_16 : in gralloc_lock_ycbcr()
373 cstride = GRALLOC_ALIGN(ystride / 2, 16); in gralloc_lock_ycbcr()
376 ycbcr->cr = (void *)((unsigned char *)hnd->base + ystride * GRALLOC_ALIGN(hnd->height, 2)); in gralloc_lock_ycbcr()
377 …ycbcr->cb = (void *)((unsigned char *)hnd->base + ystride * GRALLOC_ALIGN(hnd->height, 2) + cstrid… in gralloc_lock_ycbcr()
378 ycbcr->ystride = ystride; in gralloc_lock_ycbcr()
[all …]
/device/google/cuttlefish_common/guest/hals/gralloc/legacy/
Dgralloc_vsoc_priv.h42 size_t ystride; member
288 out->ystride = vsoc::screen::ScreenRegionView::align(width, 16); in formatToYcbcr()
290 vsoc::screen::ScreenRegionView::align(out->ystride / 2, 16); in formatToYcbcr()
293 it += out->ystride * height; in formatToYcbcr()
324 y_size = strides.ystride * h; in formatToBytesPerFrame()
/device/google/cuttlefish_common/guest/hals/gralloc/
Dgralloc.cpp41 ycbcr->ystride = align(width, 16); in formatToYcbcr()
42 ycbcr->cstride = align(ycbcr->ystride / 2, 16); in formatToYcbcr()
45 it += ycbcr->ystride * height; in formatToYcbcr()
98 y_size = strides.ystride * h; in formatToBytesPerFrame()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferaccess.cpp155 ycbcr->ystride = y_stride; in mali_gralloc_lock_ycbcr()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc.cpp1393 ycbcr->ystride = yStride; in gralloc_lock_ycbcr()
1402 ycbcr->y, ycbcr->cb, ycbcr->cr, ycbcr->ystride, ycbcr->cstride, in gralloc_lock_ycbcr()