forked from haasn/libplacebo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils/libav: add
pl_map_hdr_metadata
This not only exposes the previous logic to users, but also adds support for AVDynamicHDRPlus. Use this function internally in place of the previous duplicated code, and also get rid of some sanity masking logic that was of dubious importance (especially now that `nominal_min/max` are decoupled from the HDR metadata). For HDR10, we only map the fields relevant/interesting for us, ignore the rest. (Which is also unused in practice)
- Loading branch information
Showing
3 changed files
with
119 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters