[FFmpeg-devel] [PATCH v2 05/17] swscale/utils: read dynamic HDR10+ metadata from AVFrame

Michael Niedermayer michael at niedermayer.cc
Thu Dec 19 18:02:55 EET 2024


On Mon, Dec 16, 2024 at 12:17:26PM +0100, Niklas Haas wrote:
> From: Niklas Haas <git at haasn.dev>
> 
> 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.
> ---
>  libswscale/utils.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 50 insertions(+)

still probably ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Elect your leaders based on what they did after the last election, not
based on what they say before an election.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241219/c5161181/attachment.sig>


More information about the ffmpeg-devel mailing list