Lines Matching defs:ycbcr

313                                       int color_format, struct android_ycbcr *ycbcr) {
333 ycbcr->y = reinterpret_cast<void *>(base + y_meta_size);
334 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size);
335 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1);
336 ycbcr->ystride = y_stride;
337 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width));
341 struct android_ycbcr *ycbcr) {
345 ycbcr->y = reinterpret_cast<void *>(base);
346 ycbcr->cb = reinterpret_cast<void *>(base + ystride * UINT(height));
347 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1);
348 ycbcr->ystride = ystride;
349 ycbcr->cstride = cstride;
350 ycbcr->chroma_step = 2 * bpp;
353 int Allocator::GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr) {
362 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved));
394 GetYuvSPPlaneInfo(hnd->base, width, height, 1, ycbcr);
398 GetYuvSPPlaneInfo(hnd->base, width, height, 2, ycbcr);
402 GetYuvUbwcSPPlaneInfo(hnd->base, width, height, COLOR_FMT_NV12_UBWC, ycbcr);
403 ycbcr->chroma_step = 2;
407 GetYuvUbwcSPPlaneInfo(hnd->base, width, height, COLOR_FMT_NV12_BPP10_UBWC, ycbcr);
408 ycbcr->chroma_step = 3;
419 GetYuvSPPlaneInfo(hnd->base, width, height, 1, ycbcr);
420 std::swap(ycbcr->cb, ycbcr->cr);
427 ycbcr->y = reinterpret_cast<void *>(hnd->base);
428 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height);
429 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2);
430 ycbcr->ystride = ystride;
431 ycbcr->cstride = cstride;
432 ycbcr->chroma_step = 1;