Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dtjbench.c178 unsigned long yuvSize = tjBufSizeYUV2(width, yuvPad, height, subsamp); in decomp() local
180 if (yuvSize == (unsigned long)-1) in decomp()
182 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in decomp()
184 memset(yuvBuf, 127, yuvSize); in decomp()
323 unsigned long *jpegSize = NULL, yuvSize = 0; in fullTest() local
375 yuvSize = tjBufSizeYUV2(tilew, yuvPad, tileh, subsamp); in fullTest()
376 if (yuvSize == (unsigned long)-1) in fullTest()
378 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in fullTest()
380 memset(yuvBuf, 127, yuvSize); in fullTest()
452 printf(" Output image size: %lu bytes\n", yuvSize); in fullTest()
[all …]
Dtjunittest.c378 unsigned long yuvSize = tjBufSizeYUV2(w, pad, h, subsamp); in compTest() local
384 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in compTest()
386 memset(yuvBuf, 0, yuvSize); in compTest()
438 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest() local
444 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in _decompTest()
446 memset(yuvBuf, 0, yuvSize); in _decompTest()