Home
last modified time | relevance | path

Searched refs:cstride (Results 1 – 25 of 37) sorted by relevance

12

/hardware/qcom/display/msm8084/libgralloc/
Dalloc_controller.cpp561 size_t ystride, cstride; in getYUVPlaneInfo() local
572 ystride = cstride = hnd->width; in getYUVPlaneInfo()
577 ycbcr->cstride = cstride; in getYUVPlaneInfo()
587 ystride = cstride = hnd->width; in getYUVPlaneInfo()
592 ycbcr->cstride = cstride; in getYUVPlaneInfo()
599 cstride = ALIGN(hnd->width/2, 16); in getYUVPlaneInfo()
603 cstride * hnd->height/2); in getYUVPlaneInfo()
605 ycbcr->cstride = cstride; in getYUVPlaneInfo()
/hardware/qcom/display/msm8226/libgralloc/
Dalloc_controller.cpp556 unsigned int ystride, cstride; in getYUVPlaneInfo() local
567 ystride = cstride = hnd->width; in getYUVPlaneInfo()
572 ycbcr->cstride = cstride; in getYUVPlaneInfo()
581 ystride = cstride = hnd->width; in getYUVPlaneInfo()
586 ycbcr->cstride = cstride; in getYUVPlaneInfo()
593 cstride = ALIGN(hnd->width/2, 16); in getYUVPlaneInfo()
597 cstride * hnd->height/2); in getYUVPlaneInfo()
599 ycbcr->cstride = cstride; in getYUVPlaneInfo()
/hardware/qcom/display/msm8909/gralloc/
Dgr_utils.cpp311 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
338 unsigned int ystride, cstride; in GetYuvSPPlaneInfo() local
340 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
345 ycbcr->cstride = cstride; in GetYuvSPPlaneInfo()
356 unsigned int ystride, cstride; in GetYUVPlaneInfo() local
441 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
444 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2); in GetYUVPlaneInfo()
446 ycbcr->cstride = cstride; in GetYUVPlaneInfo()
451 cstride = 0; in GetYUVPlaneInfo()
456 ycbcr->cstride = 0; in GetYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_utils.cpp311 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
338 unsigned int ystride, cstride; in GetYuvSPPlaneInfo() local
340 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
345 ycbcr->cstride = cstride; in GetYuvSPPlaneInfo()
356 unsigned int ystride, cstride; in GetYUVPlaneInfo() local
441 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
444 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2); in GetYUVPlaneInfo()
446 ycbcr->cstride = cstride; in GetYUVPlaneInfo()
451 cstride = 0; in GetYUVPlaneInfo()
456 ycbcr->cstride = 0; in GetYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8994/libgralloc/
Dalloc_controller.cpp657 unsigned int ystride, cstride; in getYUVPlaneInfo() local
668 ystride = cstride = hnd->width; in getYUVPlaneInfo()
673 ycbcr->cstride = cstride; in getYUVPlaneInfo()
683 ystride = cstride = hnd->width; in getYUVPlaneInfo()
688 ycbcr->cstride = cstride; in getYUVPlaneInfo()
695 cstride = ALIGN(hnd->width/2, 16); in getYUVPlaneInfo()
699 cstride * hnd->height/2); in getYUVPlaneInfo()
701 ycbcr->cstride = cstride; in getYUVPlaneInfo()
Dmapper.cpp358 layout->planes[1].v_increment = (int32_t)ycbcr->cstride; in ycbcr_to_flexible_layout()
363 layout->planes[2].v_increment = (int32_t)ycbcr->cstride; in ycbcr_to_flexible_layout()
/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp253 int ystride, cstride; in gralloc_lock_ycbcr() local
264 ycbcr->cstride = ystride; in gralloc_lock_ycbcr()
275 ycbcr->cstride = ystride; in gralloc_lock_ycbcr()
282 cstride = ALIGN(ystride / 2, 16); in gralloc_lock_ycbcr()
286 + cstride * hnd->height / 2); in gralloc_lock_ycbcr()
288 ycbcr->cstride = cstride; in gralloc_lock_ycbcr()
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp739 ycbcr->cstride = VENUS_UV_STRIDE(color_format, width); in getYuvUbwcSPPlaneInfo()
745 unsigned int ystride, cstride; in getYuvSPPlaneInfo() local
747 ystride = cstride = width * bpp; in getYuvSPPlaneInfo()
752 ycbcr->cstride = cstride; in getYuvSPPlaneInfo()
763 unsigned int ystride, cstride; in getYUVPlaneInfo() local
834 cstride = ALIGN(width/2, 16); in getYUVPlaneInfo()
838 cstride * height/2); in getYUVPlaneInfo()
840 ycbcr->cstride = cstride; in getYUVPlaneInfo()
845 cstride = 0; in getYUVPlaneInfo()
850 ycbcr->cstride = 0; in getYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dalloc_controller.cpp739 ycbcr->cstride = VENUS_UV_STRIDE(color_format, width); in getYuvUbwcSPPlaneInfo()
745 unsigned int ystride, cstride; in getYuvSPPlaneInfo() local
747 ystride = cstride = width * bpp; in getYuvSPPlaneInfo()
752 ycbcr->cstride = cstride; in getYuvSPPlaneInfo()
763 unsigned int ystride, cstride; in getYUVPlaneInfo() local
834 cstride = ALIGN(width/2, 16); in getYUVPlaneInfo()
838 cstride * height/2); in getYUVPlaneInfo()
840 ycbcr->cstride = cstride; in getYUVPlaneInfo()
845 cstride = 0; in getYUVPlaneInfo()
850 ycbcr->cstride = 0; in getYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp353 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
358 unsigned int ystride, cstride; in GetYuvSPPlaneInfo() local
360 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
365 ycbcr->cstride = cstride; in GetYuvSPPlaneInfo()
376 unsigned int ystride, cstride; in GetYUVPlaneInfo() local
442 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
445 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2); in GetYUVPlaneInfo()
447 ycbcr->cstride = cstride; in GetYUVPlaneInfo()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp354 ycbcr->cstride = VENUS_UV_STRIDE(color_format, INT(width)); in GetYuvUbwcSPPlaneInfo()
359 unsigned int ystride, cstride; in GetYuvSPPlaneInfo() local
361 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
366 ycbcr->cstride = cstride; in GetYuvSPPlaneInfo()
377 unsigned int ystride, cstride; in GetYUVPlaneInfo() local
443 cstride = ALIGN(width / 2, 16); in GetYUVPlaneInfo()
446 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2); in GetYUVPlaneInfo()
448 ycbcr->cstride = cstride; in GetYUVPlaneInfo()
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp760 ycbcr->cstride = VENUS_UV_STRIDE(color_format, width); in getYuvUbwcSPPlaneInfo()
766 unsigned int ystride, cstride; in getYuvSPPlaneInfo() local
768 ystride = cstride = width * bpp; in getYuvSPPlaneInfo()
773 ycbcr->cstride = cstride; in getYuvSPPlaneInfo()
784 unsigned int ystride, cstride; in getYUVPlaneInfo() local
847 cstride = ALIGN(width/2, 16); in getYUVPlaneInfo()
851 cstride * height/2); in getYUVPlaneInfo()
853 ycbcr->cstride = cstride; in getYUVPlaneInfo()
Dmapper.cpp357 layout->planes[1].v_increment = (int32_t)ycbcr->cstride; in ycbcr_to_flexible_layout()
362 layout->planes[2].v_increment = (int32_t)ycbcr->cstride; in ycbcr_to_flexible_layout()
/hardware/google/gfxstream/guest/mesa/include/android_stub/system/
Dgraphics.h87 size_t cstride; member
/hardware/interfaces/camera/device/default/
DExternalCameraOfflineSession.cpp497 result.y, result.cb, result.cr, result.ystride, result.cstride, in threadLoop()
499 if (result.ystride > UINT32_MAX || result.cstride > UINT32_MAX || in threadLoop()
507 .cStride = static_cast<uint32_t>(result.cstride), in threadLoop()
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraOfflineSession.cpp230 result.y, result.cb, result.cr, result.ystride, result.cstride, in threadLoop()
232 if (result.ystride > UINT32_MAX || result.cstride > UINT32_MAX || in threadLoop()
240 .cStride = static_cast<uint32_t>(result.cstride), in threadLoop()
/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp347 auto cStride = yCbCr.cstride; in traverseYCbCrData()
397 outYCbCr->cstride = 0; in getAndroidYCbCr()
428 if (outYCbCr->cstride == 0 && outYCbCr->chroma_step == 0) { in getAndroidYCbCr()
429 outYCbCr->cstride = planeLayout.strideInBytes; in getAndroidYCbCr()
432 ASSERT_EQ(outYCbCr->cstride, planeLayout.strideInBytes); in getAndroidYCbCr()
479 yCbCr_P010.yCbCr.cstride = 0; in getAndroidYCbCr_P010()
512 if (yCbCr_P010.yCbCr.cstride == 0 && yCbCr_P010.yCbCr.chroma_step == 0) { in getAndroidYCbCr_P010()
513 yCbCr_P010.yCbCr.cstride = planeLayout.strideInBytes; in getAndroidYCbCr_P010()
516 EXPECT_EQ(yCbCr_P010.yCbCr.cstride, planeLayout.strideInBytes); in getAndroidYCbCr_P010()
904 ASSERT_EQ(crData + yCbCr.cstride * info.height / vSubsampling, cbData); in TEST_P()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h158 outLayout->cStride = ycbcr.cstride; in lockYCbCr()
/hardware/google/gfxstream/guest/mesa/src/util/u_gralloc/
Du_gralloc_fallback.c230 out->strides[1] = out->strides[2] = ycbcr.cstride; in fallback_gralloc_get_yuv_info()
/hardware/qcom/sm8150/display/gralloc/
Dgr_utils.cpp1144 stride[1] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout()
1166 stride[2] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout()
1650 ycbcr->cstride = 0; in CopyPlaneLayoutInfotoAndroidYcbcr()
1669 ycbcr->cstride = plane_info[1].stride_bytes; in CopyPlaneLayoutInfotoAndroidYcbcr()
1678 ycbcr->cstride = plane_info[1].stride_bytes; in CopyPlaneLayoutInfotoAndroidYcbcr()
DQtiMapper.cpp212 layout.cStride = static_cast<uint32_t>(yuv_plane_info[0].cstride); in lockYCbCr()
Dgr_device_impl.cpp564 layout->planes[1].v_increment = static_cast<int32_t>(ycbcr.cstride); in GetFlexLayout()
569 layout->planes[2].v_increment = static_cast<int32_t>(ycbcr.cstride); in GetFlexLayout()
/hardware/qcom/sm7250/display/gralloc/
Dgr_utils.cpp1238 stride[1] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout()
1260 stride[2] = static_cast<uint32_t>(yuvInfo.cstride); in GetBufferLayout()
1773 ycbcr->cstride = 0; in CopyPlaneLayoutInfotoAndroidYcbcr()
1792 ycbcr->cstride = plane_info[1].stride_bytes; in CopyPlaneLayoutInfotoAndroidYcbcr()
1801 ycbcr->cstride = plane_info[1].stride_bytes; in CopyPlaneLayoutInfotoAndroidYcbcr()
DQtiMapper.cpp212 layout.cStride = static_cast<uint32_t>(yuv_plane_info[0].cstride); in lockYCbCr()
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp227 outYCbCr->cstride = 0; in getAndroidYCbCr()
258 if (outYCbCr->cstride == 0 && outYCbCr->chroma_step == 0) { in getAndroidYCbCr()
259 outYCbCr->cstride = planeLayout.strideInBytes; in getAndroidYCbCr()
262 ASSERT_EQ(outYCbCr->cstride, planeLayout.strideInBytes); in getAndroidYCbCr()
308 yCbCr_P010.yCbCr.cstride = 0; in getAndroidYCbCr_P010()
341 if (yCbCr_P010.yCbCr.cstride == 0 && yCbCr_P010.yCbCr.chroma_step == 0) { in getAndroidYCbCr_P010()
342 yCbCr_P010.yCbCr.cstride = planeLayout.strideInBytes; in getAndroidYCbCr_P010()
345 EXPECT_EQ(yCbCr_P010.yCbCr.cstride, planeLayout.strideInBytes); in getAndroidYCbCr_P010()
416 auto cStride = yCbCr.cstride; in traverseYCbCrData()
857 ASSERT_EQ(crData + yCbCr.cstride * info.height / vSubsampling, cbData); in TEST_P()

12