ylb11 / openjpeg

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

Unnecessary rate distortion calculations #479

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
opj_t1_getnmsedec_sig() method is passed  (bitpos + T1_NMSEDEC_FRACBITS)
and then uses (bitpos - T1_NMSEDEC_FRACBITS) in its computations.

No need to add, and then subtract, T1_NMSEDEC_FRACBITS.  

Likewise for opj_t1_getnmsedec_ref() method.

Original issue reported on code.google.com by boxe...@gmail.com on 11 Mar 2015 at 12:38