Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Sarthak Indurkhya via ffmpeg-devel <ffmpeg-devel@ffmpeg.org>
To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org>
Cc: Sarthak Indurkhya <sindurkhya@adobe.com>
Subject: [FFmpeg-devel] [PATCH] avfilter: add inverse tone mapping filter
Date: Mon, 30 Jun 2025 09:44:54 +0000
Message-ID: <mailman.4779.1751276705.1384.ffmpeg-devel@ffmpeg.org> (raw)

[-- Attachment #1: Type: message/rfc822, Size: 11515 bytes --]

[-- Attachment #1.1.1: Type: text/plain, Size: 1556 bytes --]

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.

Patch summary:

  *   Implements local adaptation and inverse tone mapping for SDR-to-HDR conversion
  *   Performs gamma correction, color space transformation, and PQ encoding
  *   Supports configurable parameters: spatial sigma, range sigma, sensitivity exponent, HDR peak luminance
  *   Outputs 10-bit YUV420P10LE BT.2020 PQ with HDR metadata
  *   Includes local adaptation code, PQ transfer function, error diffusion dithering, and chroma recomputation

Commit message:
     avfilter: add inversetonemap filter
     This filter converts SDR BT.709 video to HDR BT.2020 PQ using local adaptation and inverse tone mapping. It supports user-configurable parameters for spatial/range sigma, tone mapping exponent, and HDR peak luminance.
     The filter performs gamma correction, color conversion, PQ encoding, and outputs YUV420P10LE with HDR metadata.

The patch file is attached to this email.
Best regards,
Sarthak
[?patch icon] 0002-avfilter-add-myfilter-filter.patch<https://adobe-my.sharepoint.com/:u:/p/sindurkhya/EbrQbZzcik9Eg7ywwTfQDN4BVRP4SavI-n_NXHBVs3ehog>

Get Outlook for Mac <https://aka.ms/GetOutlookForMac>

[-- Attachment #1.1.2: image001.png --]
[-- Type: image/png, Size: 419 bytes --]

[-- Attachment #2: Type: text/plain, Size: 251 bytes --]

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".

             reply	other threads:[~2025-06-30  9:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-30  9:44 Sarthak Indurkhya via ffmpeg-devel [this message]
2025-06-30 14:05 ` Kacper Michajlow

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=mailman.4779.1751276705.1384.ffmpeg-devel@ffmpeg.org \
    --to=ffmpeg-devel@ffmpeg.org \
    --cc=sindurkhya@adobe.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git