Home
last modified time | relevance | path

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

/hardware/ti/omap4-aah/test/CameraHal/
Dcamera_test_surfacetexture.cpp157 unsigned int uvoffset; in writeCroppedNV12() local
166 uvoffset = stride * bufHeight; in writeCroppedNV12()
168 uvoffset += (offset - (offset % stride)) / 2 + (offset % stride); in writeCroppedNV12()
173 chroma = src + uvoffset; in writeCroppedNV12()
245 unsigned int uvoffset; in copyCroppedNV12() local
252 uvoffset = strideSrc * crop.height(); in copyCroppedNV12()
253 uvoffset += (offset - (offset % strideSrc)) / 2 + (offset % strideSrc); in copyCroppedNV12()
256 chromaSrc = static_cast<unsigned char *>(bufferSrc) + uvoffset; in copyCroppedNV12()
261 uvoffset = strideDst * height; in copyCroppedNV12()
264 chromaDst = static_cast<unsigned char *>(bufferDst) + uvoffset; in copyCroppedNV12()
/hardware/ti/omap4-aah/camera/
DAppCallbackNotifier.cpp705 uint32_t offset, uvoffset; in copyCroppedNV12() local
718 uvoffset = (offset + size) * 2 / 3; in copyCroppedNV12()
720 uvoffset += (offset - (offset % stride)) / 2 + (offset % stride); in copyCroppedNV12()
725 unsigned const char *chroma = src + uvoffset; in copyCroppedNV12()