Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary rate distortion calculations #479

Closed
gcode-importer opened this issue Mar 11, 2015 · 1 comment
Closed

Unnecessary rate distortion calculations #479

gcode-importer opened this issue Mar 11, 2015 · 1 comment

Comments

@gcode-importer
Copy link

Originally reported on Google Code with ID 479

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.



Reported by boxerab on 2015-03-11 00:38:50

@boxerab
Copy link
Contributor

boxerab commented Jul 3, 2015

Fixed by commit c9e2315

Please close this issue.

@detonin detonin closed this as completed Jul 3, 2015
@mayeut mayeut added enhancement and removed bug labels Sep 6, 2015
@mayeut mayeut added this to the OPJ v2.1.1 milestone Sep 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants