Lines Matching refs:_tmpbuf
719 JSAMPLE *_tmpbuf[MAX_COMPONENTS], *_tmpbuf2[MAX_COMPONENTS]; in tjEncodeYUVPlanes() local
730 tmpbuf[i] = NULL; _tmpbuf[i] = NULL; in tjEncodeYUVPlanes()
793 _tmpbuf[i] = (JSAMPLE *)malloc( in tjEncodeYUVPlanes()
797 if (!_tmpbuf[i]) in tjEncodeYUVPlanes()
805 (unsigned char *)PAD((size_t)_tmpbuf[i], 32); in tjEncodeYUVPlanes()
861 if (_tmpbuf[i] != NULL) free(_tmpbuf[i]); in tjEncodeYUVPlanes()
939 JSAMPLE *_tmpbuf = NULL, *ptr; in tjCompressFromYUVPlanes() local
1004 if ((_tmpbuf = (JSAMPLE *)malloc(sizeof(JSAMPLE) * tmpbufsize)) == NULL) in tjCompressFromYUVPlanes()
1006 ptr = _tmpbuf; in tjCompressFromYUVPlanes()
1057 if (_tmpbuf) free(_tmpbuf); in tjCompressFromYUVPlanes()
1381 JSAMPLE *_tmpbuf[MAX_COMPONENTS]; in tjDecodeYUVPlanes() local
1393 tmpbuf[i] = NULL; _tmpbuf[i] = NULL; inbuf[i] = NULL; in tjDecodeYUVPlanes()
1460 _tmpbuf[i] = in tjDecodeYUVPlanes()
1463 if (!_tmpbuf[i]) in tjDecodeYUVPlanes()
1470 (unsigned char *)PAD((size_t)_tmpbuf[i], 32); in tjDecodeYUVPlanes()
1511 if (_tmpbuf[i] != NULL) free(_tmpbuf[i]); in tjDecodeYUVPlanes()
1568 JSAMPLE *_tmpbuf = NULL, *ptr; in tjDecompressToYUVPlanes() local
1653 if ((_tmpbuf = (JSAMPLE *)malloc(sizeof(JSAMPLE) * tmpbufsize)) == NULL) in tjDecompressToYUVPlanes()
1655 ptr = _tmpbuf; in tjDecompressToYUVPlanes()
1725 if (_tmpbuf) free(_tmpbuf); in tjDecompressToYUVPlanes()