On Sun, Oct 13, 2024 at 08:03:56PM +0200, Martin Schitter wrote: > --- > libavutil/pixdesc.c | 25 +++++++++++++++++++++++++ > libavutil/pixfmt.h | 4 ++++ > libavutil/version.h | 2 +- > tests/ref/fate/imgutils | 4 ++++ > tests/ref/fate/sws-pixdesc-query | 11 +++++++++++ > 5 files changed, 45 insertions(+), 1 deletion(-) > [...] > diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h > index 3caa183..4efc4cb 100644 > --- a/libavutil/pixfmt.h > +++ b/libavutil/pixfmt.h > @@ -400,6 +400,9 @@ enum AVPixelFormat { > > AV_PIX_FMT_VUYA, ///< packed VUYA 4:4:4:4, 32bpp (1 Cr & Cb > sample per 1x1 Y & A samples), VUYAVUYA... > > + AV_PIX_FMT_RGBF16BE, ///< IEEE-754 half precision packed RGB > 16:16:16, 48bpp, RGBRGB..., big-endian > + AV_PIX_FMT_RGBF16LE, ///< IEEE-754 half precision packed RGB > 16:16:16, 48bpp, RGBRGB..., little-endian > + > AV_PIX_FMT_RGBAF16BE, ///< IEEE-754 half precision packed RGBA > 16:16:16:16, 64bpp, RGBARGBA..., big-endian > AV_PIX_FMT_RGBAF16LE, ///< IEEE-754 half precision packed RGBA > 16:16:16:16, 64bpp, RGBARGBA..., little-endian
this would change the values of AV_PIX_FMT_RGBAF16BE and later which would break ABI new values have to be added so nothing changes (that generally means adding them before AV_PIX_FMT_NB, but sometimes soms enums have fixed entries before which additions are possible) thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Awnsering whenever a program halts or runs forever is On a turing machine, in general impossible (turings halting problem). On any real computer, always possible as a real computer has a finite number of states N, and will either halt in less than N cycles or never halt.
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".