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(-) > > 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[] = { > { AV_PIX_FMT_YA8, MKTAG('Y', '2', 0 , 8 ) }, > { AV_PIX_FMT_PAL8, MKTAG('P', 'A', 'L', 8 ) }, > > + { AV_PIX_FMT_GRAYF32LE, MKTAG('Y', '1', 0 , 32 ) }, > + { AV_PIX_FMT_GRAYF32BE, MKTAG(32 , 0 , '1', 'Y') }, I think it should be 33 from 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 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB It is a danger to trust the dream we wish for rather than the science we have, -- Dr. Kenneth Brown