Lines Matching defs:ycbcr

301                                       int color_format, struct android_ycbcr *ycbcr) {
321 ycbcr->y = reinterpret_cast<void *>(base + y_meta_size);
322 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size);
323 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1);
324 ycbcr->ystride = y_stride;
325 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width));
329 struct android_ycbcr *ycbcr) {
333 ycbcr->y = reinterpret_cast<void *>(base);
334 ycbcr->cb = reinterpret_cast<void *>(base + ystride * UINT(height));
335 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1);
336 ycbcr->ystride = ystride;
337 ycbcr->cstride = cstride;
338 ycbcr->chroma_step = 2 * bpp;
341 int Allocator::GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr) {
350 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved));
381 GetYuvSPPlaneInfo(hnd->base, width, height, 1, ycbcr);
385 GetYuvSPPlaneInfo(hnd->base, width, height, 2, ycbcr);
389 GetYuvUbwcSPPlaneInfo(hnd->base, width, height, COLOR_FMT_NV12_UBWC, ycbcr);
390 ycbcr->chroma_step = 2;
394 GetYuvUbwcSPPlaneInfo(hnd->base, width, height, COLOR_FMT_NV12_BPP10_UBWC, ycbcr);
395 ycbcr->chroma_step = 3;
405 GetYuvSPPlaneInfo(hnd->base, width, height, 1, ycbcr);
406 std::swap(ycbcr->cb, ycbcr->cr);
413 ycbcr->y = reinterpret_cast<void *>(hnd->base);
414 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height);
415 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2);
416 ycbcr->ystride = ystride;
417 ycbcr->cstride = cstride;
418 ycbcr->chroma_step = 1;