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

Use long long int and double to avoid overflow #4

Merged
merged 5 commits into from
Jul 1, 2020
Merged

Use long long int and double to avoid overflow #4

merged 5 commits into from
Jul 1, 2020

Conversation

Kiyamou
Copy link
Owner

@Kiyamou Kiyamou commented Jul 1, 2020

It will overflow for high bit depth when NFTrsEstimationColor() calculates pixel loss, which causes output is black (#2) for high bit depth.

@Kiyamou Kiyamou merged commit fbe0502 into master Jul 1, 2020
@Kiyamou Kiyamou deleted the dev branch July 1, 2020 16:05
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