Home
last modified time | relevance | path

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

/device/generic/goldfish/camera/
Djpeg.cpp56 const int cstride = image.cstride; in compressYUVImplPixelsFast() local
68 const int offset = (nscli / 2) * cstride; in compressYUVImplPixelsFast()
117 const int cstride = image.cstride; in compressYUVImplPixelsSlow() local
129 const int offset = (nscli / 2) * cstride; in compressYUVImplPixelsSlow()
244 static_cast<const uint8_t*>(srcYCbCr.cb), srcYCbCr.cstride, in resizeYUV()
245 static_cast<const uint8_t*>(srcYCbCr.cr), srcYCbCr.cstride, in resizeYUV()
248 static_cast<uint8_t*>(dstYCbCr.cb), dstYCbCr.cstride, in resizeYUV()
249 static_cast<uint8_t*>(dstYCbCr.cr), dstYCbCr.cstride, in resizeYUV()
Dconverters.cpp64 static_cast<uint8_t*>(ycbcr.cb), ycbcr.cstride, in rgba2yuv()
65 static_cast<uint8_t*>(ycbcr.cr), ycbcr.cstride, in rgba2yuv()
72 const size_t cstride = ycbcr.cstride; in rgba2yuv() local
85 cb += cstride, cr += cstride) { in rgba2yuv()
Dyuv.cpp75 nv21.cstride = width / 2; in NV21init()
97 nv21.cstride = width / 2; in toNV21Shallow()
101 ycbcr.cb, ycbcr.cstride, ycbcr.chroma_step); in toNV21Shallow()
103 ycbcr.cr, ycbcr.cstride, ycbcr.chroma_step); in toNV21Shallow()
/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()
365 ycbcr->cstride = cstride; in gralloc_lock_ycbcr()
373 cstride = GRALLOC_ALIGN(ystride / 2, 16); in gralloc_lock_ycbcr()
377 …)((unsigned char *)hnd->base + ystride * GRALLOC_ALIGN(hnd->height, 2) + cstride * hnd->height / 2… in gralloc_lock_ycbcr()
379 ycbcr->cstride = cstride; in gralloc_lock_ycbcr()
386 ystride = cstride = GRALLOC_ALIGN(hnd->width, 16); in gralloc_lock_ycbcr()
391 ycbcr->cstride = cstride; in gralloc_lock_ycbcr()
/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()
114 .cStride = static_cast<uint32_t>(result.cstride), in acquireAsYUV()
/device/generic/goldfish-opengl/system/hwc3/
DGralloc.cpp193 buffer_ycbcr.cstride = 0; in LockYCbCr()
215 buffer_ycbcr.cstride = static_cast<size_t>(plane_layout.strideInBytes); in LockYCbCr()
221 buffer_ycbcr.cstride = static_cast<size_t>(plane_layout.strideInBytes); in LockYCbCr()
DGuestFrameComposer.cpp226 const int strideUBytes = static_cast<int>(srcBufferYCbCr.cstride); in ConvertFromYV12()
228 const int strideVBytes = static_cast<int>(srcBufferYCbCr.cstride); in ConvertFromYV12()
232 srcV += (src.cropY / 2) * srcBufferYCbCr.cstride + (src.cropX / 2); in ConvertFromYV12()
233 srcU += (src.cropY / 2) * srcBufferYCbCr.cstride + (src.cropX / 2); in ConvertFromYV12()
/device/amlogic/yukawa/hal/gralloc/
Dmali_gralloc_bufferaccess.cpp156 ycbcr->cstride = c_stride; in mali_gralloc_lock_ycbcr()
/device/linaro/hikey/gralloc960/
Dmali_gralloc_bufferaccess.cpp156 ycbcr->cstride = c_stride; in mali_gralloc_lock_ycbcr()
/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp1463 ycbcr->cstride = cStride; in gralloc_lock_ycbcr()
1471 ycbcr->y, ycbcr->cb, ycbcr->cr, ycbcr->ystride, ycbcr->cstride, in gralloc_lock_ycbcr()