Repository navigation
Add optimization to LZ RDO backend - #784
Merged
Merged
Conversation
solidpixel
force-pushed
the
opt-lz-rdo
branch
3 times, most recently
from
November 17, 2026 14:11
6f68db0 to
f11091a
Compare
solidpixel
force-pushed
the
opt-lz-rdo
branch
from
November 17, 2026 14:43
f11091a to
16c7cea
Compare
Contributor
Author
|
@rygorous FYI, just in case it's useful if you are keeping your existing version internally. |
Contributor
|
Thanks! We fully plan on getting off having a custom fork entirely given the opportunity, you previously sounded kinda lukewarm on the earlier RDO patches so we figured we might have to, but if we can have this functionality (and with no API changes so it's not even any adaptation work for us!) in mainline astc-encoder we'd much rather stick with that :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change adds optimizations to the LZ RDO backend, keeping existing algorithm untouched. Main classes of change:
SIMD vectorization:
Caching:
Overall RDO encoding pass for the Kodak suite is about 30% faster for 4x4, 18% faster for 6x6. Should be bit exact.