Searched refs:yStride (Results 1 – 6 of 6) sorted by relevance
/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 | 356 size_t yStride; in lockYCbCrImpl() local 361 yStride = cb->width; in lockYCbCrImpl() 362 cStride = yStride; in lockYCbCrImpl() 363 vOffset = yStride * cb->height; in lockYCbCrImpl() 370 yStride = align(cb->width, 16); in lockYCbCrImpl() 371 cStride = align(yStride / 2, 16); in lockYCbCrImpl() 372 vOffset = yStride * cb->height; in lockYCbCrImpl() 378 yStride = cb->width; in lockYCbCrImpl() 379 cStride = yStride / 2; in lockYCbCrImpl() 380 uOffset = cb->height * yStride; in lockYCbCrImpl() [all …]
|
D | allocator3.cpp | 223 const size_t yStride = (width * bpp + align1) & ~align1; in allocateImpl() local 224 const size_t uvStride = (yStride / 2 + align1) & ~align1; in allocateImpl() 226 bufferSize = yStride * height + 2 * (uvHeight * uvStride); in allocateImpl() 227 stride = yStride / bpp; in allocateImpl()
|
/device/generic/goldfish-opengl/system/gralloc/ |
D | gralloc_old.cpp | 828 size_t yStride = (w*bpp + (align - 1)) & ~(align-1); in gralloc_alloc() local 829 size_t uvStride = (yStride / 2 + (align - 1)) & ~(align-1); in gralloc_alloc() 831 ashmem_size += yStride * h + 2 * (uvHeight * uvStride); in gralloc_alloc() 832 stride = yStride / bpp; in gralloc_alloc() 1417 size_t yStride; in gralloc_lock_ycbcr() local 1427 yStride = cb->width; in gralloc_lock_ycbcr() 1430 vOffset = yStride * cb->height; in gralloc_lock_ycbcr() 1437 yStride = (cb->width + (align -1)) & ~(align-1); in gralloc_lock_ycbcr() 1438 cStride = (yStride / 2 + (align - 1)) & ~(align-1); in gralloc_lock_ycbcr() 1441 vOffset = yStride * cb->height; in gralloc_lock_ycbcr() [all …]
|
/device/google/cuttlefish/guest/hals/camera/ |
D | vsock_frame_provider.cpp | 90 .yStride = w, in copyYUVFrame() 99 libyuv::CopyPlane(src_y, src.yStride, dst_y, dst.yStride, w, h); in copyYUVFrame()
|
D | cached_stream_buffer.cpp | 113 .yStride = static_cast<uint32_t>(result.ystride), in acquireAsYUV()
|