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

add support for configuring min/max content boost #244

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

ram-mohan
Copy link
Contributor

The min/max content boost for different encoding presets are computed internally basing on the input hdr and sdr intents. This change introduces an API to configure the values from the app side. If the library during its computations observes a small min-max range, then client recommendation is ignored. Otherwise, the configured values are selected.

fixes #160

Test: ./ultrahdr_app -k 0.01 -K 8.0

@ram-mohan ram-mohan force-pushed the minmaxboost branch 2 times, most recently from a267d3b to 6adb18e Compare August 27, 2024 01:02
The min/max content boost for different encoding presets are computed
internally basing on the input hdr and sdr intents. This change
introduces an API to configure the values from the app side. If the
library during its computations observes a small min-max range, then
client recommendation is ignored. Otherwise, the configured values are
selected.

fixes google#160

Test: ./ultrahdr_app <options> -k 0.01 -K 8.0
@DichenZhang1 DichenZhang1 merged commit 390f2f1 into google:main Aug 27, 2024
1 check passed
@ram-mohan ram-mohan deleted the minmaxboost branch August 27, 2024 06:26
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.

2 participants