TJBench: Code formatting tweaks
Spaces-->tab + remove stray control character that was introduced in
95e4cb2060
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
|
|
||||||
#define _throw(op, err) { \
|
#define _throw(op, err) { \
|
||||||
printf("ERROR in line %d while %s:\n%s\n", __LINE__, op, err); \
|
printf("ERROR in line %d while %s:\n%s\n", __LINE__, op, err); \
|
||||||
retval=-1; goto bailout;}
|
retval=-1; goto bailout;}
|
||||||
#define _throwunix(m) _throw(m, strerror(errno))
|
#define _throwunix(m) _throw(m, strerror(errno))
|
||||||
#define _throwtj(m) _throw(m, tjGetErrorStr())
|
#define _throwtj(m) _throw(m, tjGetErrorStr())
|
||||||
#define _throwbmp(m) _throw(m, bmpgeterr())
|
#define _throwbmp(m) _throw(m, bmpgeterr())
|
||||||
@@ -207,7 +207,7 @@ int decomp(unsigned char *srcbuf, unsigned char **jpegbuf,
|
|||||||
(double)(w*h)/1000000.*(double)iter/elapsed);
|
(double)(w*h)/1000000.*(double)iter/elapsed);
|
||||||
if(doyuv)
|
if(doyuv)
|
||||||
{
|
{
|
||||||
printf("YUV Decode --> Frame rate: %f fps\n",
|
printf("YUV Decode --> Frame rate: %f fps\n",
|
||||||
(double)iter/elapsedDecode);
|
(double)iter/elapsedDecode);
|
||||||
printf(" Throughput: %f Megapixels/sec\n",
|
printf(" Throughput: %f Megapixels/sec\n",
|
||||||
(double)(w*h)/1000000.*(double)iter/elapsedDecode);
|
(double)(w*h)/1000000.*(double)iter/elapsedDecode);
|
||||||
|
|||||||
Reference in New Issue
Block a user