Skip to content

Initial JPEG XL decoder #755

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

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

kmilos
Copy link
Collaborator

@kmilos kmilos commented Oct 11, 2024

Refs. #516

This is just a basic POC, largely based around the darktable imageio_jxl reader.


if (status == JXL_DEC_NEED_IMAGE_OUT_BUFFER) {
size_t size =
basicinfo.xsize * basicinfo.ysize * basicinfo.num_color_channels;

Check warning

Code scanning / CodeChecker

The left operand of '*' is a garbage value Warning

The left operand of '*' is a garbage value
JxlDecoderDestroy(decoder);

const Array2DRef<uint16_t> tmp(complete_buffer.data(),
basicinfo.num_color_channels * basicinfo.xsize,

Check warning

Code scanning / CodeChecker

The left operand of '*' is a garbage value Warning

The left operand of '*' is a garbage value
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