Home
last modified time | relevance | path

Searched refs:cStride (Results 1 – 22 of 22) sorted by relevance

/hardware/google/gfxstream/guest/OpenglSystemCommon/
DFormatConversions.cpp94 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in rgb565_to_yv12() local
95 int cSize = cStride * height/2; in rgb565_to_yv12()
103 uint8_t *yv12_v = yv12_v0 + (j/2) * cStride; in rgb565_to_yv12()
135 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in rgb888_to_yv12() local
136 int cSize = cStride * height/2; in rgb888_to_yv12()
179 yv12_u0 += cStride; in rgb888_to_yv12()
180 yv12_v0 += cStride; in rgb888_to_yv12()
202 int cStride = yStride / 2; in rgb888_to_yuv420p() local
203 int cSize = cStride * height/2; in rgb888_to_yuv420p()
211 uint8_t *yv12_u = yv12_u0 + (j/2) * cStride; in rgb888_to_yuv420p()
[all …]
/hardware/interfaces/camera/device/default/
DExternalCameraUtils.cpp356 out->cStride = mWidth / 2; in allocate()
388 out->cStride = mWidth / 2; in getCroppedLayout()
519 static_cast<uint8_t*>(in.cb), static_cast<int32_t>(in.cStride), in formatConvert()
520 static_cast<uint8_t*>(in.cr), static_cast<int32_t>(in.cStride), in formatConvert()
522 static_cast<uint8_t*>(out.cr), static_cast<int32_t>(out.cStride), in formatConvert()
532 static_cast<uint8_t*>(in.cb), static_cast<int32_t>(in.cStride), in formatConvert()
533 static_cast<uint8_t*>(in.cr), static_cast<int32_t>(in.cStride), in formatConvert()
535 static_cast<uint8_t*>(out.cb), static_cast<int32_t>(out.cStride), in formatConvert()
546 static_cast<uint8_t*>(in.cb), static_cast<int32_t>(in.cStride), in formatConvert()
547 static_cast<uint8_t*>(in.cr), static_cast<int32_t>(in.cStride), in formatConvert()
[all …]
DExternalCameraOfflineSession.cpp421 mYu12FrameLayout.cStride, static_cast<uint8_t*>(mYu12FrameLayout.cr), in threadLoop()
422 mYu12FrameLayout.cStride, mYu12Frame->mWidth, mYu12Frame->mHeight, in threadLoop()
507 .cStride = static_cast<uint32_t>(result.cstride), in threadLoop()
DExternalCameraDeviceSession.cpp2410 static_cast<uint8_t*>(croppedLayout.cb), croppedLayout.cStride, in cropAndScaleLocked()
2411 static_cast<uint8_t*>(croppedLayout.cr), croppedLayout.cStride, inputCrop.width, in cropAndScaleLocked()
2413 static_cast<uint8_t*>(outLayout.cb), outLayout.cStride, in cropAndScaleLocked()
2414 static_cast<uint8_t*>(outLayout.cr), outLayout.cStride, outSz.width, outSz.height, in cropAndScaleLocked()
2534 static_cast<uint8_t*>(inputLayout.cb), inputLayout.cStride, in cropAndScaleThumbLocked()
2535 static_cast<uint8_t*>(inputLayout.cr), inputLayout.cStride, in cropAndScaleThumbLocked()
2538 static_cast<uint8_t*>(outFullLayout.cb), outFullLayout.cStride, in cropAndScaleThumbLocked()
2539 static_cast<uint8_t*>(outFullLayout.cr), outFullLayout.cStride, in cropAndScaleThumbLocked()
2798 static_cast<uint8_t*>(mYu12FrameLayout.cb), mYu12FrameLayout.cStride, in threadLoop()
2799 static_cast<uint8_t*>(mYu12FrameLayout.cr), mYu12FrameLayout.cStride, 0, 0, in threadLoop()
[all …]
/hardware/interfaces/camera/device/3.4/default/
DExternalCameraUtils.cpp152 out->cStride = mWidth / 2; in allocate()
197 out->cStride = mWidth / 2; in getCroppedLayout()
341 in.cStride, in formatConvert()
343 in.cStride, in formatConvert()
347 out.cStride, in formatConvert()
361 in.cStride, in formatConvert()
363 in.cStride, in formatConvert()
367 out.cStride, in formatConvert()
383 in.cStride, in formatConvert()
385 in.cStride, in formatConvert()
[all …]
DExternalCameraDeviceSession.cpp997 croppedLayout.cStride, in cropAndScaleLocked()
999 croppedLayout.cStride, in cropAndScaleLocked()
1005 outLayout.cStride, in cropAndScaleLocked()
1007 outLayout.cStride, in cropAndScaleLocked()
1145 inputLayout.cStride, in cropAndScaleThumbLocked()
1147 inputLayout.cStride, in cropAndScaleThumbLocked()
1153 outFullLayout.cStride, in cropAndScaleThumbLocked()
1155 outFullLayout.cStride, in cropAndScaleThumbLocked()
1497 static_cast<uint8_t*>(mYu12FrameLayout.cb), mYu12FrameLayout.cStride, in threadLoop()
1498 static_cast<uint8_t*>(mYu12FrameLayout.cr), mYu12FrameLayout.cStride, 0, 0, in threadLoop()
[all …]
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp361 EXPECT_EQ(y_cb_cr_layout.cStride, y_cb_cr_layout.yStride); in TEST_P()
398 cbData[layout.cStride * y / 2 + x / 2] = val; in TEST_P()
399 crData[layout.cStride * y / 2 + x / 2] = val; in TEST_P()
418 EXPECT_EQ(val, cbData[layout.cStride * y / 2 + x / 2]); in TEST_P()
419 EXPECT_EQ(val, crData[layout.cStride * y / 2 + x / 2]); in TEST_P()
/hardware/interfaces/graphics/mapper/3.0/
Dtypes.hal71 * cStride is the stride of the chroma planes.
82 uint32_t cStride;
/hardware/interfaces/graphics/mapper/2.0/
Dtypes.hal52 * cStride is the stride of the chroma planes.
63 uint32_t cStride;
/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp343 cbData[layout.cStride * y / 2 + x / 2] = val; in TEST_P()
344 crData[layout.cStride * y / 2 + x / 2] = val; in TEST_P()
363 EXPECT_EQ(val, cbData[layout.cStride * y / 2 + x / 2]); in TEST_P()
364 EXPECT_EQ(val, crData[layout.cStride * y / 2 + x / 2]); in TEST_P()
/hardware/qcom/display/msm8084/liboverlay/
DoverlayMdssRot.cpp294 int cStride = ((32 * 2 * cRauCount) + alignup(cRauCount, 8) / 8) * 2; in calcCompressedBufSize() local
297 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
/hardware/qcom/display/msm8226/liboverlay/
DoverlayMdssRot.cpp318 int cStride = ((32 * 2 * cRauCount) + alignup(cRauCount, 8) / 8) * 2; in calcCompressedBufSize() local
321 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraOfflineSession.cpp154 static_cast<uint8_t*>(mYu12FrameLayout.cb), mYu12FrameLayout.cStride, in threadLoop()
155 static_cast<uint8_t*>(mYu12FrameLayout.cr), mYu12FrameLayout.cStride, in threadLoop()
240 .cStride = static_cast<uint32_t>(result.cstride), in threadLoop()
/hardware/qcom/display/msm8994/liboverlay/
DoverlayMdssRot.cpp355 int cStride = ((32 * 2 * cRauCount) + alignup(cRauCount, 8) / 8) * 2; in calcCompressedBufSize() local
358 bufSize = (yStride * yStrideOffset + cStride * cStrideOffset) + in calcCompressedBufSize()
/hardware/interfaces/graphics/mapper/2.0/utils/passthrough/include/mapper-passthrough/2.0/
DGralloc0Hal.h158 outLayout->cStride = ycbcr.cstride; in lockYCbCr()
DGralloc1Hal.h307 outLayout->cStride = cb.v_increment; in toYCbCrLayout()
/hardware/qcom/sm7250/display/gralloc/
DQtiMapper.cpp212 layout.cStride = static_cast<uint32_t>(yuv_plane_info[0].cstride); in lockYCbCr()
DQtiMapperExtensions.cpp159 layout[i].cStride = static_cast<uint32_t>(yuv_plane_info[i].cstride); in getYuvPlaneInfo()
/hardware/qcom/sm8150/display/gralloc/
DQtiMapper.cpp212 layout.cStride = static_cast<uint32_t>(yuv_plane_info[0].cstride); in lockYCbCr()
DQtiMapperExtensions.cpp159 layout[i].cStride = static_cast<uint32_t>(yuv_plane_info[i].cstride); in getYuvPlaneInfo()
/hardware/interfaces/graphics/mapper/stable-c/vts/
DVtsHalGraphicsMapperStableC_TargetTest.cpp347 auto cStride = yCbCr.cstride; in traverseYCbCrData() local
359 const auto subSampleOffset = cStride * subSampleY + chromaStep * subSampleX; in traverseYCbCrData()
/hardware/interfaces/graphics/mapper/4.0/vts/functional/
DVtsHalGraphicsMapperV4_0TargetTest.cpp416 auto cStride = yCbCr.cstride; in traverseYCbCrData() local
428 const auto subSampleOffset = cStride * subSampleY + chromaStep * subSampleX; in traverseYCbCrData()