Home
last modified time | relevance | path

Searched refs:ystride (Results 1 – 25 of 38) sorted by relevance

12

/hardware/qcom/display/msm8960/libgralloc/
Dmapper.cpp253 int ystride, cstride; in gralloc_lock_ycbcr() local
259 ystride = ALIGN(hnd->width, 16); in gralloc_lock_ycbcr()
261 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
262 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr()
263 ycbcr->ystride = ystride; in gralloc_lock_ycbcr()
264 ycbcr->cstride = ystride; in gralloc_lock_ycbcr()
270 ystride = ALIGN(hnd->width, 16); in gralloc_lock_ycbcr()
272 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
273 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr()
274 ycbcr->ystride = ystride; in gralloc_lock_ycbcr()
[all …]
/hardware/qcom/display/msm8084/libgralloc/
Dalloc_controller.cpp561 size_t ystride, cstride; in getYUVPlaneInfo() local
572 ystride = cstride = hnd->width; in getYUVPlaneInfo()
574 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
575 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); in getYUVPlaneInfo()
576 ycbcr->ystride = ystride; in getYUVPlaneInfo()
587 ystride = cstride = hnd->width; in getYUVPlaneInfo()
589 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
590 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1); in getYUVPlaneInfo()
591 ycbcr->ystride = ystride; in getYUVPlaneInfo()
598 ystride = hnd->width; in getYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8226/libgralloc/
Dalloc_controller.cpp556 unsigned int ystride, cstride; in getYUVPlaneInfo() local
567 ystride = cstride = hnd->width; in getYUVPlaneInfo()
569 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
570 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); in getYUVPlaneInfo()
571 ycbcr->ystride = ystride; in getYUVPlaneInfo()
581 ystride = cstride = hnd->width; in getYUVPlaneInfo()
583 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
584 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1); in getYUVPlaneInfo()
585 ycbcr->ystride = ystride; in getYUVPlaneInfo()
592 ystride = hnd->width; 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()
670 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
671 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height + 1); in getYUVPlaneInfo()
672 ycbcr->ystride = ystride; in getYUVPlaneInfo()
683 ystride = cstride = hnd->width; in getYUVPlaneInfo()
685 ycbcr->cr = (void*)(hnd->base + ystride * hnd->height); in getYUVPlaneInfo()
686 ycbcr->cb = (void*)(hnd->base + ystride * hnd->height + 1); in getYUVPlaneInfo()
687 ycbcr->ystride = ystride; in getYUVPlaneInfo()
694 ystride = hnd->width; in getYUVPlaneInfo()
[all …]
Dmapper.cpp353 layout->planes[0].v_increment = (int32_t)ycbcr->ystride; in ycbcr_to_flexible_layout()
/hardware/qcom/display/msm8909/gralloc/
Dgr_utils.cpp310 ycbcr->ystride = y_stride; in GetYuvUbwcSPPlaneInfo()
338 unsigned int ystride, cstride; in GetYuvSPPlaneInfo() local
340 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
342 ycbcr->cb = reinterpret_cast<void *>(base + ystride * UINT(height)); in GetYuvSPPlaneInfo()
343 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1); in GetYuvSPPlaneInfo()
344 ycbcr->ystride = ystride; in GetYuvSPPlaneInfo()
356 unsigned int ystride, cstride; in GetYUVPlaneInfo() local
440 ystride = width; in GetYUVPlaneInfo()
443 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height); in GetYUVPlaneInfo()
444 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2); in GetYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_utils.cpp310 ycbcr->ystride = y_stride; in GetYuvUbwcSPPlaneInfo()
338 unsigned int ystride, cstride; in GetYuvSPPlaneInfo() local
340 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
342 ycbcr->cb = reinterpret_cast<void *>(base + ystride * UINT(height)); in GetYuvSPPlaneInfo()
343 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1); in GetYuvSPPlaneInfo()
344 ycbcr->ystride = ystride; in GetYuvSPPlaneInfo()
356 unsigned int ystride, cstride; in GetYUVPlaneInfo() local
440 ystride = width; in GetYUVPlaneInfo()
443 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height); in GetYUVPlaneInfo()
444 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2); in GetYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8909/libgralloc/
Dalloc_controller.cpp738 ycbcr->ystride = y_stride; in getYuvUbwcSPPlaneInfo()
745 unsigned int ystride, cstride; in getYuvSPPlaneInfo() local
747 ystride = cstride = width * bpp; in getYuvSPPlaneInfo()
749 ycbcr->cb = (void*)(base + ystride * height); in getYuvSPPlaneInfo()
750 ycbcr->cr = (void*)(base + ystride * height + 1); in getYuvSPPlaneInfo()
751 ycbcr->ystride = ystride; in getYuvSPPlaneInfo()
763 unsigned int ystride, cstride; in getYUVPlaneInfo() local
833 ystride = width; in getYUVPlaneInfo()
836 ycbcr->cr = (void*)(hnd->base + ystride * height); in getYUVPlaneInfo()
837 ycbcr->cb = (void*)(hnd->base + ystride * height + in getYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dalloc_controller.cpp738 ycbcr->ystride = y_stride; in getYuvUbwcSPPlaneInfo()
745 unsigned int ystride, cstride; in getYuvSPPlaneInfo() local
747 ystride = cstride = width * bpp; in getYuvSPPlaneInfo()
749 ycbcr->cb = (void*)(base + ystride * height); in getYuvSPPlaneInfo()
750 ycbcr->cr = (void*)(base + ystride * height + 1); in getYuvSPPlaneInfo()
751 ycbcr->ystride = ystride; in getYuvSPPlaneInfo()
763 unsigned int ystride, cstride; in getYUVPlaneInfo() local
833 ystride = width; in getYUVPlaneInfo()
836 ycbcr->cr = (void*)(hnd->base + ystride * height); in getYUVPlaneInfo()
837 ycbcr->cb = (void*)(hnd->base + ystride * height + in getYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_allocator.cpp352 ycbcr->ystride = y_stride; in GetYuvUbwcSPPlaneInfo()
358 unsigned int ystride, cstride; in GetYuvSPPlaneInfo() local
360 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
362 ycbcr->cb = reinterpret_cast<void *>(base + ystride * UINT(height)); in GetYuvSPPlaneInfo()
363 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1); in GetYuvSPPlaneInfo()
364 ycbcr->ystride = ystride; in GetYuvSPPlaneInfo()
376 unsigned int ystride, cstride; in GetYUVPlaneInfo() local
441 ystride = width; in GetYUVPlaneInfo()
444 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height); in GetYUVPlaneInfo()
445 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2); in GetYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_allocator.cpp353 ycbcr->ystride = y_stride; in GetYuvUbwcSPPlaneInfo()
359 unsigned int ystride, cstride; in GetYuvSPPlaneInfo() local
361 ystride = cstride = UINT(width) * bpp; in GetYuvSPPlaneInfo()
363 ycbcr->cb = reinterpret_cast<void *>(base + ystride * UINT(height)); in GetYuvSPPlaneInfo()
364 ycbcr->cr = reinterpret_cast<void *>(base + ystride * UINT(height) + 1); in GetYuvSPPlaneInfo()
365 ycbcr->ystride = ystride; in GetYuvSPPlaneInfo()
377 unsigned int ystride, cstride; in GetYUVPlaneInfo() local
442 ystride = width; in GetYUVPlaneInfo()
445 ycbcr->cr = reinterpret_cast<void *>(hnd->base + ystride * height); in GetYUVPlaneInfo()
446 ycbcr->cb = reinterpret_cast<void *>(hnd->base + ystride * height + cstride * height / 2); in GetYUVPlaneInfo()
[all …]
/hardware/qcom/display/msm8996/libgralloc/
Dalloc_controller.cpp759 ycbcr->ystride = y_stride; in getYuvUbwcSPPlaneInfo()
766 unsigned int ystride, cstride; in getYuvSPPlaneInfo() local
768 ystride = cstride = width * bpp; in getYuvSPPlaneInfo()
770 ycbcr->cb = (void*)(base + ystride * height); in getYuvSPPlaneInfo()
771 ycbcr->cr = (void*)(base + ystride * height + 1); in getYuvSPPlaneInfo()
772 ycbcr->ystride = ystride; in getYuvSPPlaneInfo()
784 unsigned int ystride, cstride; in getYUVPlaneInfo() local
846 ystride = width; in getYUVPlaneInfo()
849 ycbcr->cr = (void*)(hnd->base + ystride * height); in getYUVPlaneInfo()
850 ycbcr->cb = (void*)(hnd->base + ystride * height + in getYUVPlaneInfo()
[all …]
Dmapper.cpp352 layout->planes[0].v_increment = (int32_t)ycbcr->ystride; in ycbcr_to_flexible_layout()
/hardware/google/gfxstream/guest/mesa/include/android_stub/system/
Dgraphics.h86 size_t ystride; 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()
506 .yStride = static_cast<uint32_t>(result.ystride), 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()
239 .yStride = static_cast<uint32_t>(result.ystride), in threadLoop()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h157 outLayout->yStride = ycbcr.ystride; in lockYCbCr()
/hardware/libhardware/modules/camera/3_4/arc/
Dimage_processor.cpp165 int ystride = Align16(in_frame.GetWidth()); in ConvertFormat() local
168 in_frame.GetWidth(), in_frame.GetHeight(), ystride, in ConvertFormat()
/hardware/google/gfxstream/guest/mesa/src/util/u_gralloc/
Du_gralloc_fallback.c229 out->strides[0] = ycbcr.ystride; in fallback_gralloc_get_yuv_info()
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenccli_image_load_store.cpp1106 uint32_t ystride = xstride * dim_y; in load_ktx_uncompressed_image() local
1107 uint32_t computed_bytes_of_surface = dim_z * ystride; in load_ktx_uncompressed_image()
1162 uint8_t *src = buf + (z * ystride) + (y * xstride); in load_ktx_uncompressed_image()
1901 uint32_t ystride = xstride * dim_y; in load_dds_uncompressed_image() local
1902 uint32_t bytes_of_surface = ystride * dim_z; in load_dds_uncompressed_image()
1937 uint8_t *src = buf + (z * ystride) + (y * xstride); in load_dds_uncompressed_image()
/hardware/qcom/sm7250/display/gralloc/
DQtiMapper.cpp211 layout.yStride = static_cast<uint32_t>(yuv_plane_info[0].ystride); in lockYCbCr()
DQtiMapperExtensions.cpp158 layout[i].yStride = static_cast<uint32_t>(yuv_plane_info[i].ystride); in getYuvPlaneInfo()
/hardware/qcom/sm8150/display/gralloc/
DQtiMapper.cpp211 layout.yStride = static_cast<uint32_t>(yuv_plane_info[0].ystride); in lockYCbCr()
DQtiMapperExtensions.cpp158 layout[i].yStride = static_cast<uint32_t>(yuv_plane_info[i].ystride); in getYuvPlaneInfo()
/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp346 auto yStride = yCbCr.ystride; in traverseYCbCrData()
396 outYCbCr->ystride = 0; in getAndroidYCbCr()
418 outYCbCr->ystride = planeLayout.strideInBytes; in getAndroidYCbCr()
478 yCbCr_P010.yCbCr.ystride = 0; in getAndroidYCbCr_P010()
504 yCbCr_P010.yCbCr.ystride = planeLayout.strideInBytes; in getAndroidYCbCr_P010()

12