Home
last modified time | relevance | path

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

/packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
DImageUtils.cpp370 YUVinfo *yuv = (YUVinfo *) calloc(sizeof(YUVinfo), 1); in allocateImage() local
371 if (yuv) { in allocateImage()
372 yuv->Y.width = yuv->Y.pitch = width; in allocateImage()
373 yuv->Y.height = height; in allocateImage()
374 yuv->Y.border = yuv->U.border = yuv->V.border = (unsigned short) 0; in allocateImage()
375 yuv->U.width = yuv->U.pitch = yuv->V.width = yuv->V.pitch = widthUV; in allocateImage()
376 yuv->U.height = yuv->V.height = heightUV; in allocateImage()
386 yuv->Y.ptr = y; in allocateImage()
387 yuv->V.ptr = &y[height]; in allocateImage()
388 yuv->U.ptr = &y[height + heightUV]; in allocateImage()
[all …]