diff options
author | Alex Naidis <alex.naidis@linux.com> | 2016-10-18 15:18:47 +0200 |
---|---|---|
committer | Alex Naidis <alex.naidis@linux.com> | 2017-01-17 17:54:23 +0000 |
commit | 9004320383401ad12a0fe2186c46279631f42df6 (patch) | |
tree | 3ea6b2348904792872752ed4d19354342faecbbe | |
parent | 0ce519cbf5448782cbe859c4dcf4606b0218ef51 (diff) | |
download | libjpeg-turbo-o-preview.tar.gz |
Enable Arithmetic Encoding/Decodingandroid-o-preview-1o-preview
This commit adds the needed files for the
Arithmetic Encoder/Decoder to compilation
and enables Arithmetic Encoding/Decoding support
in the proper configuration file.
Test: Displaying appropriate JPEG files.
Change-Id: I1745464a9af46ac8abfe6722f666589cb82ef59d
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
-rw-r--r-- | Android.bp | 3 | ||||
-rw-r--r-- | jconfig.h | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -12,6 +12,8 @@ cc_defaults { srcs: [ "jcapimin.c", "jcapistd.c", + "jaricom.c", + "jcarith.c", "jccoefct.c", "jccolor.c", "jcdctmgr.c", @@ -28,6 +30,7 @@ cc_defaults { "jctrans.c", "jdapimin.c", "jdapistd.c", + "jdarith.c", "jdatadst.c", "jdatasrc.c", "jdcoefct.c", @@ -11,10 +11,10 @@ #define LIBJPEG_TURBO_VERSION_NUMBER 1005001 /* Support arithmetic encoding */ -/* #undef C_ARITH_CODING_SUPPORTED */ +#define C_ARITH_CODING_SUPPORTED 1 /* Support arithmetic decoding */ -/* #undef D_ARITH_CODING_SUPPORTED */ +#define D_ARITH_CODING_SUPPORTED 1 /* * Define BITS_IN_JSAMPLE as either |