Home
last modified time | relevance | path

Searched refs:ystride (Results 1 – 10 of 10) sorted by relevance

/device/linaro/hikey/gralloc/
Dgralloc_module.cpp333 int ystride, cstride; in gralloc_lock_ycbcr() local
360 ystride = cstride = GRALLOC_ALIGN(hnd->width, 16); in gralloc_lock_ycbcr()
362 ycbcr->cr = (void *)((unsigned char *)hnd->base + ystride * hnd->height); in gralloc_lock_ycbcr()
363 ycbcr->cb = (void *)((unsigned char *)hnd->base + ystride * hnd->height + 1); in gralloc_lock_ycbcr()
364 ycbcr->ystride = ystride; in gralloc_lock_ycbcr()
371 ystride = GRALLOC_ALIGN(hnd->width, (hnd->height % 8 == 0) ? GRALLOC_ALIGN_BASE_16 : in gralloc_lock_ycbcr()
373 cstride = GRALLOC_ALIGN(ystride / 2, 16); in gralloc_lock_ycbcr()
376 ycbcr->cr = (void *)((unsigned char *)hnd->base + ystride * GRALLOC_ALIGN(hnd->height, 2)); in gralloc_lock_ycbcr()
377 …ycbcr->cb = (void *)((unsigned char *)hnd->base + ystride * GRALLOC_ALIGN(hnd->height, 2) + cstrid… in gralloc_lock_ycbcr()
378 ycbcr->ystride = ystride; in gralloc_lock_ycbcr()
[all …]
/device/generic/goldfish/camera/
Djpeg.cpp55 const int ystride = image.ystride; in compressYUVImplPixelsFast() local
66 y[i] = static_cast<const uint8_t*>(image.y) + nscli * ystride; in compressYUVImplPixelsFast()
116 const int ystride = image.ystride; in compressYUVImplPixelsSlow() local
127 memcpy(y[i], static_cast<const uint8_t*>(image.y) + nscli * ystride, width); in compressYUVImplPixelsSlow()
243 static_cast<const uint8_t*>(srcYCbCr.y), srcYCbCr.ystride, in resizeYUV()
247 static_cast<uint8_t*>(dstYCbCr.y), dstYCbCr.ystride, in resizeYUV()
Dconverters.cpp63 static_cast<uint8_t*>(ycbcr.y), ycbcr.ystride, in rgba2yuv()
70 const size_t ystride = ycbcr.ystride; in rgba2yuv() local
71 const size_t ystride2 = ystride + ystride; in rgba2yuv()
89 uint8_t* y1 = y + ystride; in rgba2yuv()
Dyuv.cpp74 nv21.ystride = width; in NV21init()
94 nv21.ystride = ycbcr.ystride; in toNV21Shallow()
/device/google/cuttlefish/guest/hals/camera/
Dcached_stream_buffer.cpp102 if (result.ystride > UINT32_MAX || result.cstride > UINT32_MAX || in acquireAsYUV()
107 __FUNCTION__, result.ystride, result.cstride, result.chroma_step); in acquireAsYUV()
113 .yStride = static_cast<uint32_t>(result.ystride), in acquireAsYUV()
/device/generic/goldfish-opengl/system/hwc3/
DGralloc.cpp192 buffer_ycbcr.ystride = 0; in LockYCbCr()
211 buffer_ycbcr.ystride = static_cast<size_t>(plane_layout.strideInBytes); in LockYCbCr()
DGuestFrameComposer.cpp224 const int strideYBytes = static_cast<int>(srcBufferYCbCr.ystride); in ConvertFromYV12()
231 srcY += src.cropY * srcBufferYCbCr.ystride + src.cropX; in ConvertFromYV12()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferaccess.cpp155 ycbcr->ystride = y_stride; in mali_gralloc_lock_ycbcr()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferaccess.cpp155 ycbcr->ystride = y_stride; in mali_gralloc_lock_ycbcr()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp1462 ycbcr->ystride = yStride; in gralloc_lock_ycbcr()
1471 ycbcr->y, ycbcr->cb, ycbcr->cr, ycbcr->ystride, ycbcr->cstride, in gralloc_lock_ycbcr()