Home
last modified time | relevance | path

Searched refs:yStride (Results 1 – 25 of 34) sorted by relevance

12

/hardware/google/gfxstream/guest/OpenglSystemCommon/
DFormatConversions.cpp54 uint32_t yStride = (width + (align - 1)) & ~(align-1); in get_yv12_offsets() local
55 uint32_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in get_yv12_offsets()
57 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yv12_offsets()
59 if (yStride_out) *yStride_out = yStride; in get_yv12_offsets()
69 uint32_t yStride = (width + (align - 1)) & ~(align-1); in get_yuv420p_offsets() local
70 uint32_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in get_yuv420p_offsets()
72 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yuv420p_offsets()
74 if (yStride_out) *yStride_out = yStride; in get_yuv420p_offsets()
93 int yStride = (width + (align -1)) & ~(align-1); in rgb565_to_yv12() local
94 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in rgb565_to_yv12()
[all …]
/hardware/qcom/camera/msm8998/QCamera2/HAL/tsMakeuplib/include/
Dts_makeup_image.h41 int yStride; //NV21 Y buffer stride len member
/hardware/interfaces/camera/device/default/
DExternalCameraUtils.cpp351 out->yStride = mWidth; in allocate()
383 out->yStride = mWidth; in getCroppedLayout()
518 static_cast<uint8_t*>(in.y), static_cast<int32_t>(in.yStride), in formatConvert()
521 static_cast<uint8_t*>(out.y), static_cast<int32_t>(out.yStride), in formatConvert()
531 static_cast<uint8_t*>(in.y), static_cast<int32_t>(in.yStride), in formatConvert()
534 static_cast<uint8_t*>(out.y), static_cast<int32_t>(out.yStride), in formatConvert()
545 ret = libyuv::I420Copy(static_cast<uint8_t*>(in.y), static_cast<int32_t>(in.yStride), in formatConvert()
548 static_cast<uint8_t*>(out.y), static_cast<int32_t>(out.yStride), in formatConvert()
561 __FUNCTION__, out.y, out.cb, out.cr, out.yStride, out.cStride, out.chromaStep); in formatConvert()
695 yLines[i] = static_cast<JSAMPROW>(py + li * inLayout.yStride); in encodeJpegYU12()
DExternalCameraOfflineSession.cpp420 mYu12FrameLayout.yStride, static_cast<uint8_t*>(mYu12FrameLayout.cb), in threadLoop()
506 .yStride = static_cast<uint32_t>(result.ystride), in threadLoop()
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp147 out->yStride = mWidth; in allocate()
192 out->yStride = mWidth; in getCroppedLayout()
339 in.yStride, in formatConvert()
345 out.yStride, in formatConvert()
359 in.yStride, in formatConvert()
365 out.yStride, in formatConvert()
381 in.yStride, in formatConvert()
387 out.yStride, in formatConvert()
405 out.yStride, out.cStride, out.chromaStep); in formatConvert()
548 yLines[i] = static_cast<JSAMPROW>(py + li * inLayout.yStride); in encodeJpegYU12()
DExternalCameraDeviceSession.cpp995 croppedLayout.yStride, in cropAndScaleLocked()
1003 outLayout.yStride, in cropAndScaleLocked()
1143 inputLayout.yStride, in cropAndScaleThumbLocked()
1151 outFullLayout.yStride, in cropAndScaleThumbLocked()
1496 static_cast<uint8_t*>(mYu12FrameLayout.y), mYu12FrameLayout.yStride, in threadLoop()
1504 mYu12FrameLayout.yStride, static_cast<uint8_t*>(mYu12FrameLayout.cb), in threadLoop()
1591 .yStride = static_cast<uint32_t>(result.ystride), in threadLoop()
/hardware/interfaces/graphics/mapper/3.0/
Dtypes.hal70 * yStride is the stride of the luma plane.
81 uint32_t yStride;
/hardware/interfaces/graphics/mapper/2.0/
Dtypes.hal51 * yStride is the stride of the luma plane.
62 uint32_t yStride;
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp360 EXPECT_EQ(y_cb_cr_layout.yStride, info.height * 2); in TEST_P()
361 EXPECT_EQ(y_cb_cr_layout.cStride, y_cb_cr_layout.yStride); in TEST_P()
396 yData[layout.yStride * y + x] = val; in TEST_P()
416 EXPECT_EQ(val, yData[layout.yStride * y + x]); in TEST_P()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMdssRot.cpp293 int yStride = (64 * 4 * yRauCount) + alignup(yRauCount, 8) / 8; in calcCompressedBufSize() local
297 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdssRot.cpp317 int yStride = (64 * 4 * yRauCount) + alignup(yRauCount, 8) / 8; in calcCompressedBufSize() local
321 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMdssRot.cpp354 int yStride = (64 * 4 * yRauCount) + alignup(yRauCount, 8) / 8; in calcCompressedBufSize() local
358 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp341 yData[layout.yStride * y + x] = val; in TEST_P()
361 EXPECT_EQ(val, yData[layout.yStride * y + x]); in TEST_P()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h157 outLayout->yStride = ycbcr.ystride; in lockYCbCr()
DGralloc1Hal.h306 outLayout->yStride = y.v_increment; in toYCbCrLayout()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp537 inMakeupData.yStride = offset.mp[0].stride; in TsMakeupProcess_Snapshot()
602 inMakeupData.yStride = offset.mp[0].stride; in TsMakeupProcess()
608 outMakeupData.yStride = offset.mp[0].stride; in TsMakeupProcess()
984 int32_t yStride = 0; in sendPreviewCallback() local
1033 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
1041 (yStride * yScanline + uStride * uScanline + vStride * vScanline); in sendPreviewCallback()
1044 yStride = streamInfo->buf_planes.plane_info.mp[0].stride; in sendPreviewCallback()
1053 ((yStride * yScanline) + (uvStride * uvScanline)); in sendPreviewCallback()
1073 srcOffset = i * yStride; in sendPreviewCallback()
1081 srcBaseOffset = yStride * yScanline; in sendPreviewCallback()
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraOfflineSession.cpp153 inData, inDataSize, static_cast<uint8_t*>(mYu12FrameLayout.y), mYu12FrameLayout.yStride, in threadLoop()
239 .yStride = static_cast<uint32_t>(result.ystride), in threadLoop()
/hardware/qcom/sm7250/display/gralloc/
DQtiMapper.cpp211 layout.yStride = static_cast<uint32_t>(yuv_plane_info[0].ystride); in lockYCbCr()
/hardware/qcom/sm8150/display/gralloc/
DQtiMapper.cpp211 layout.yStride = static_cast<uint32_t>(yuv_plane_info[0].ystride); in lockYCbCr()
/hardware/qcom/display/msm8960/libcopybit/
Dcopybit_c2d.cpp180 int yStride; //luma stride member
457 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
465 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
565 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
/hardware/qcom/display/msm8996/libcopybit/
Dcopybit_c2d.cpp182 int yStride; //luma stride member
474 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
482 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
586 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dcopybit_c2d.cpp182 int yStride; //luma stride member
474 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
482 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
586 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
/hardware/qcom/display/msm8909/libcopybit/
Dcopybit_c2d.cpp182 int yStride; //luma stride member
474 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
482 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
586 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
/hardware/qcom/sm8150/display/libcopybit/
Dcopybit_c2d.cpp182 int yStride; //luma stride member
474 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
482 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
586 surfaceDef.stride0 = yuvInfo.yStride; in set_image()
/hardware/qcom/display/msm8998/libcopybit/
Dcopybit_c2d.cpp180 int yStride; //luma stride member
472 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
480 yuvInfo.yStride = aligned_width; in calculate_yuv_offset_and_stride()
584 surfaceDef.stride0 = yuvInfo.yStride; in set_image()

12