Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DFormatConversions.cpp95 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in rgb565_to_yv12() local
96 int cSize = cStride * height/2; in rgb565_to_yv12()
104 uint8_t *yv12_v = yv12_v0 + (j/2) * cStride; in rgb565_to_yv12()
136 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in rgb888_to_yv12() local
137 int cSize = cStride * height/2; in rgb888_to_yv12()
180 yv12_u0 += cStride; in rgb888_to_yv12()
181 yv12_v0 += cStride; in rgb888_to_yv12()
203 int cStride = yStride / 2; in rgb888_to_yuv420p() local
204 int cSize = cStride * height/2; in rgb888_to_yuv420p()
212 uint8_t *yv12_u = yv12_u0 + (j/2) * cStride; in rgb888_to_yuv420p()
[all …]
/device/generic/opengl-transport/host/libs/virglrenderer/libOpenglRender/
DYUVConverter.cpp58 uint32_t cStride = (yStride / 2 + (align - 1)) & ~(align - 1); in getPlanarYUVSizes() local
61 *nBytes_out = yStride * height + 2 * (cStride * cHeight); in getPlanarYUVSizes()
63 *cStride_out = cStride; in getPlanarYUVSizes()
94 uint32_t totalSize, yStride, cStride, cHeight; in getPlanarYUVOffsets() local
95 cStride = 0; in getPlanarYUVOffsets()
98 getYUVSizes(width, height, format, &totalSize, &yStride, &cStride, &cHeight); in getPlanarYUVOffsets()
99 int cSize = cStride * height / 2; in getPlanarYUVOffsets()
111 *alignwidthc = cStride; in getPlanarYUVOffsets()
118 *alignwidthc = cStride; in getPlanarYUVOffsets()
382 uint32_t totalSize, yStride, cStride, cHeight; in YUVConverter() local
[all …]
/device/generic/goldfish-opengl/system/hals/
Dmapper3.cpp316 size_t cStride; in lockYCbCrImpl() local
321 cStride = yStride; in lockYCbCrImpl()
330 cStride = align(yStride / 2, 16); in lockYCbCrImpl()
332 uOffset = vOffset + (cStride * cb->height / 2); in lockYCbCrImpl()
338 cStride = yStride / 2; in lockYCbCrImpl()
340 vOffset = uOffset + cStride * cb->height / 2; in lockYCbCrImpl()
360 pYcbcr->cStride = cStride; in lockYCbCrImpl()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_30.cpp235 size_t cStride; in lock_ycbcr() local
241 cStride = yStride; in lock_ycbcr()
250 cStride = align(yStride / 2, 16); in lock_ycbcr()
252 uOffset = vOffset + (cStride * handle.height / 2); in lock_ycbcr()
258 cStride = yStride / 2; in lock_ycbcr()
260 vOffset = uOffset + cStride * handle.height / 2; in lock_ycbcr()
283 ycbcr->cstride = cStride; in lock_ycbcr()
Dgralloc_old.cpp1394 size_t cStride; in gralloc_lock_ycbcr() local
1404 cStride = cb->width; in gralloc_lock_ycbcr()
1414 cStride = (yStride / 2 + (align - 1)) & ~(align-1); in gralloc_lock_ycbcr()
1416 cSize = cStride * cb->height/2; in gralloc_lock_ycbcr()
1423 cStride = yStride / 2; in gralloc_lock_ycbcr()
1426 vOffset = uOffset + cStride * cb->height / 2; in gralloc_lock_ycbcr()
1439 ycbcr->cstride = cStride; in gralloc_lock_ycbcr()
/device/google/cuttlefish/guest/hals/camera/
DGrallocModule.cpp184 ycbcr->cstride = ycbcr_layout.cStride; in lock_ycbcr()
/device/google/cuttlefish/guest/hals/hwcomposer/common/
Dgralloc_utils.cpp307 buffer_ycbcr.cstride = ycbcr.cStride; in LockYCbCr()