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

Fix critical LUt memory bug #766

Merged
merged 1 commit into from
Feb 11, 2024
Merged

Fix critical LUt memory bug #766

merged 1 commit into from
Feb 11, 2024

Conversation

awawa-dev
Copy link
Owner

@awawa-dev awawa-dev commented Feb 11, 2024

When loading the LUT, memory was unnecessarily allocated to the entire 144MB LUT file instead of the selected 48MB sub-table. The fix reduces HyperHDR memory consumption by 96MB if a LUT was used (including YUV to RGB conversion also in SDR, HDR tone mapping in USB grabbers or flatbuffers/protobuffers when full 144MB file LUT table was used)

@awawa-dev awawa-dev merged commit 9388d9a into master Feb 11, 2024
18 checks passed
@awawa-dev awawa-dev deleted the LUT_bug branch February 11, 2024 22:53
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