Support arithmetic encoding and decoding

git-svn-id: svn+ssh://svn.code.sf.net/p/libjpeg-turbo/code/trunk@299 632fc199-4ca6-4c93-a231-07263d6284db
This commit is contained in:
DRC
2010-11-23 05:49:54 +00:00
24 changed files with 1953 additions and 80 deletions

View File

@@ -93,7 +93,6 @@ JPEG processes are supported. (Our subset includes all features now in common
use.) Unsupported ISO options include:
* Hierarchical storage
* Lossless JPEG
* Arithmetic entropy coding (unsupported for legal reasons)
* DNL marker
* Nonintegral subsampling ratios
We support both 8- and 12-bit data precision, but this is a compile-time
@@ -1023,11 +1022,6 @@ JDIMENSION jpeg_width Actual dimensions of output image.
JDIMENSION jpeg_height
There are some additional cinfo fields which are not documented here
because you currently can't change them; for example, you can't set
arith_code TRUE because arithmetic coding is unsupported.
Per-component parameters are stored in the struct cinfo.comp_info[i] for
component number i. Note that components here refer to components of the
JPEG color space, *not* the source image color space. A suitably large