Home
last modified time | relevance | path

Searched refs:ycbcr (Results 1 – 23 of 23) sorted by relevance

/device/linaro/hikey/gralloc/
Dgralloc_module.cpp330 …module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr) in gralloc_lock_ycbcr() argument
361 ycbcr->y = (void *)hnd->base; 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()
365 ycbcr->cstride = cstride; in gralloc_lock_ycbcr()
366 ycbcr->chroma_step = 2; in gralloc_lock_ycbcr()
374 ycbcr->y = (void *)hnd->base; in gralloc_lock_ycbcr()
376 ycbcr->cr = (void *)((unsigned char *)hnd->base + ystride * GRALLOC_ALIGN(hnd->height, 2)); in gralloc_lock_ycbcr()
377ycbcr->cb = (void *)((unsigned char *)hnd->base + ystride * GRALLOC_ALIGN(hnd->height, 2) + cstrid… in gralloc_lock_ycbcr()
[all …]
/device/linaro/dragonboard/gralloc/
Dgralloc_gbm.cpp490 struct android_ycbcr *ycbcr) in gralloc_gbm_bo_lock_ycbcr() argument
503 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); in gralloc_gbm_bo_lock_ycbcr()
508 ycbcr->y = addr; 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()
512 ycbcr->cstride = cstride; in gralloc_gbm_bo_lock_ycbcr()
513 ycbcr->chroma_step = 2; in gralloc_gbm_bo_lock_ycbcr()
518 ycbcr->y = addr; in gralloc_gbm_bo_lock_ycbcr()
519 ycbcr->cr = (unsigned char *)addr + ystride * hnd->height; in gralloc_gbm_bo_lock_ycbcr()
[all …]
Dgralloc_gbm_priv.h49 int x, int y, int w, int h, struct android_ycbcr *ycbcr);
Dgralloc.cpp154 int usage, int x, int y, int w, int h, struct android_ycbcr *ycbcr) in gbm_mod_lock_ycbcr() argument
160 err = gralloc_gbm_bo_lock_ycbcr(handle, usage, x, y, w, h, ycbcr); in gbm_mod_lock_ycbcr()
/device/google/cuttlefish/guest/hals/camera/
DGrallocModule.cpp150 int w, int h, struct android_ycbcr *ycbcr) { in lock_ycbcr() argument
180 ycbcr->y = ycbcr_layout.y; in lock_ycbcr()
181 ycbcr->cb = ycbcr_layout.cb; in lock_ycbcr()
182 ycbcr->cr = ycbcr_layout.cr; in lock_ycbcr()
183 ycbcr->ystride = ycbcr_layout.yStride; in lock_ycbcr()
184 ycbcr->cstride = ycbcr_layout.cStride; in lock_ycbcr()
185 ycbcr->chroma_step = ycbcr_layout.chromaStep; in lock_ycbcr()
191 ycbcr); in lock_ycbcr()
DGrallocModule.h38 struct android_ycbcr *ycbcr);
DEmulatedFakeCamera3.cpp904 android_ycbcr ycbcr = android_ycbcr(); in processCaptureRequest() local
907 destBuf.width, destBuf.height, &ycbcr); in processCaptureRequest()
910 destBuf.img = static_cast<uint8_t *>(ycbcr.y); in processCaptureRequest()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferaccess.cpp73 int h, android_ycbcr *ycbcr) in mali_gralloc_lock_ycbcr() argument
87 if (NULL == ycbcr) in mali_gralloc_lock_ycbcr()
152 ycbcr->y = base; in mali_gralloc_lock_ycbcr()
153 ycbcr->cb = base + u_offset; in mali_gralloc_lock_ycbcr()
154 ycbcr->cr = base + v_offset; in mali_gralloc_lock_ycbcr()
155 ycbcr->ystride = y_stride; in mali_gralloc_lock_ycbcr()
156 ycbcr->cstride = c_stride; in mali_gralloc_lock_ycbcr()
157 ycbcr->chroma_step = step; in mali_gralloc_lock_ycbcr()
235 int w, int h, android_ycbcr *ycbcr, int32_t fence_fd) in mali_gralloc_lock_ycbcr_async() argument
243 return mali_gralloc_lock_ycbcr(m, buffer, usage, l, t, w, h, ycbcr); in mali_gralloc_lock_ycbcr_async()
Dmali_gralloc_module.cpp101 int h, android_ycbcr *ycbcr) in gralloc_lock_ycbcr() argument
105 return mali_gralloc_lock_ycbcr(m, handle, usage, l, t, w, h, ycbcr); in gralloc_lock_ycbcr()
124 int w, int h, android_ycbcr *ycbcr, int32_t fence_fd) in gralloc_lock_ycbcr_async() argument
128 return mali_gralloc_lock_ycbcr_async(m, handle, usage, l, t, w, h, ycbcr, fence_fd); in gralloc_lock_ycbcr_async()
Dmali_gralloc_bufferaccess.h28 int h, android_ycbcr *ycbcr);
35 int w, int h, android_ycbcr *ycbcr, int32_t fence_fd);
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferaccess.cpp73 int h, android_ycbcr *ycbcr) in mali_gralloc_lock_ycbcr() argument
87 if (NULL == ycbcr) in mali_gralloc_lock_ycbcr()
152 ycbcr->y = base; in mali_gralloc_lock_ycbcr()
153 ycbcr->cb = base + u_offset; in mali_gralloc_lock_ycbcr()
154 ycbcr->cr = base + v_offset; in mali_gralloc_lock_ycbcr()
155 ycbcr->ystride = y_stride; in mali_gralloc_lock_ycbcr()
156 ycbcr->cstride = c_stride; in mali_gralloc_lock_ycbcr()
157 ycbcr->chroma_step = step; in mali_gralloc_lock_ycbcr()
235 int w, int h, android_ycbcr *ycbcr, int32_t fence_fd) in mali_gralloc_lock_ycbcr_async() argument
243 return mali_gralloc_lock_ycbcr(m, buffer, usage, l, t, w, h, ycbcr); in mali_gralloc_lock_ycbcr_async()
Dmali_gralloc_module.cpp101 int h, android_ycbcr *ycbcr) in gralloc_lock_ycbcr() argument
105 return mali_gralloc_lock_ycbcr(m, handle, usage, l, t, w, h, ycbcr); in gralloc_lock_ycbcr()
124 int w, int h, android_ycbcr *ycbcr, int32_t fence_fd) in gralloc_lock_ycbcr_async() argument
128 return mali_gralloc_lock_ycbcr_async(m, handle, usage, l, t, w, h, ycbcr, fence_fd); in gralloc_lock_ycbcr_async()
Dmali_gralloc_bufferaccess.h28 int h, android_ycbcr *ycbcr);
35 int w, int h, android_ycbcr *ycbcr, int32_t fence_fd);
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dgralloc_utils.cpp281 YCbCrLayout ycbcr = {}; in LockYCbCr() local
289 ycbcr = lock_ycbcr; in LockYCbCr()
303 buffer_ycbcr.y = ycbcr.y; in LockYCbCr()
304 buffer_ycbcr.cb = ycbcr.cb; in LockYCbCr()
305 buffer_ycbcr.cr = ycbcr.cr; in LockYCbCr()
306 buffer_ycbcr.ystride = ycbcr.yStride; in LockYCbCr()
307 buffer_ycbcr.cstride = ycbcr.cStride; in LockYCbCr()
308 buffer_ycbcr.chroma_step = ycbcr.chromaStep; in LockYCbCr()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp1349 android_ycbcr *ycbcr) in gralloc_lock_ycbcr() argument
1357 if (!ycbcr) { in gralloc_lock_ycbcr()
1435 ycbcr->y = cpu_addr + yOffset; in gralloc_lock_ycbcr()
1436 ycbcr->cb = cpu_addr + uOffset; in gralloc_lock_ycbcr()
1437 ycbcr->cr = cpu_addr + vOffset; in gralloc_lock_ycbcr()
1438 ycbcr->ystride = yStride; in gralloc_lock_ycbcr()
1439 ycbcr->cstride = cStride; in gralloc_lock_ycbcr()
1440 ycbcr->chroma_step = cStep; in gralloc_lock_ycbcr()
1443 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); in gralloc_lock_ycbcr()
1447 ycbcr->y, ycbcr->cb, ycbcr->cr, ycbcr->ystride, ycbcr->cstride, in gralloc_lock_ycbcr()
[all …]
Dgralloc_30.cpp226 android_ycbcr* ycbcr) { in lock_ycbcr() argument
227 if (!ycbcr) { RETURN_ERROR_CODE(-EINVAL); } in lock_ycbcr()
277 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); in lock_ycbcr()
279 ycbcr->y = vaddr1; in lock_ycbcr()
280 ycbcr->cb = vaddr1 + uOffset; in lock_ycbcr()
281 ycbcr->cr = vaddr1 + vOffset; in lock_ycbcr()
282 ycbcr->ystride = yStride; in lock_ycbcr()
283 ycbcr->cstride = cStride; in lock_ycbcr()
284 ycbcr->chroma_step = cStep; in lock_ycbcr()
1016 android_ycbcr *ycbcr) { in gralloc_lock_ycbcr() argument
[all …]
/device/google/cuttlefish/guest/hals/gralloc/legacy/
Dmapper.cpp109 struct android_ycbcr* ycbcr) { in gralloc_lock_ycbcr() argument
122 formatToYcbcr(hnd->format, hnd->x_res, hnd->y_res, base, ycbcr); in gralloc_lock_ycbcr()
Dgralloc_vsoc_priv.h331 struct android_ycbcr *ycbcr);
/device/generic/goldfish/camera/
DEmulatorCameraTest.cpp267 android_ycbcr ycbcr; in main() local
272 &ycbcr); in main()
273 addr = ycbcr.y; in main()
DEmulatedQemuCamera3.cpp942 android_ycbcr ycbcr = {}; in processCaptureRequest() local
947 &ycbcr); in processCaptureRequest()
952 destBuf.img = static_cast<uint8_t*>(ycbcr.y); in processCaptureRequest()
DEmulatedFakeCamera3.cpp952 android_ycbcr ycbcr = {}; in processCaptureRequest() local
957 &ycbcr); in processCaptureRequest()
960 destBuf.img = static_cast<uint8_t*>(ycbcr.y); in processCaptureRequest()
/device/generic/goldfish/camera/qemu-pipeline3/
DQemuSensor.cpp334 android_ycbcr ycbcr = {}; in threadLoop() local
338 &ycbcr); in threadLoop()
342 bAux.img = (uint8_t*)ycbcr.y; in threadLoop()
/device/generic/goldfish-opengl/system/hals/
Dmapper3.cpp156 YCbCrLayout3 ycbcr = {}; in lockYCbCr() local
158 &ycbcr); in lockYCbCr()
160 hidl_cb(Error3::NONE, ycbcr); in lockYCbCr()