/hardware/interfaces/camera/common/1.0/default/ |
D | HandleImporter.cpp | 105 YCbCrLayout layout = {}; in lockYCbCrInternal() local 113 layout.y = tmpLayout.y; in lockYCbCrInternal() 114 layout.cb = tmpLayout.cb; in lockYCbCrInternal() 115 layout.cr = tmpLayout.cr; in lockYCbCrInternal() 116 layout.yStride = tmpLayout.yStride; in lockYCbCrInternal() 117 layout.cStride = tmpLayout.cStride; in lockYCbCrInternal() 118 layout.chromaStep = tmpLayout.chromaStep; in lockYCbCrInternal() 123 return layout; in lockYCbCrInternal() 150 YCbCrLayout layout = {}; in lockYCbCrInternal() local 165 return layout; in lockYCbCrInternal() [all …]
|
/hardware/qcom/sdm845/display/gralloc/ |
D | QtiMapper.cpp | 193 YCbCrLayout layout = {}; in lockYCbCr() local 196 hidl_cb(err, layout); in lockYCbCr() 203 hidl_cb(Error::BAD_VALUE, layout); in lockYCbCr() 205 layout.y = yuv_plane_info[0].y; in lockYCbCr() 206 layout.cr = yuv_plane_info[0].cr; in lockYCbCr() 207 layout.cb = yuv_plane_info[0].cb; in lockYCbCr() 208 layout.yStride = static_cast<uint32_t>(yuv_plane_info[0].ystride); in lockYCbCr() 209 layout.cStride = static_cast<uint32_t>(yuv_plane_info[0].cstride); in lockYCbCr() 210 layout.chromaStep = static_cast<uint32_t>(yuv_plane_info[0].chroma_step); in lockYCbCr() 211 hidl_cb(Error::NONE, layout); in lockYCbCr() [all …]
|
D | gr_device_impl.cpp | 512 struct android_flex_layout *layout) { in GetFlexLayout() argument 524 layout->format = FLEX_FORMAT_YCbCr; in GetFlexLayout() 525 layout->num_planes = 3; in GetFlexLayout() 527 for (uint32_t i = 0; i < layout->num_planes; i++) { in GetFlexLayout() 528 layout->planes[i].bits_per_component = 8; in GetFlexLayout() 529 layout->planes[i].bits_used = 8; in GetFlexLayout() 530 layout->planes[i].h_increment = 1; in GetFlexLayout() 531 layout->planes[i].v_increment = 1; in GetFlexLayout() 532 layout->planes[i].h_subsampling = 2; in GetFlexLayout() 533 layout->planes[i].v_subsampling = 2; in GetFlexLayout() [all …]
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | mapper.cpp | 337 struct android_flex_layout* layout) in ycbcr_to_flexible_layout() argument 339 layout->format = FLEX_FORMAT_YCbCr; in ycbcr_to_flexible_layout() 340 layout->num_planes = 3; in ycbcr_to_flexible_layout() 342 for (uint32_t i = 0; i < layout->num_planes; i++) { in ycbcr_to_flexible_layout() 343 layout->planes[i].bits_per_component = 8; in ycbcr_to_flexible_layout() 344 layout->planes[i].bits_used = 8; in ycbcr_to_flexible_layout() 345 layout->planes[i].h_increment = 1; in ycbcr_to_flexible_layout() 346 layout->planes[i].v_increment = 1; in ycbcr_to_flexible_layout() 347 layout->planes[i].h_subsampling = 2; in ycbcr_to_flexible_layout() 348 layout->planes[i].v_subsampling = 2; in ycbcr_to_flexible_layout() [all …]
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | mapper.cpp | 336 struct android_flex_layout* layout) in ycbcr_to_flexible_layout() argument 338 layout->format = FLEX_FORMAT_YCbCr; in ycbcr_to_flexible_layout() 339 layout->num_planes = 3; in ycbcr_to_flexible_layout() 341 for (uint32_t i = 0; i < layout->num_planes; i++) { in ycbcr_to_flexible_layout() 342 layout->planes[i].bits_per_component = 8; in ycbcr_to_flexible_layout() 343 layout->planes[i].bits_used = 8; in ycbcr_to_flexible_layout() 344 layout->planes[i].h_increment = 1; in ycbcr_to_flexible_layout() 345 layout->planes[i].v_increment = 1; in ycbcr_to_flexible_layout() 346 layout->planes[i].h_subsampling = 2; in ycbcr_to_flexible_layout() 347 layout->planes[i].v_subsampling = 2; in ycbcr_to_flexible_layout() [all …]
|
/hardware/interfaces/graphics/mapper/2.0/vts/functional/ |
D | VtsHalGraphicsMapperV2_0TargetTest.cpp | 331 YCbCrLayout layout; in TEST_P() local 332 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P() 334 auto yData = static_cast<uint8_t*>(layout.y); in TEST_P() 335 auto cbData = static_cast<uint8_t*>(layout.cb); in TEST_P() 336 auto crData = static_cast<uint8_t*>(layout.cr); in TEST_P() 341 yData[layout.yStride * y + x] = val; in TEST_P() 343 cbData[layout.cStride * y / 2 + x / 2] = val; in TEST_P() 344 crData[layout.cStride * y / 2 + x / 2] = val; in TEST_P() 352 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P() 354 yData = static_cast<uint8_t*>(layout.y); in TEST_P() [all …]
|
/hardware/interfaces/graphics/mapper/3.0/vts/functional/ |
D | VtsHalGraphicsMapperV3_0TargetTest.cpp | 345 YCbCrLayout layout; in TEST_P() local 346 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P() 348 auto yData = static_cast<uint8_t*>(layout.y); in TEST_P() 349 auto cbData = static_cast<uint8_t*>(layout.cb); in TEST_P() 350 auto crData = static_cast<uint8_t*>(layout.cr); in TEST_P() 355 yData[layout.yStride * y + x] = val; in TEST_P() 357 cbData[layout.cStride * y / 2 + x / 2] = val; in TEST_P() 358 crData[layout.cStride * y / 2 + x / 2] = val; in TEST_P() 366 ASSERT_NO_FATAL_FAILURE(layout = mGralloc->lockYCbCr(bufferHandle, info.usage, region, fence)); in TEST_P() 368 yData = static_cast<uint8_t*>(layout.y); in TEST_P() [all …]
|
/hardware/qcom/sm8150/display/gralloc/ |
D | QtiMapper.cpp | 196 YCbCrLayout layout = {}; in lockYCbCr() local 199 hidl_cb(err, layout); in lockYCbCr() 206 hidl_cb(Error::BAD_VALUE, layout); in lockYCbCr() 208 layout.y = yuv_plane_info[0].y; in lockYCbCr() 209 layout.cr = yuv_plane_info[0].cr; in lockYCbCr() 210 layout.cb = yuv_plane_info[0].cb; in lockYCbCr() 211 layout.yStride = static_cast<uint32_t>(yuv_plane_info[0].ystride); in lockYCbCr() 212 layout.cStride = static_cast<uint32_t>(yuv_plane_info[0].cstride); in lockYCbCr() 213 layout.chromaStep = static_cast<uint32_t>(yuv_plane_info[0].chroma_step); in lockYCbCr() 214 hidl_cb(Error::NONE, layout); in lockYCbCr()
|
D | gr_device_impl.cpp | 531 struct android_flex_layout *layout) { in GetFlexLayout() argument 543 layout->format = FLEX_FORMAT_YCbCr; in GetFlexLayout() 544 layout->num_planes = 3; in GetFlexLayout() 546 for (uint32_t i = 0; i < layout->num_planes; i++) { in GetFlexLayout() 547 layout->planes[i].bits_per_component = 8; in GetFlexLayout() 548 layout->planes[i].bits_used = 8; in GetFlexLayout() 549 layout->planes[i].h_increment = 1; in GetFlexLayout() 550 layout->planes[i].v_increment = 1; in GetFlexLayout() 551 layout->planes[i].h_subsampling = 2; in GetFlexLayout() 552 layout->planes[i].v_subsampling = 2; in GetFlexLayout() [all …]
|
/hardware/qcom/sm7250/display/gralloc/ |
D | QtiMapper.cpp | 196 YCbCrLayout layout = {}; in lockYCbCr() local 199 hidl_cb(err, layout); in lockYCbCr() 206 hidl_cb(Error::BAD_VALUE, layout); in lockYCbCr() 208 layout.y = yuv_plane_info[0].y; in lockYCbCr() 209 layout.cr = yuv_plane_info[0].cr; in lockYCbCr() 210 layout.cb = yuv_plane_info[0].cb; in lockYCbCr() 211 layout.yStride = static_cast<uint32_t>(yuv_plane_info[0].ystride); in lockYCbCr() 212 layout.cStride = static_cast<uint32_t>(yuv_plane_info[0].cstride); in lockYCbCr() 213 layout.chromaStep = static_cast<uint32_t>(yuv_plane_info[0].chroma_step); in lockYCbCr() 214 hidl_cb(Error::NONE, layout); in lockYCbCr()
|
D | gr_device_impl.cpp | 534 struct android_flex_layout *layout) { in GetFlexLayout() argument 546 layout->format = FLEX_FORMAT_YCbCr; in GetFlexLayout() 547 layout->num_planes = 3; in GetFlexLayout() 549 for (uint32_t i = 0; i < layout->num_planes; i++) { in GetFlexLayout() 550 layout->planes[i].bits_per_component = 8; in GetFlexLayout() 551 layout->planes[i].bits_used = 8; in GetFlexLayout() 552 layout->planes[i].h_increment = 1; in GetFlexLayout() 553 layout->planes[i].v_increment = 1; in GetFlexLayout() 554 layout->planes[i].h_subsampling = 2; in GetFlexLayout() 555 layout->planes[i].v_subsampling = 2; in GetFlexLayout() [all …]
|
/hardware/qcom/display/msm8998/gpu_tonemapper/ |
D | forward_tonemap.inl | 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 29 "layout(location = 4) uniform vec2 xSO; \n"
|
D | rgba_inverse_tonemap.inl | 24 …"layout(binding = 0) uniform samplerExternalOES externalTexture; … 25 …"layout(binding = 1) uniform sampler3D tonemapper; … 26 …"layout(binding = 2) uniform sampler2D xform; … 27 …"layout(location = 3) uniform vec2 tSO; … 29 …"layout(location = 4) uniform vec2 xSO; …
|
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/ |
D | forward_tonemap.inl | 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 29 "layout(location = 4) uniform vec2 xSO; \n"
|
D | rgba_inverse_tonemap.inl | 24 …"layout(binding = 0) uniform samplerExternalOES externalTexture; … 25 …"layout(binding = 1) uniform sampler3D tonemapper; … 26 …"layout(binding = 2) uniform sampler2D xform; … 27 …"layout(location = 3) uniform vec2 tSO; … 29 …"layout(location = 4) uniform vec2 xSO; …
|
/hardware/qcom/sdm845/display/gpu_tonemapper/ |
D | forward_tonemap.inl | 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 29 "layout(location = 4) uniform vec2 xSO; \n"
|
D | rgba_inverse_tonemap.inl | 24 …"layout(binding = 0) uniform samplerExternalOES externalTexture; … 25 …"layout(binding = 1) uniform sampler3D tonemapper; … 26 …"layout(binding = 2) uniform sampler2D xform; … 27 …"layout(location = 3) uniform vec2 tSO; … 29 …"layout(location = 4) uniform vec2 xSO; …
|
/hardware/qcom/display/msm8909/gpu_tonemapper/ |
D | forward_tonemap.inl | 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 29 "layout(location = 4) uniform vec2 xSO; \n"
|
D | rgba_inverse_tonemap.inl | 24 …"layout(binding = 0) uniform samplerExternalOES externalTexture; … 25 …"layout(binding = 1) uniform sampler3D tonemapper; … 26 …"layout(binding = 2) uniform sampler2D xform; … 27 …"layout(location = 3) uniform vec2 tSO; … 29 …"layout(location = 4) uniform vec2 xSO; …
|
/hardware/qcom/sm8150/display/gpu_tonemapper/ |
D | forward_tonemap.inl | 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 29 "layout(location = 4) uniform vec2 xSO; \n"
|
D | rgba_inverse_tonemap.inl | 24 …"layout(binding = 0) uniform samplerExternalOES externalTexture; … 25 …"layout(binding = 1) uniform sampler3D tonemapper; … 26 …"layout(binding = 2) uniform sampler2D xform; … 27 …"layout(location = 3) uniform vec2 tSO; … 29 …"layout(location = 4) uniform vec2 xSO; …
|
/hardware/qcom/sm7250/display/gpu_tonemapper/ |
D | forward_tonemap.inl | 24 "layout(binding = 0) uniform samplerExternalOES externalTexture; \n" 25 "layout(binding = 1) uniform sampler3D tonemapper; \n" 26 "layout(binding = 2) uniform sampler2D xform; \n" 27 "layout(location = 3) uniform vec2 tSO; \n" 29 "layout(location = 4) uniform vec2 xSO; \n"
|
D | rgba_inverse_tonemap.inl | 24 …"layout(binding = 0) uniform samplerExternalOES externalTexture; … 25 …"layout(binding = 1) uniform sampler3D tonemapper; … 26 …"layout(binding = 2) uniform sampler2D xform; … 27 …"layout(location = 3) uniform vec2 tSO; … 29 …"layout(location = 4) uniform vec2 xSO; …
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_buf_mgr.cpp | 768 struct android_flex_layout *layout) { in GetFlexLayout() argument 780 layout->format = FLEX_FORMAT_YCbCr; in GetFlexLayout() 781 layout->num_planes = 3; in GetFlexLayout() 783 for (uint32_t i = 0; i < layout->num_planes; i++) { in GetFlexLayout() 784 layout->planes[i].bits_per_component = 8; in GetFlexLayout() 785 layout->planes[i].bits_used = 8; in GetFlexLayout() 786 layout->planes[i].h_increment = 1; in GetFlexLayout() 787 layout->planes[i].v_increment = 1; in GetFlexLayout() 788 layout->planes[i].h_subsampling = 2; in GetFlexLayout() 789 layout->planes[i].v_subsampling = 2; in GetFlexLayout() [all …]
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_buf_mgr.cpp | 867 struct android_flex_layout *layout) { in GetFlexLayout() argument 879 layout->format = FLEX_FORMAT_YCbCr; in GetFlexLayout() 880 layout->num_planes = 3; in GetFlexLayout() 882 for (uint32_t i = 0; i < layout->num_planes; i++) { in GetFlexLayout() 883 layout->planes[i].bits_per_component = 8; in GetFlexLayout() 884 layout->planes[i].bits_used = 8; in GetFlexLayout() 885 layout->planes[i].h_increment = 1; in GetFlexLayout() 886 layout->planes[i].v_increment = 1; in GetFlexLayout() 887 layout->planes[i].h_subsampling = 2; in GetFlexLayout() 888 layout->planes[i].v_subsampling = 2; in GetFlexLayout() [all …]
|