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

a bug about sserangecoding, in plugin.cc:ssercenc & ssercdec #45

Open
BeeBreeze opened this issue Apr 9, 2024 · 0 comments
Open

a bug about sserangecoding, in plugin.cc:ssercenc & ssercdec #45

BeeBreeze opened this issue Apr 9, 2024 · 0 comments

Comments

@BeeBreeze
Copy link

Test data: 0x0000
during encoding, the cum prob table is: 0, 2731
However, when decoding, the cum prob table is: 0, 4096 (because of scaled_cum_prob[a] = (1<<SSE_BITS))

Therefore, we should save the whole cum prob table and read it back when decoding, i.e.,
plugin.cc:891, useless now
plugin.cc:906, i < a + 1
plugin.cc:921, i < a + 1
plugin.cc:922, delete.

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant