Searched refs:yStride (Results 1 – 9 of 9) sorted by relevance
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
D | FormatConversions.cpp | 55 uint32_t yStride = (width + (align - 1)) & ~(align-1); in get_yv12_offsets() local 56 uint32_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in get_yv12_offsets() 58 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yv12_offsets() 60 if (yStride_out) *yStride_out = yStride; in get_yv12_offsets() 70 uint32_t yStride = (width + (align - 1)) & ~(align-1); in get_yuv420p_offsets() local 71 uint32_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in get_yuv420p_offsets() 73 uint32_t sz = yStride * height + 2 * (uvHeight * uvStride); in get_yuv420p_offsets() 75 if (yStride_out) *yStride_out = yStride; in get_yuv420p_offsets() 94 int yStride = (width + (align -1)) & ~(align-1); in rgb565_to_yv12() local 95 int cStride = (yStride / 2 + (align - 1)) & ~(align-1); in rgb565_to_yv12() [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/libOpenglRender/ |
D | YUVConverter.cpp | 57 uint32_t yStride = (width + (align - 1)) & ~(align - 1); in getPlanarYUVSizes() local 58 uint32_t cStride = (yStride / 2 + (align - 1)) & ~(align - 1); in getPlanarYUVSizes() 61 *nBytes_out = yStride * height + 2 * (cStride * cHeight); in getPlanarYUVSizes() 62 *yStride_out = yStride; in getPlanarYUVSizes() 94 uint32_t totalSize, yStride, cStride, cHeight; in getPlanarYUVOffsets() local 96 yStride = 0; in getPlanarYUVOffsets() 98 getYUVSizes(width, height, format, &totalSize, &yStride, &cStride, &cHeight); in getPlanarYUVOffsets() 108 *voff = (*yoff) + yStride * height; in getPlanarYUVOffsets() 110 *alignwidth = yStride; in getPlanarYUVOffsets() 115 *uoff = (*yoff) + yStride * height; in getPlanarYUVOffsets() [all …]
|
/device/generic/goldfish-opengl/system/hals/ |
D | mapper3.cpp | 315 size_t yStride; in lockYCbCrImpl() local 320 yStride = cb->width; in lockYCbCrImpl() 321 cStride = yStride; in lockYCbCrImpl() 322 vOffset = yStride * cb->height; in lockYCbCrImpl() 329 yStride = align(cb->width, 16); in lockYCbCrImpl() 330 cStride = align(yStride / 2, 16); in lockYCbCrImpl() 331 vOffset = yStride * cb->height; in lockYCbCrImpl() 337 yStride = cb->width; in lockYCbCrImpl() 338 cStride = yStride / 2; in lockYCbCrImpl() 339 uOffset = cb->height * yStride; in lockYCbCrImpl() [all …]
|
D | allocator3.cpp | 215 const size_t yStride = (width * bpp + align1) & ~align1; in allocateImpl() local 216 const size_t uvStride = (yStride / 2 + align1) & ~align1; in allocateImpl() 218 bufferSize = yStride * height + 2 * (uvHeight * uvStride); in allocateImpl() 219 stride = yStride / bpp; in allocateImpl()
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_30.cpp | 234 size_t yStride; in lock_ycbcr() local 240 yStride = handle.width; in lock_ycbcr() 241 cStride = yStride; in lock_ycbcr() 242 vOffset = yStride * handle.height; in lock_ycbcr() 249 yStride = align(handle.width, 16); in lock_ycbcr() 250 cStride = align(yStride / 2, 16); in lock_ycbcr() 251 vOffset = yStride * handle.height; in lock_ycbcr() 257 yStride = handle.width; in lock_ycbcr() 258 cStride = yStride / 2; in lock_ycbcr() 259 uOffset = handle.height * yStride; in lock_ycbcr() [all …]
|
D | gralloc_old.cpp | 810 size_t yStride = (w*bpp + (align - 1)) & ~(align-1); in gralloc_alloc() local 811 size_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in gralloc_alloc() 813 ashmem_size += yStride * h + 2 * (uvHeight * uvStride); in gralloc_alloc() 814 stride = yStride / bpp; in gralloc_alloc() 1393 size_t yStride; in gralloc_lock_ycbcr() local 1403 yStride = cb->width; in gralloc_lock_ycbcr() 1406 vOffset = yStride * cb->height; in gralloc_lock_ycbcr() 1413 yStride = (cb->width + (align -1)) & ~(align-1); in gralloc_lock_ycbcr() 1414 cStride = (yStride / 2 + (align - 1)) & ~(align-1); in gralloc_lock_ycbcr() 1417 vOffset = yStride * cb->height; in gralloc_lock_ycbcr() [all …]
|
/device/generic/goldfish/camera/ |
D | EmulatedFakeRotatingCameraDevice.cpp | 73 int yStride = (width + (align -1)) & ~(align-1); in rgba8888_to_nv21() local 74 uint8_t* outputVU = output + height*yStride; in rgba8888_to_nv21() 76 uint8_t* outputY = output + j*yStride; in rgba8888_to_nv21() 97 int yStride = (width + (align -1)) & ~(align-1); in nv21_to_rgba8888() local 98 uint8_t* inputVU = input + height*yStride; in nv21_to_rgba8888() 101 uint8_t* inputY = input + j*yStride; in nv21_to_rgba8888()
|
/device/google/cuttlefish/guest/hals/camera/ |
D | GrallocModule.cpp | 183 ycbcr->ystride = ycbcr_layout.yStride; in lock_ycbcr()
|
/device/google/cuttlefish/guest/hals/hwcomposer/common/ |
D | gralloc_utils.cpp | 306 buffer_ycbcr.ystride = ycbcr.yStride; in LockYCbCr()
|