Oops. This code should not have been removed. It is necessary for generating the error images.
git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@1165 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
@@ -321,6 +321,8 @@ void fullTest(unsigned char *srcbuf, int w, int h, int subsamp, int jpegqual,
|
|||||||
if(quiet==1)
|
if(quiet==1)
|
||||||
printf("%-4s (%s) %-5s %-3d ", pfStr,
|
printf("%-4s (%s) %-5s %-3d ", pfStr,
|
||||||
(flags&TJFLAG_BOTTOMUP)? "BU":"TD", subNameLong[subsamp], jpegqual);
|
(flags&TJFLAG_BOTTOMUP)? "BU":"TD", subNameLong[subsamp], jpegqual);
|
||||||
|
for(i=0; i<h; i++)
|
||||||
|
memcpy(&tmpbuf[pitch*i], &srcbuf[w*ps*i], w*ps);
|
||||||
if((handle=tjInitCompress())==NULL)
|
if((handle=tjInitCompress())==NULL)
|
||||||
_throwtj("executing tjInitCompress()");
|
_throwtj("executing tjInitCompress()");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user