From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id A3CB943CF8 for ; Sun, 7 Aug 2022 22:26:34 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id AFAF968B703; Mon, 8 Aug 2022 01:26:30 +0300 (EEST) Received: from btbn.de (btbn.de [136.243.74.85]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 34564680134 for ; Mon, 8 Aug 2022 01:26:24 +0300 (EEST) Received: from [authenticated] by btbn.de (Postfix) with ESMTPSA id CB61D356DCF; Mon, 8 Aug 2022 00:26:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rothenpieler.org; s=mail; t=1659911183; bh=S09asHOenNEswCYTIMfs6QwbF8KRXaGppuyAEuWnXlo=; h=Date:Subject:To:References:From:In-Reply-To; b=KNIvQWfjp7KCGaSU5ebvaIFpCnseVpL0KD2bhbcKiRpTfWd5vglyJoYydkN+RpZIi cY3ha6GQuYIBnzuPXMFug1pH7ghwr0NPGqjE0MYDHMDA2dBfPuieqHvsnT3SNQKycY x3dXjVHeMQuHGuWMEEWQf3qRCUg2hThvzpKMaOzqvkzv3w07C3Uahfv2IM5FqnqVUq 6g5xOhgZ4Y1uOh8j06CwgK40xFrV/7/Y/AxFdceXGSTT+6Cnt98OJQO7AL4+QxPqn4 xATZ9V13K60JPVwriHaljwLdEtqY0AYF23FaZHSwegGb7lDQ/mSuL+BJrmQinua8mC 3e/OO7v8nHuag== Message-ID: <63410dff-97c5-abd7-3884-3b6d708cf3f4@rothenpieler.org> Date: Mon, 8 Aug 2022 00:26:23 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.1.1 Content-Language: en-US To: Thomas Volkert , FFmpeg development discussions and patches References: <20220807201423.9191-1-timo@rothenpieler.org> From: Timo Rothenpieler In-Reply-To: Subject: Re: [FFmpeg-devel] [PATCH] lavu/pixfmt: add packed RGBA float16 format X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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".