ylb11 / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

component precision upscaling isn't correct in opj_decompress #458

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
component precision upscaling is done by a simple shift.
This leads to undesirable results. e.g. 1 bit bit rescaling to 8 bits gets 0U 
=> 0U, 1U => 128U. instead of 1U => 255U.

Original issue reported on code.google.com by m.darb...@gmail.com on 22 Dec 2014 at 3:33

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r2981.

Original comment by m.darb...@gmail.com on 22 Dec 2014 at 3:47

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2982.

Original comment by m.darb...@gmail.com on 22 Dec 2014 at 3:50