From: Timo Rothenpieler <timo@rothenpieler.org>
To: Thomas Volkert <silvo@gmx.net>,
FFmpeg development discussions and patches
<ffmpeg-devel@ffmpeg.org>
Subject: Re: [FFmpeg-devel] [PATCH] lavu/pixfmt: add packed RGBA float16 format
Date: Mon, 8 Aug 2022 00:26:23 +0200
Message-ID: <63410dff-97c5-abd7-3884-3b6d708cf3f4@rothenpieler.org> (raw)
In-Reply-To: <ebdb9a12-5a80-6714-172e-320fafd2d50a@gmx.net>
On 08.08.2022 00:25, Thomas Volkert wrote:
> Hi Timo,
>
>
> Am 07.08.2022 um 22:14 schrieb Timo Rothenpieler:
>> This is the default format of the Windows compositor and what DXGI
>> Desktop Duplication will give you for any kind of HDR output.
>> ---
>> libavutil/pixdesc.c | 28 ++++++++++++++++++++++++++++
>> libavutil/pixfmt.h | 5 +++++
>> libavutil/version.h | 4 ++--
>> tests/ref/fate/imgutils | 2 ++
>> tests/ref/fate/sws-pixdesc-query | 13 +++++++++++++
>> 5 files changed, 50 insertions(+), 2 deletions(-)
>>
>> diff --git a/libavutil/pixdesc.c b/libavutil/pixdesc.c
>> index e078fd5320..f7558ff8b9 100644
>> --- a/libavutil/pixdesc.c
>> +++ b/libavutil/pixdesc.c
>> @@ -2504,6 +2504,34 @@ static const AVPixFmtDescriptor av_pix_fmt_descriptors[AV_PIX_FMT_NB] = {
>> },
>> .flags = AV_PIX_FMT_FLAG_ALPHA,
>> },
>> + [AV_PIX_FMT_RGBAF16BE] = {
>> + .name = "rgbaf16be",
>> + .nb_components = 4,
>> + .log2_chroma_w = 0,
>> + .log2_chroma_h = 0,
>> + .comp = {
>> + { 0, 8, 0, 0, 16 }, /* R */
>> + { 0, 8, 2, 0, 16 }, /* G */
>> + { 0, 8, 4, 0, 16 }, /* B */
>> + { 0, 8, 6, 0, 16 }, /* A */
>> + },
>> + .flags = AV_PIX_FMT_FLAG_BE | AV_PIX_FMT_FLAG_RGB |
>> + AV_PIX_FMT_FLAG_ALPHA | AV_PIX_FMT_FLAG_FLOAT,
>> + },
>> + [AV_PIX_FMT_RGBAF16LE] = {
>> + .name = "rgbaf16le",
>> + .nb_components = 4,
>> + .log2_chroma_w = 0,
>> + .log2_chroma_h = 0,
>> + .comp = {
>> + { 0, 8, 0, 0, 16 }, /* R */
>> + { 0, 8, 2, 0, 16 }, /* G */
>> + { 0, 8, 4, 0, 16 }, /* B */
>> + { 0, 8, 6, 0, 16 }, /* A */
>> + },
>> + .flags = AV_PIX_FMT_FLAG_RGB | AV_PIX_FMT_FLAG_ALPHA |
>> + AV_PIX_FMT_FLAG_FLOAT,
>> + },
>> };
>
> [..]
>
>
> maybe I have missed something, but I wonder how this is different to
> AV_PIX_FMT_RGBA64LE and AV_PIX_FMT_RGBA64BE?
>
> BR, Thomas.
It's Float.
_______________________________________________
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".
next prev parent reply other threads:[~2022-08-07 22:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-07 20:14 Timo Rothenpieler
[not found] ` <ebdb9a12-5a80-6714-172e-320fafd2d50a@gmx.net>
2022-08-07 22:26 ` Timo Rothenpieler [this message]
2022-08-07 22:32 ` Thomas Volkert
2022-08-07 22:39 ` Thomas Volkert
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=63410dff-97c5-abd7-3884-3b6d708cf3f4@rothenpieler.org \
--to=timo@rothenpieler.org \
--cc=ffmpeg-devel@ffmpeg.org \
--cc=silvo@gmx.net \
/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