-
Notifications
You must be signed in to change notification settings - Fork 122
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
base: develop
Are you sure you want to change the base?
Conversation
0723adc
to
2610804
Compare
|
||
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
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
The proposed diff is not cd <path/to/repo/checkout> # NOTE: use your own path here
unzip clang-format.patch.zip
git stash # Temporairly stash away any preexisting diff
git apply clang-format.patch # Apply the diff
git add -u # Stage changed files
git commit -m "Applying clang-format" # Commit the patch
git push
git stash pop # Unstast preexisting diff
rm clang-format.patch.zip clang-format.patch |
Refs. #516
This is just a basic POC, largely based around the darktable imageio_jxl reader.