diff options
author | Niklas Haas <git@haasn.dev> | 2024-11-30 14:50:36 +0100 |
---|---|---|
committer | Niklas Haas <git@haasn.dev> | 2024-12-23 12:33:43 +0100 |
commit | 9084d581e8e5196b661d2841b45a9e773a1378a4 (patch) | |
tree | a5d22dc2e73052ffc209822153eaafb6abc17fb0 /doc/APIchanges | |
parent | 7432fa19cdd014bcc120eb8e403ceb301bb5d0d2 (diff) | |
download | ffmpeg-9084d581e8e5196b661d2841b45a9e773a1378a4.tar.gz |
swscale/utils: read dynamic HDR10+ metadata from AVFrame
Logic ported from libplacebo's AVFrame helpers. The basic idea is to use the
provided MaxRGB/MaxSCL values to infer what the actual luminance would have
been, which HDR10+ metadata does not provide directly. It's worth pointing out
that this gives us an *upper* bound on the true maximum luminance, so any
error in the estimation cannot result in clipping.
Diffstat (limited to 'doc/APIchanges')
0 files changed, 0 insertions, 0 deletions