jpeg: mark default Huffman table as valid.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 18 Jun 2012 11:54:06 +0000 (13:54 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 18 Jun 2012 14:25:16 +0000 (16:25 +0200)
commit54b10025d4c153c5be2c9415975afd9f8798646e
tree2916fbe5b95295d68f2f3296eb323c85d3cd3350
parentda40f0857bb0f5f230456b3d3339a71cd3947a80
jpeg: mark default Huffman table as valid.

When no Huffman table is defined in the JPEG segments, then the default
Huffman tables are used, but values were not marked as valid. Fixed this
to notify HW decoder that it needs to load the default tables.

Note: this is not specifically needed to be handled at the application
level. The driver also ought to generate default tables, should the HW
decoder require so and no table was provided from the application.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
test/decode/tinyjpeg.c