Home
last modified time | relevance | path

Searched refs:ystride (Results 1 – 10 of 10) 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/linaro/dragonboard/gralloc/
Dgralloc_gbm.cpp493 int ystride, cstride; in gralloc_gbm_bo_lock_ycbcr() local
507 ystride = cstride = GRALLOC_ALIGN(hnd->width, 16); in gralloc_gbm_bo_lock_ycbcr()
509 ycbcr->cr = (unsigned char *)addr + ystride * hnd->height; in gralloc_gbm_bo_lock_ycbcr()
510 ycbcr->cb = (unsigned char *)addr + ystride * hnd->height + 1; in gralloc_gbm_bo_lock_ycbcr()
511 ycbcr->ystride = ystride; in gralloc_gbm_bo_lock_ycbcr()
516 ystride = hnd->width; in gralloc_gbm_bo_lock_ycbcr()
517 cstride = GRALLOC_ALIGN(ystride / 2, 16); in gralloc_gbm_bo_lock_ycbcr()
519 ycbcr->cr = (unsigned char *)addr + ystride * hnd->height; in gralloc_gbm_bo_lock_ycbcr()
520 ycbcr->cb = (unsigned char *)addr + ystride * hnd->height + cstride * hnd->height / 2; in gralloc_gbm_bo_lock_ycbcr()
521 ycbcr->ystride = ystride; in gralloc_gbm_bo_lock_ycbcr()
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dgralloc_vsoc_priv.h39 size_t ystride; member
261 out->ystride = cuttlefish::screen::ScreenRegionView::align(width); in formatToYcbcr()
263 cuttlefish::screen::ScreenRegionView::align(out->ystride / 2); in formatToYcbcr()
266 it += out->ystride * height; in formatToYcbcr()
295 y_size = strides.ystride * h; in formatToBytesPerFrame()
/device/google/cuttlefish/guest/hals/camera/
DGrallocModule.cpp183 ycbcr->ystride = ycbcr_layout.yStride; in lock_ycbcr()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferaccess.cpp155 ycbcr->ystride = y_stride; in mali_gralloc_lock_ycbcr()
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dgralloc_utils.cpp306 buffer_ycbcr.ystride = ycbcr.yStride; in LockYCbCr()
Dcpu_composer.cpp174 int stride_y = src_buffer_ycbcr.ystride; in ConvertFromYV12()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferaccess.cpp155 ycbcr->ystride = y_stride; in mali_gralloc_lock_ycbcr()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp1438 ycbcr->ystride = yStride; in gralloc_lock_ycbcr()
1447 ycbcr->y, ycbcr->cb, ycbcr->cr, ycbcr->ystride, ycbcr->cstride, in gralloc_lock_ycbcr()
Dgralloc_30.cpp282 ycbcr->ystride = yStride; in lock_ycbcr()