Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
* [FFmpeg-devel] [PATCH] avfilter: add inverse tone mapping filter
@ 2025-06-30  9:44 Sarthak Indurkhya via ffmpeg-devel
  2025-06-30 14:05 ` Kacper Michajlow
  0 siblings, 1 reply; 2+ messages in thread
From: Sarthak Indurkhya via ffmpeg-devel @ 2025-06-30  9:44 UTC (permalink / raw)
  To: ffmpeg-devel; +Cc: Sarthak Indurkhya

[-- 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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [FFmpeg-devel] [PATCH] avfilter: add inverse tone mapping filter
  2025-06-30  9:44 [FFmpeg-devel] [PATCH] avfilter: add inverse tone mapping filter Sarthak Indurkhya via ffmpeg-devel
@ 2025-06-30 14:05 ` Kacper Michajlow
  0 siblings, 0 replies; 2+ messages in thread
From: Kacper Michajlow @ 2025-06-30 14:05 UTC (permalink / raw)
  To: FFmpeg development discussions and patches; +Cc: Sarthak Indurkhya

On Mon, 30 Jun 2025 at 11:45, Sarthak Indurkhya via ffmpeg-devel
<ffmpeg-devel@ffmpeg.org> wrote:
>
>
>
>
> ---------- Forwarded message ----------
> From: Sarthak Indurkhya <sindurkhya@adobe.com>
> To: "ffmpeg-devel@ffmpeg.org" <ffmpeg-devel@ffmpeg.org>
> Cc:
> Bcc:
> Date: Mon, 30 Jun 2025 09:44:54 +0000
> Subject: [PATCH] avfilter: add inverse tone mapping filter
> 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.

It is not. It's on the sharepoint and we don't have access to this
file. Please attach patches as an attachment or plain text.

- Kacper

> 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>
>
>
>
> ---------- Forwarded message ----------
> 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>
> Bcc:
> Date: Mon, 30 Jun 2025 09:44:54 +0000
> Subject: [FFmpeg-devel] [PATCH] avfilter: add inverse tone mapping filter
> _______________________________________________
> 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".
_______________________________________________
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".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-30 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-30  9:44 [FFmpeg-devel] [PATCH] avfilter: add inverse tone mapping filter Sarthak Indurkhya via ffmpeg-devel
2025-06-30 14:05 ` Kacper Michajlow

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