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

reduce libjxl_dec binary size #2766

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jonsneyers
Copy link
Member

The code for separable 5x5 and 7x7 convolutions as well as Gaussian blurring is not used anywhere in the decoder, only in the encoder. This PR adjusts the build scripts accordingly so the decoder-only library libjxl_dec doesn't include unnecessary code.

On my x64 linux build, after stripping debug symbols, this reduces libjxl_dec.so from 1456 KB to 1251 KB.

@jonsneyers jonsneyers added decoder Related to the libjxl decoder building/portability Platform-specific issues, build issues labels Aug 31, 2023
@eustas
Copy link
Contributor

eustas commented Jan 10, 2024

Let's just rename files. That will be less surprising for future developers... I'll prepare a PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building/portability Platform-specific issues, build issues decoder Related to the libjxl decoder
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants