Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dtjbench.c182 unsigned long yuvSize = tjBufSizeYUV2(width, yuvPad, height, subsamp); in decomp() local
184 if (yuvSize == (unsigned long)-1) in decomp()
186 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in decomp()
188 memset(yuvBuf, 127, yuvSize); in decomp()
329 unsigned long *jpegSize = NULL, yuvSize = 0; in fullTest() local
381 yuvSize = tjBufSizeYUV2(tilew, yuvPad, tileh, subsamp); in fullTest()
382 if (yuvSize == (unsigned long)-1) in fullTest()
384 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in fullTest()
386 memset(yuvBuf, 127, yuvSize); in fullTest()
460 yuvSize); in fullTest()
[all …]
Dtjunittest.c392 unsigned long yuvSize = tjBufSizeYUV2(w, pad, h, subsamp); in compTest() local
398 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in compTest()
400 memset(yuvBuf, 0, yuvSize); in compTest()
454 unsigned long yuvSize = tjBufSizeYUV2(scaledWidth, pad, scaledHeight, in _decompTest() local
460 if ((yuvBuf = (unsigned char *)malloc(yuvSize)) == NULL) in _decompTest()
462 memset(yuvBuf, 0, yuvSize); in _decompTest()
/external/webrtc/sdk/android/tests/src/org/webrtc/
DFakeMediaCodecWrapper.java186 final int yuvSize = width * height * 3 / 2; in configure() local
193 inputBufferSize = colorFormat == CodecCapabilities.COLOR_FormatSurface ? 0 : yuvSize; in configure()
197 outputBufferSize = surface != null ? 0 : yuvSize; in configure()