/hardware/qcom/display/msm8909/gralloc/ |
D | gr_utils.cpp | 775 struct android_ycbcr yuvInfo = {}; in GetBufferLayout() local 811 int ret = GetYUVPlaneInfo(hnd, &yuvInfo); in GetBufferLayout() 817 stride[0] = static_cast<uint32_t>(yuvInfo.ystride); in GetBufferLayout() 818 offset[0] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.y) - hnd->base); in GetBufferLayout() 819 stride[1] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout() 829 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in GetBufferLayout() 834 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 837 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 838 stride[2] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout() 839 offset[2] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in GetBufferLayout()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_utils.cpp | 775 struct android_ycbcr yuvInfo = {}; in GetBufferLayout() local 811 int ret = GetYUVPlaneInfo(hnd, &yuvInfo); in GetBufferLayout() 817 stride[0] = static_cast<uint32_t>(yuvInfo.ystride); in GetBufferLayout() 818 offset[0] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.y) - hnd->base); in GetBufferLayout() 819 stride[1] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout() 829 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in GetBufferLayout() 834 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 837 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 838 stride[2] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout() 839 offset[2] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in GetBufferLayout()
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | copybit_c2d.cpp | 439 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument 456 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 457 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 458 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 465 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 466 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 469 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 471 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() 554 yuvPlaneInfo yuvInfo = {0}; in set_image() local 555 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image() [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | alloc_controller.cpp | 1140 struct android_ycbcr yuvInfo = {}; in getBufferLayout() local 1176 int ret = getYUVPlaneInfo(hnd, &yuvInfo); in getBufferLayout() 1182 stride[0] = static_cast<uint32_t>(yuvInfo.ystride); in getBufferLayout() 1184 reinterpret_cast<uint64_t>(yuvInfo.y) - hnd->base); in getBufferLayout() 1185 stride[1] = static_cast<uint32_t>(yuvInfo.cstride); in getBufferLayout() 1196 reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in getBufferLayout() 1202 reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in getBufferLayout() 1206 reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in getBufferLayout() 1207 stride[2] = static_cast<uint32_t>(yuvInfo.cstride); in getBufferLayout() 1209 reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in getBufferLayout()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | alloc_controller.cpp | 1140 struct android_ycbcr yuvInfo = {}; in getBufferLayout() local 1176 int ret = getYUVPlaneInfo(hnd, &yuvInfo); in getBufferLayout() 1182 stride[0] = static_cast<uint32_t>(yuvInfo.ystride); in getBufferLayout() 1184 reinterpret_cast<uint64_t>(yuvInfo.y) - hnd->base); in getBufferLayout() 1185 stride[1] = static_cast<uint32_t>(yuvInfo.cstride); in getBufferLayout() 1196 reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in getBufferLayout() 1202 reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in getBufferLayout() 1206 reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in getBufferLayout() 1207 stride[2] = static_cast<uint32_t>(yuvInfo.cstride); in getBufferLayout() 1209 reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in getBufferLayout()
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | copybit_c2d.cpp | 449 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument 466 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 467 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 468 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 475 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 476 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 479 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 481 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() 564 yuvPlaneInfo yuvInfo = {0}; in set_image() local 565 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image() [all …]
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | copybit_c2d.cpp | 456 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument 473 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 474 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 475 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 482 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 483 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 486 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 488 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() 575 yuvPlaneInfo yuvInfo = {0}; in set_image() local 576 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image() [all …]
|
/hardware/qcom/sm8150/display/libcopybit/ |
D | copybit_c2d.cpp | 456 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument 473 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 474 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 475 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 482 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 483 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 486 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 488 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() 575 yuvPlaneInfo yuvInfo = {0}; in set_image() local 576 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image() [all …]
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | copybit_c2d.cpp | 458 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument 475 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 476 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 477 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 484 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 485 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 488 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 490 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() 573 yuvPlaneInfo yuvInfo = {0}; in set_image() local 574 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image() [all …]
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | copybit_c2d.cpp | 455 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument 472 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 473 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 474 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 481 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 482 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 485 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 487 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() 570 yuvPlaneInfo yuvInfo = {0}; in set_image() local 571 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image() [all …]
|
/hardware/qcom/sdm845/display/libcopybit/ |
D | copybit_c2d.cpp | 456 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument 473 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 474 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 475 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 482 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 483 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 486 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 488 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() 575 yuvPlaneInfo yuvInfo = {0}; in set_image() local 576 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image() [all …]
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | copybit_c2d.cpp | 456 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument 473 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 474 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 475 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 482 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 483 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 486 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 488 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() 575 yuvPlaneInfo yuvInfo = {0}; in set_image() local 576 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image() [all …]
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | copybit_c2d.cpp | 454 yuvPlaneInfo& yuvInfo) in calculate_yuv_offset_and_stride() argument 471 yuvInfo.plane1_offset = ALIGN(size,8192); in calculate_yuv_offset_and_stride() 472 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 473 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 480 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride() 481 yuvInfo.plane1_stride = aligned_width; in calculate_yuv_offset_and_stride() 484 yuvInfo.plane1_offset = ALIGN(aligned_width * height, 2048); in calculate_yuv_offset_and_stride() 486 yuvInfo.plane1_offset = aligned_width * height; in calculate_yuv_offset_and_stride() 573 yuvPlaneInfo yuvInfo = {0}; in set_image() local 574 status = calculate_yuv_offset_and_stride(info, yuvInfo); in set_image() [all …]
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_utils.cpp | 954 struct android_ycbcr yuvInfo = yuvPlaneInfo[0]; in GetBufferLayout() local 955 stride[0] = static_cast<uint32_t>(yuvInfo.ystride); in GetBufferLayout() 956 offset[0] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.y) - hnd->base); in GetBufferLayout() 957 stride[1] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout() 968 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in GetBufferLayout() 973 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 976 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 977 stride[2] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout() 978 offset[2] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in GetBufferLayout()
|
/hardware/qcom/sm8150/display/gralloc/ |
D | gr_utils.cpp | 1072 struct android_ycbcr yuvInfo = yuvPlaneInfo[0]; in GetBufferLayout() local 1073 stride[0] = static_cast<uint32_t>(yuvInfo.ystride); in GetBufferLayout() 1074 offset[0] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.y) - hnd->base); in GetBufferLayout() 1075 stride[1] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout() 1087 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in GetBufferLayout() 1093 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 1096 offset[1] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cr) - hnd->base); in GetBufferLayout() 1097 stride[2] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout() 1098 offset[2] = static_cast<uint32_t>(reinterpret_cast<uint64_t>(yuvInfo.cb) - hnd->base); in GetBufferLayout()
|