Home
last modified time | relevance | path

Searched refs:cstep (Results 1 – 2 of 2) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuIntrinsicYuvToRGB.cpp124 size_t cstep = cp->alloc->mHal.drvState.yuv.step; in kernel() local
146 cstep = 2; in kernel()
153 int cx = (x1 >> 1) * cstep; in kernel()
162 if (cstep == 1) { in kernel()
166 } else if (cstep == 2) { in kernel()
187 int cx = (x1 >> 1) * cstep; in kernel()
/frameworks/rs/driver/runtime/
Drs_allocation.c320 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_U() local
326 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)]; in rsGetElementAtYuv_uchar_U()
334 const size_t cstep = alloc->mHal.drvState.yuv.step; in rsGetElementAtYuv_uchar_V() local
340 return pin[((x >> shift) * cstep) + ((y >> shift) * stride)]; in rsGetElementAtYuv_uchar_V()