On Sat, Jul 05, 2025 at 06:20:50PM +0000, Sarthak Indurkhya via ffmpeg-devel wrote: > Date: Sat, 5 Jul 2025 18:20:50 +0000 > From: Sarthak Indurkhya > To: "ffmpeg-devel@ffmpeg.org" > Subject: [PATCH] avfilter: add inverse tone mapping > > Hello FFmpeg developers, > This patch introduces a new video filter called inversetonemap for FFmpeg. > The filter performs SDR to HDR conversion by mapping SDR BT.709 video to HDR BT.2020 PQ, using local adaptation and inverse tone mapping. The goal is to provide a simple, flexible tool for upconverting SDR content for HDR displays, with local adaptation, tone curve sensitivity, and chroma processing. > > Please review. > Thanks, > Sarthak > > -- > > From f563ee1ad93511dfe7dd252578d7801e0cbbe968 Mon Sep 17 00:00:00 2001 > From: Sarthak Indurkhya sarthak@Sarthaks-MacBook-Pro.local > Date: Sat, 5 Jul 2025 22:33:46 +0530 > Subject: [PATCH] avfilter: add inversetonemap filter > > This filter performs inverse tone mapping from SDR to HDR using local adaptation and PQ mapping. > > - Added inversetonemap video filter for SDR to HDR conversion. > --- > Changelog | 1 + > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_inversetonemap.c | 98 ++++++++++++++++----------------- > 4 files changed, 51 insertions(+), 50 deletions(-) > > diff --git a/Changelog b/Changelog > index 81e2cc813f..0aecf6dbf1 100644 > --- a/Changelog > +++ b/Changelog > @@ -2,6 +2,7 @@ Entries are sorted chronologically from oldest to youngest within each release, > releases are sorted from youngest to oldest. > version : This patch is corrupted by line breaks please make sure your MUA doesnt break long lines or attach the patch or use git send-email thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Old school: Use the lowest level language in which you can solve the problem conveniently. New school: Use the highest level language in which the latest supercomputer can solve the problem without the user falling asleep waiting.