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

Michael Niedermayer michael at niedermayer.cc
Wed Dec 11 02:53:38 EET 2024


Hi

On Fri, Dec 06, 2024 at 03:32:04PM +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(+)

probably ok

thx

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

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- 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/20241211/6c9d495e/attachment.sig>


More information about the ffmpeg-devel mailing list