Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
libjpeg-turbo
/
c45653e471c496af8bf3c91c70c7ae4e207158c4
/
tjbench.c
c45653e
Fix a couple of issues with return value checking. JFREAD(), which wraps fread(), will never return -1. fread() will instead return 0 or a short object count if an error occurs, and ferror() will return 1 in that case. The second issue was that we were assigning the return value of ftell() to an unsigned long prior to checking the value, so the value would never be < 0 if an error occurred. It would instead be (unsigned long)-1.
by DRC
· 11 years ago
07796da
Add note regarding the fact that 4:4:0 lacks full SIMD support; Add an option for benchmarking 4:4:0 subsampling in tjbench.
by DRC
· 11 years ago
73d74c1
Add flags to the TurboJPEG API that allow the caller to force the use of either the fast or the accurate DCT/IDCT algorithms in the underlying codec.
by DRC
· 12 years ago
ffe4fc1
Fix the behavior of the alpha-enabled colorspace constants whenever libjpeg-turbo is built without SIMD support and merged upsampling is used.
by DRC
· 13 years ago
cac1051
Fix the behavior of the alpha-enabled colorspace constants whenever libjpeg-turbo is built without SIMD support and merged upsampling is used.
by DRC
· 13 years ago
ab2df6e
Expose new scaling factors in TurboJPEG API
by DRC
· 13 years ago
e006f5c
Oops. Height of output buffer should equal scaled height, not JPEG height.
by DRC
· 13 years ago
20c7dbc
Fix compiler warning
by DRC
· 13 years ago
f546711
Implement custom filter callback in Java
by DRC
· 13 years ago
57a3736
by DRC
· 13 years ago
7bf04d3
Implement a custom DCT filter callback for lossless transforms
by DRC
· 13 years ago
9b49f0e
Re-work TJBUFSIZE() to take into account the level of chrominance subsampling
by DRC
· 13 years ago
94f0e03
Oops. Add the already-advertised -bmp option
by DRC
· 13 years ago
b8b359a
"jpegut"="tjunittest" & "jpgtest"="tjbench"
by DRC
· 13 years ago