8000 jpeg: port LLM IDCT from stb_image by stone-d-chen · Pull Request #232 · zigimg/zigimg · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jpeg: port LLM IDCT from stb_image #232

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

Merged
merged 3 commits into from
Feb 25, 2025
Merged

Conversation

stone-d-chen
Copy link
Contributor

Ports stb_images LLM IDCT implementation which is based off of Practical fast 1-D DCT algorithms with 11 multiplications and named after its authors.

Results in ~20% speed increase in IDCT (1-2% overall)

Ports stb_images LLM IDCT implementation which is based off of `Practical fast 1-D DCT algorithms with 11 multiplications` and named after its authors.

Results in ~20% speed increase in IDCT (1-2% overall).

This also makes it easier to use simd implementations.

Also fixes jpeg_test pixel values due to rounding changes.
If we've checked fast_bits, then we only need to check the lengths that are greater than fast_bits.

Improves overall decode performance by ~ 1.5%
@mlarouche mlarouche merged commit efe99b6 into zigimg:master Feb 25, 2025
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants
0