/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 | mapper.cpp | 256 struct android_ycbcr *ycbcr) 261 err = getYUVPlaneInfo(hnd, ycbcr); 431 android_ycbcr* ycbcr = va_arg(args, struct android_ycbcr *); local 433 res = getYUVPlaneInfo(hnd, ycbcr); 253 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument
|
/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 | mapper.cpp | 256 struct android_ycbcr *ycbcr) 261 err = getYUVPlaneInfo(hnd, ycbcr); 431 android_ycbcr* ycbcr = va_arg(args, struct android_ycbcr *); local 433 res = getYUVPlaneInfo(hnd, ycbcr); 253 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument
|
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 566 int getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) argument 570 memset(ycbcr->reserved, 0, sizeof(ycbcr->reserved)); 581 ycbcr->y = (void*)hnd->base; 582 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); 583 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); 584 ycbcr->ystride = ystride; 585 ycbcr->cstride = cstride; 586 ycbcr->chroma_step = 2; 594 ycbcr [all...] |
H A D | mapper.cpp | 278 struct android_ycbcr *ycbcr) 284 err = getYUVPlaneInfo(hnd, ycbcr); 433 android_ycbcr* ycbcr = va_arg(args, struct android_ycbcr *); local 435 res = getYUVPlaneInfo(hnd, ycbcr); 275 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument
|
/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...] |
/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...] |
/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...] |
/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_buf_mgr.cpp | 674 android_ycbcr *ycbcr = va_arg(args, struct android_ycbcr *); local 678 if (allocator_->GetYUVPlaneInfo(hnd, ycbcr)) { 794 android_ycbcr ycbcr; local 795 int err = allocator_->GetYUVPlaneInfo(hnd, &ycbcr); 813 layout->planes[0].top_left = static_cast<uint8_t *>(ycbcr.y); 815 layout->planes[0].v_increment = static_cast<int32_t>(ycbcr.ystride); 817 layout->planes[1].top_left = static_cast<uint8_t *>(ycbcr.cb); 819 layout->planes[1].h_increment = static_cast<int32_t>(ycbcr.chroma_step); 820 layout->planes[1].v_increment = static_cast<int32_t>(ycbcr.cstride); 822 layout->planes[2].top_left = static_cast<uint8_t *>(ycbcr [all...] |
/hardware/qcom/display/msm8998/libgralloc/ |
H A D | alloc_controller.cpp | 691 int color_format, struct android_ycbcr* ycbcr) 712 ycbcr->y = (void*)(base + y_meta_size); 713 ycbcr->cb = (void*)(base + y_meta_size + y_size + c_meta_size); 714 ycbcr->cr = (void*)(base + y_meta_size + y_size + 716 ycbcr->ystride = y_stride; 717 ycbcr->cstride = VENUS_UV_STRIDE(color_format, width); 721 struct android_ycbcr* ycbcr) 726 ycbcr->y = (void*)base; 727 ycbcr->cb = (void*)(base + ystride * height); 728 ycbcr 690 getYuvUbwcSPPlaneInfo(uint64_t base, int width, int height, int color_format, struct android_ycbcr* ycbcr) argument 720 getYuvSPPlaneInfo(uint64_t base, int width, int height, int bpp, struct android_ycbcr* ycbcr) argument 734 getYUVPlaneInfo(private_handle_t* hnd, struct android_ycbcr* ycbcr) argument [all...] |
H A D | mapper.cpp | 269 struct android_ycbcr *ycbcr) 275 err = getYUVPlaneInfo(hnd, ycbcr); 446 android_ycbcr* ycbcr = va_arg(args, struct android_ycbcr *); local 448 res = getYUVPlaneInfo(hnd, ycbcr); 266 gralloc_lock_ycbcr(gralloc_module_t const* module, buffer_handle_t handle, int usage, int , int , int , int , struct android_ycbcr *ycbcr) argument
|
/hardware/qcom/display/msm8998/libgralloc1/ |
H A D | gr_allocator.cpp | 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 300 GetYuvUbwcSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, int color_format, struct android_ycbcr *ycbcr) argument 328 GetYuvSPPlaneInfo(uint64_t base, uint32_t width, uint32_t height, uint32_t bpp, struct android_ycbcr *ycbcr) argument 341 GetYUVPlaneInfo(const private_handle_t *hnd, struct android_ycbcr *ycbcr) argument [all...] |
H A D | gr_buf_mgr.cpp | 654 android_ycbcr *ycbcr = va_arg(args, struct android_ycbcr *); local 658 if (allocator_->GetYUVPlaneInfo(hnd, ycbcr)) { 775 android_ycbcr ycbcr; local 776 int err = allocator_->GetYUVPlaneInfo(hnd, &ycbcr); 794 layout->planes[0].top_left = static_cast<uint8_t *>(ycbcr.y); 796 layout->planes[0].v_increment = static_cast<int32_t>(ycbcr.ystride); 798 layout->planes[1].top_left = static_cast<uint8_t *>(ycbcr.cb); 800 layout->planes[1].h_increment = static_cast<int32_t>(ycbcr.chroma_step); 801 layout->planes[1].v_increment = static_cast<int32_t>(ycbcr.cstride); 803 layout->planes[2].top_left = static_cast<uint8_t *>(ycbcr [all...] |
/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;
|