diff options
author | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2010-11-23 05:49:54 +0000 |
---|---|---|
committer | dcommander <dcommander@3789f03b-4d11-0410-bbf8-ca57d06f2519> | 2010-11-23 05:49:54 +0000 |
commit | c0b0d27a4200e7be2f880aa38e48a785775a5f28 (patch) | |
tree | a2df80779541d7c9d674954ccb96b3e2b5ba857a /trunk/jmorecfg.h | |
parent | 4f072976b4547d7bc1cd08b2d5897f006e2788a9 (diff) |
Support arithmetic encoding and decoding
git-svn-id: https://libjpeg-turbo.svn.sourceforge.net/svnroot/libjpeg-turbo@299 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'trunk/jmorecfg.h')
-rw-r--r-- | trunk/jmorecfg.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/trunk/jmorecfg.h b/trunk/jmorecfg.h index 0e7fb72..9ab2a90 100644 --- a/trunk/jmorecfg.h +++ b/trunk/jmorecfg.h @@ -257,8 +257,6 @@ typedef int boolean; * (You may HAVE to do that if your compiler doesn't like null source files.) */ -/* Arithmetic coding is unsupported for legal reasons. Complaints to IBM. */ - /* Capability options common to encoder and decoder: */ #define DCT_ISLOW_SUPPORTED /* slow but accurate integer algorithm */ @@ -267,7 +265,7 @@ typedef int boolean; /* Encoder capability options: */ -#undef C_ARITH_CODING_SUPPORTED /* Arithmetic coding back end? */ +#define C_ARITH_CODING_SUPPORTED /* Arithmetic coding back end? */ #define C_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */ #define C_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/ #define ENTROPY_OPT_SUPPORTED /* Optimization of entropy coding parms? */ @@ -283,7 +281,7 @@ typedef int boolean; /* Decoder capability options: */ -#undef D_ARITH_CODING_SUPPORTED /* Arithmetic coding back end? */ +#define D_ARITH_CODING_SUPPORTED /* Arithmetic coding back end? */ #define D_MULTISCAN_FILES_SUPPORTED /* Multiple-scan JPEG files? */ #define D_PROGRESSIVE_SUPPORTED /* Progressive JPEG? (Requires MULTISCAN)*/ #define SAVE_MARKERS_SUPPORTED /* jpeg_save_markers() needed? */ |