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

Adding support for NLT marker segment of type 3 #154

Merged
merged 20 commits into from
Sep 22, 2024
Merged

Adding support for NLT marker segment of type 3 #154

merged 20 commits into from
Sep 22, 2024

Conversation

aous72
Copy link
Owner

@aous72 aous72 commented Sep 17, 2024

This is to support NLT marker segment of type 3.

This should enable lossless compression of 16-bit floating point data, or 32-bit floating data that has been truncated to, say, 24-bits.
To support lossless compression of 32-bit float, we need a 64-bit data path, which is possible for a later point in time.

The code has been written for library, but is yet to be debugged.

I also need to expose this feature in ojph_compress and ojph_expand, which I have not done yet.

The pull request also changes the number of bits needed for lossless compression of data as in commit 5d888b5, but this unlikely to be noticed by anyone.

@aous72 aous72 changed the title Adding nlt Adding support for NLT marker segment of type 3 Sep 17, 2024
src/core/codestream/ojph_params.cpp Fixed Show fixed Hide fixed
src/core/codestream/ojph_params.cpp Fixed Show fixed Hide fixed
src/core/codestream/ojph_params.cpp Fixed Show fixed Hide fixed
src/apps/others/ojph_img_io.cpp Fixed Show fixed Hide fixed
src/apps/others/ojph_img_io.cpp Fixed Show fixed Hide fixed
src/apps/others/ojph_img_io.cpp Fixed Show fixed Hide fixed
src/apps/others/ojph_img_io.cpp Fixed Show fixed Hide fixed
src/apps/others/ojph_img_io.cpp Fixed Show fixed Hide fixed
src/apps/others/ojph_img_io.cpp Fixed Show fixed Hide fixed
src/apps/others/ojph_img_io.cpp Fixed Show fixed Hide fixed
src/apps/others/ojph_img_io.cpp Fixed Show fixed Hide fixed
src/apps/others/ojph_img_io.cpp Fixed Show fixed Hide fixed
@aous72 aous72 merged commit f9fdf80 into master Sep 22, 2024
9 checks passed
@aous72 aous72 deleted the Adding_NLT branch September 22, 2024 04:45
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.

1 participant