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

Increase tolerance for linear_to_srgb_fast_arb. #82

Merged
merged 1 commit into from
Jan 1, 2025

Conversation

veluca93
Copy link
Member

@veluca93 veluca93 commented Jan 1, 2025

No description provided.

@veluca93 veluca93 requested a review from tirr-c January 1, 2025 00:33
Copy link
Collaborator

@tirr-c tirr-c left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe the comment in libjxl also needs to be updated?

@veluca93
Copy link
Member Author

veluca93 commented Jan 1, 2025

Maybe the comment in libjxl also needs to be updated?

@eustas can you double check that when we're back from holidays? :-)

@veluca93 veluca93 merged commit 6600b6b into libjxl:main Jan 1, 2025
7 checks passed
@@ -146,7 +146,7 @@ mod test {

linear_to_srgb(&mut samples);
linear_to_srgb_fast(&mut fast);
assert_all_almost_eq!(&samples, &fast, 1.2e-4);
assert_all_almost_eq!(&samples, &fast, 1.7e-4);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

23 times less than 1/255, so looks ok to me.

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.

3 participants