/hardware/qcom/display/sdm845/libgralloc1/ |
H A D | gr_utils.cpp | 287 int color_format, struct android_ycbcr *ycbcr) { 307 ycbcr->y = reinterpret_cast<void *>(base + y_meta_size); 308 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size); 309 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); 310 ycbcr->ystride = y_stride; 311 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width)); 315 int color_format, struct android_ycbcr *ycbcr) { 322 // Client passed ycbcr argument is ptr to struct android_ycbcr[2]. 330 GetYuvUbwcSPPlaneInfo(field_base, width, height, COLOR_FMT_NV12_UBWC, &ycbcr[0]); 332 field_base = reinterpret_cast<uint64_t>(ycbcr[ 286 GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, int color_format, struct android_ycbcr *ycbcr) argument 314 GetYuvUbwcInterlacedSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, int color_format, struct android_ycbcr *ycbcr) argument 336 GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, struct android_ycbcr *ycbcr) argument 349 GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr) argument [all...] |
H A D | gr_utils.h | 74 int GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr); 83 struct android_ycbcr *ycbcr); 85 struct android_ycbcr *ycbcr); 87 int color_format, struct android_ycbcr *ycbcr);
|
/hardware/interfaces/graphics/mapper/2.0/default/ |
H A D | Gralloc0Mapper.cpp | 87 android_ycbcr ycbcr = {}; local 101 accessRegion.height, &ycbcr, fenceFd); 109 accessRegion.height, &ycbcr); 118 outLayout->y = ycbcr.y; 119 outLayout->cb = ycbcr.cb; 120 outLayout->cr = ycbcr.cr; 121 outLayout->yStride = ycbcr.ystride; 122 outLayout->cStride = ycbcr.cstride; 123 outLayout->chromaStep = ycbcr.chroma_step;
|
/hardware/qcom/display/msm8960/libgralloc/ |
H A D | mapper.cpp | 249 struct android_ycbcr *ycbcr) 260 ycbcr->y = (void*)hnd->base; 261 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); 262 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1); 263 ycbcr->ystride = ystride; 264 ycbcr->cstride = ystride; 265 ycbcr->chroma_step = 2; 266 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 271 ycbcr 246 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr) argument [all...] |
H A D | gralloc.cpp | 48 struct android_ycbcr *ycbcr);
|
/hardware/qcom/display/msm8996/libgralloc1/ |
H A D | gr_allocator.cpp | 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 312 GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, int color_format, struct android_ycbcr *ycbcr) argument 340 GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, struct android_ycbcr *ycbcr) argument 353 GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr) argument [all...] |
H A D | gr_allocator.h | 72 int GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr); 84 struct android_ycbcr *ycbcr); 86 struct android_ycbcr *ycbcr);
|
H A D | gr_buf_mgr.cpp | 685 android_ycbcr *ycbcr = va_arg(args, struct android_ycbcr *); local 689 if (allocator_->GetYUVPlaneInfo(hnd, ycbcr)) { 805 android_ycbcr ycbcr; local 806 int err = allocator_->GetYUVPlaneInfo(hnd, &ycbcr); 824 layout->planes[0].top_left = static_cast<uint8_t *>(ycbcr.y); 826 layout->planes[0].v_increment = static_cast<int32_t>(ycbcr.ystride); 828 layout->planes[1].top_left = static_cast<uint8_t *>(ycbcr.cb); 830 layout->planes[1].h_increment = static_cast<int32_t>(ycbcr.chroma_step); 831 layout->planes[1].v_increment = static_cast<int32_t>(ycbcr.cstride); 833 layout->planes[2].top_left = static_cast<uint8_t *>(ycbcr [all...] |
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_allocator.cpp | 311 int color_format, struct android_ycbcr *ycbcr) { 331 ycbcr->y = reinterpret_cast<void *>(base + y_meta_size); 332 ycbcr->cb = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size); 333 ycbcr->cr = reinterpret_cast<void *>(base + y_meta_size + y_size + c_meta_size + 1); 334 ycbcr->ystride = y_stride; 335 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width)); 339 struct android_ycbcr *ycbcr) { 343 ycbcr->y = reinterpret_cast<void *>(base); 344 ycbcr->cb = reinterpret_cast<void *>(base + ystride * UINT(height)); 345 ycbcr 310 GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, int color_format, struct android_ycbcr *ycbcr) argument 338 GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, struct android_ycbcr *ycbcr) argument 351 GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr) argument [all...] |
H A D | gr_allocator.h | 72 int GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr); 84 struct android_ycbcr *ycbcr); 86 struct android_ycbcr *ycbcr);
|
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | alloc_controller.cpp | 558 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) argument 562 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 573 ycbcr->y = (void*)hnd->base; 574 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); 575 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); 576 ycbcr->ystride = ystride; 577 ycbcr->cstride = cstride; 578 ycbcr->chroma_step = 2; 588 ycbcr [all...] |
H A D | gralloc.cpp | 48 struct android_ycbcr *ycbcr);
|
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | alloc_controller.cpp | 553 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) argument 557 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 568 ycbcr->y = (void*)hnd->base; 569 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); 570 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); 571 ycbcr->ystride = ystride; 572 ycbcr->cstride = cstride; 573 ycbcr->chroma_step = 2; 582 ycbcr [all...] |
H A D | gralloc.cpp | 48 struct android_ycbcr *ycbcr);
|
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 565 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) argument 569 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 580 ycbcr->y = (void*)hnd->base; 581 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); 582 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); 583 ycbcr->ystride = ystride; 584 ycbcr->cstride = cstride; 585 ycbcr->chroma_step = 2; 593 ycbcr [all...] |
H A D | gralloc.cpp | 48 struct android_ycbcr *ycbcr);
|
/hardware/qcom/display/sdm845/libgralloc/ |
H A D | alloc_controller.cpp | 713 int color_format, struct android_ycbcr* ycbcr) 734 ycbcr->y = (void*)(base + y_meta_size); 735 ycbcr->cb = (void*)(base + y_meta_size + y_size + c_meta_size); 736 ycbcr->cr = (void*)(base + y_meta_size + y_size + 738 ycbcr->ystride = y_stride; 739 ycbcr->cstride = VENUS_UV_STRIDE(color_format, width); 743 struct android_ycbcr* ycbcr) 748 ycbcr->y = (void*)base; 749 ycbcr->cb = (void*)(base + ystride * height); 750 ycbcr 712 getYuvUbwcSPPlaneInfo(uint64_t base, int width, int height, int color_format, struct android_ycbcr* ycbcr) argument 742 getYuvSPPlaneInfo(uint64_t base, int width, int height, int bpp, struct android_ycbcr* ycbcr) argument 756 getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) argument [all...] |
H A D | gralloc.cpp | 48 struct android_ycbcr *ycbcr);
|
/hardware/qcom/display/msm8994/libgralloc/ |
H A D | alloc_controller.cpp | 654 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) argument 658 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 669 ycbcr->y = (void*)hnd->base; 670 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); 671 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); 672 ycbcr->ystride = ystride; 673 ycbcr->cstride = cstride; 674 ycbcr->chroma_step = 2; 684 ycbcr [all...] |
H A D | mapper.cpp | 271 struct android_ycbcr *ycbcr) 277 err = getYUVPlaneInfo(hnd, ycbcr); 336 static void ycbcr_to_flexible_layout(const struct android_ycbcr* ycbcr, argument 351 layout->planes[0].top_left = (uint8_t*)ycbcr->y; 353 layout->planes[0].v_increment = (int32_t)ycbcr->ystride; 355 layout->planes[1].top_left = (uint8_t*)ycbcr->cb; 357 layout->planes[1].h_increment = (int32_t)ycbcr->chroma_step; 358 layout->planes[1].v_increment = (int32_t)ycbcr->cstride; 360 layout->planes[2].top_left = (uint8_t*)ycbcr->cr; 362 layout->planes[2].h_increment = (int32_t)ycbcr 268 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument 483 android_ycbcr* ycbcr = va_arg(args, struct android_ycbcr *); local 593 struct android_ycbcr ycbcr; local [all...] |
H A D | gralloc.cpp | 50 struct android_ycbcr *ycbcr);
|
/hardware/qcom/display/msm8996/libgralloc/ |
H A D | alloc_controller.cpp | 734 int color_format, struct android_ycbcr* ycbcr) 755 ycbcr->y = (void*)(base + y_meta_size); 756 ycbcr->cb = (void*)(base + y_meta_size + y_size + c_meta_size); 757 ycbcr->cr = (void*)(base + y_meta_size + y_size + 759 ycbcr->ystride = y_stride; 760 ycbcr->cstride = VENUS_UV_STRIDE(color_format, width); 764 struct android_ycbcr* ycbcr) 769 ycbcr->y = (void*)base; 770 ycbcr->cb = (void*)(base + ystride * height); 771 ycbcr 733 getYuvUbwcSPPlaneInfo(uint64_t base, int width, int height, int color_format, struct android_ycbcr* ycbcr) argument 763 getYuvSPPlaneInfo(uint64_t base, int width, int height, int bpp, struct android_ycbcr* ycbcr) argument 777 getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) argument [all...] |
H A D | mapper.cpp | 271 struct android_ycbcr *ycbcr) 277 err = getYUVPlaneInfo(hnd, ycbcr); 336 static void ycbcr_to_flexible_layout(const struct android_ycbcr* ycbcr, argument 351 layout->planes[0].top_left = (uint8_t*)ycbcr->y; 353 layout->planes[0].v_increment = (int32_t)ycbcr->ystride; 355 layout->planes[1].top_left = (uint8_t*)ycbcr->cb; 357 layout->planes[1].h_increment = (int32_t)ycbcr->chroma_step; 358 layout->planes[1].v_increment = (int32_t)ycbcr->cstride; 360 layout->planes[2].top_left = (uint8_t*)ycbcr->cr; 362 layout->planes[2].h_increment = (int32_t)ycbcr 268 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument 483 android_ycbcr* ycbcr = va_arg(args, struct android_ycbcr *); local 644 struct android_ycbcr ycbcr; local [all...] |
H A D | gralloc.cpp | 50 struct android_ycbcr *ycbcr);
|
/hardware/libhardware/include/hardware/ |
H A D | gralloc.h | 246 * difference that it fills a struct ycbcr with a description of the buffer 250 * the buffer layout cannot be represented with the ycbcr struct), it 267 struct android_ycbcr *ycbcr); 312 struct android_ycbcr *ycbcr, int fenceFd);
|