Lines Matching refs:yuvBuf
157 unsigned char *dstPtr, *dstPtr2, *yuvBuf = NULL; in decomp() local
186 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in decomp()
188 memset(yuvBuf, 127, yuvSize); in decomp()
208 if (tjDecompressToYUV2(handle, jpegBuf[tile], jpegSize[tile], yuvBuf, in decomp()
212 if (tjDecodeYUV(handle, yuvBuf, yuvPad, subsamp, dstPtr2, width, in decomp()
313 free(yuvBuf); in decomp()
324 unsigned char **jpegBuf = NULL, *yuvBuf = NULL, *tmpBuf = NULL, *srcPtr, in fullTest() local
384 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in fullTest()
386 memset(yuvBuf, 127, yuvSize); in fullTest()
407 if (tjEncodeYUV3(handle, srcPtr2, width, pitch, height, pf, yuvBuf, in fullTest()
411 if (tjCompressFromYUV(handle, yuvBuf, width, yuvPad, height, in fullTest()
509 free(yuvBuf); yuvBuf = NULL; in fullTest()
522 free(yuvBuf); in fullTest()