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 156014117F for ; Sun, 17 Apr 2022 12:55:09 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D507768B0C3; Sun, 17 Apr 2022 15:55:06 +0300 (EEST) Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0134568818E for ; Sun, 17 Apr 2022 15:55:00 +0300 (EEST) Received: from localhost (213-47-68-29.cable.dynamic.surfer.at [213.47.68.29]) (Authenticated sender: michael@niedermayer.cc) by mail.gandi.net (Postfix) with ESMTPSA id 15D17100003 for ; Sun, 17 Apr 2022 12:54:59 +0000 (UTC) Date: Sun, 17 Apr 2022 14:54:58 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20220417125458.GP2829255@pb2> References: <20220415095719.158785-1-onemda@gmail.com> MIME-Version: 1.0 In-Reply-To: <20220415095719.158785-1-onemda@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH] avformat/nut: add float pixel formats support 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-Type: multipart/mixed; boundary="===============2563294682884507446==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2563294682884507446== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="xwVicPVHTMxheq01" Content-Disposition: inline --xwVicPVHTMxheq01 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 15, 2022 at 11:57:19AM +0200, Paul B Mahol wrote: > Signed-off-by: Paul B Mahol > --- > libavcodec/raw.c | 9 +++++++++ > libavformat/nut.c | 9 +++++++++ > tests/ref/fate/filter-pixdesc-gbrapf32be | 2 +- > tests/ref/fate/filter-pixdesc-gbrapf32le | 2 +- > tests/ref/fate/filter-pixdesc-gbrpf32be | 2 +- > tests/ref/fate/filter-pixdesc-gbrpf32le | 2 +- > tests/ref/fate/filter-pixdesc-grayf32be | 2 +- > tests/ref/fate/filter-pixdesc-grayf32le | 2 +- > tests/ref/fate/filter-pixfmts-copy | 12 ++++++------ > tests/ref/fate/filter-pixfmts-crop | 12 ++++++------ > tests/ref/fate/filter-pixfmts-field | 12 ++++++------ > tests/ref/fate/filter-pixfmts-fieldorder | 12 ++++++------ > tests/ref/fate/filter-pixfmts-hflip | 12 ++++++------ > tests/ref/fate/filter-pixfmts-il | 12 ++++++------ > tests/ref/fate/filter-pixfmts-null | 12 ++++++------ > tests/ref/fate/filter-pixfmts-scale | 12 ++++++------ > tests/ref/fate/filter-pixfmts-transpose | 12 ++++++------ > tests/ref/fate/filter-pixfmts-vflip | 12 ++++++------ > 18 files changed, 84 insertions(+), 66 deletions(-) >=20 > diff --git a/libavcodec/raw.c b/libavcodec/raw.c > index a371bb36c4..2f23e8632d 100644 > --- a/libavcodec/raw.c > +++ b/libavcodec/raw.c > @@ -165,6 +165,9 @@ static const PixelFormatTag raw_pix_fmt_tags[] =3D { > { AV_PIX_FMT_YA8, MKTAG('Y', '2', 0 , 8 ) }, > { AV_PIX_FMT_PAL8, MKTAG('P', 'A', 'L', 8 ) }, > =20 > + { AV_PIX_FMT_GRAYF32LE, MKTAG('Y', '1', 0 , 32 ) }, > + { AV_PIX_FMT_GRAYF32BE, MKTAG(32 , 0 , '1', 'Y') }, I think it should be 33 =66rom nut4cc.txt "The fourth byte is the number of bits used (8, 16, ...). 33 implies 32bit IEEE floats (33 is used to leave 32 for integers)" thx =20 [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB It is a danger to trust the dream we wish for rather than the science we have, -- Dr. Kenneth Brown --xwVicPVHTMxheq01 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCYlwOHwAKCRBhHseHBAsP q6WpAKCQ/YrmvTjFPUdSxjIrVRIUJpqWLwCfR81vCw3sbRopyx5VaQHORDAzfUY= =lhdG -----END PGP SIGNATURE----- --xwVicPVHTMxheq01-- --===============2563294682884507446== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============2563294682884507446==--