Remove unneeded/unused code
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1169 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -79,7 +79,6 @@ const int _4byteFormats[]={TJPF_RGBX, TJPF_BGRX, TJPF_XBGR, TJPF_XRGB,
|
|||||||
const int _onlyGray[]={TJPF_GRAY};
|
const int _onlyGray[]={TJPF_GRAY};
|
||||||
const int _onlyRGB[]={TJPF_RGB};
|
const int _onlyRGB[]={TJPF_RGB};
|
||||||
|
|
||||||
enum {YUVENCODE=1, YUVDECODE};
|
|
||||||
int doyuv=0, alloc=0, pad=4;
|
int doyuv=0, alloc=0, pad=4;
|
||||||
|
|
||||||
int exitStatus=0;
|
int exitStatus=0;
|
||||||
@@ -425,9 +424,6 @@ void compTest(tjhandle handle, unsigned char **dstBuf,
|
|||||||
_tj(tjEncodeYUV3(handle2, srcBuf, w, 0, h, pf, yuvBuf, pad, subsamp,
|
_tj(tjEncodeYUV3(handle2, srcBuf, w, 0, h, pf, yuvBuf, pad, subsamp,
|
||||||
flags));
|
flags));
|
||||||
tjDestroy(handle2);
|
tjDestroy(handle2);
|
||||||
snprintf(tempStr, 1024, "%s_enc_%s_%s_%s.yuv", basename, pfStr, buStr,
|
|
||||||
subName[subsamp]);
|
|
||||||
writeJPEG(yuvBuf, yuvSize, tempStr);
|
|
||||||
if(checkBufYUV(yuvBuf, w, h, subsamp, sf)) printf("Passed.\n");
|
if(checkBufYUV(yuvBuf, w, h, subsamp, sf)) printf("Passed.\n");
|
||||||
else printf("FAILED!\n");
|
else printf("FAILED!\n");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user