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

BC4/5 fixes and performance improvements #18

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Commits on Sep 4, 2022

  1. BC4/5 fixes and performance improvements

    This fixes richgel999#17 but goes further, since it provides higher accuracy for other blocks with few values. Two value blocks are special-cased to use the two endpoints. An early out is taken when the error reaches zero.
    cwoffenden committed Sep 4, 2022
    Configuration menu
    Copy the full SHA
    457c74f View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2022

  1. Values expanded to 14-bit (to accumulated worse-case error)

    As 16-bit we couldn't accumulate the worst-case error without overflowing. Also fixed a bug whereby the values6 were truncated to 8-bit, therefore mostly favouring values8. The return from encode_bc4_hq() is now scaled to the same range from before the changes.
    cwoffenden committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    c07f344 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    72b8ea0 View commit details
    Browse the repository at this point in the history
  3. Match original style

    cwoffenden committed Sep 5, 2022
    Configuration menu
    Copy the full SHA
    280fe72 View commit details
    Browse the repository at this point in the history