On Mon, Oct 21, 2024 at 09:57:16PM +0200, Martin Schitter wrote: > --- > libavutil/pixdesc.c | 48 ++++++++++++++++ > libavutil/pixfmt.h | 6 ++ > libswscale/input.c | 99 ++++++++++++++++++++++++++++++++ > libswscale/utils.c | 4 ++ > tests/ref/fate/imgutils | 8 +++ > tests/ref/fate/sws-pixdesc-query | 14 +++++ > 6 files changed, 179 insertions(+) [...]
> diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h > index fde8dbb..67f568f 100644 > --- a/libavutil/pixfmt.h > +++ b/libavutil/pixfmt.h > @@ -460,9 +460,13 @@ enum AVPixelFormat { > AV_PIX_FMT_YUV444, ///< packed YUV 4:4:4, 24bpp (1 Cr & Cb sample > per 1x1 Y), YUVYUV... > AV_PIX_FMT_YUV444_16BE, ///< packed YUV 4:4:4, 48bpp (1 Cr & Cb sample > per 1x1 Y), YUVYUV..., big-endian > AV_PIX_FMT_YUV444_16LE, ///< packed YUV 4:4:4, 48bpp (1 Cr & Cb sample > per 1x1 Y), YUVYUV..., little-endian > + AV_PIX_FMT_YUV444F16BE, ///< IEEE-754 half precision packed YUV 4:4:4, > 48bpp (1 Cr & Cb sample per 1x1 Y), YUVYUV..., big-endian > + AV_PIX_FMT_YUV444F16LE, ///< IEEE-754 half precision packed YUV 4:4:4, > 48bpp (1 Cr & Cb sample per 1x1 Y), YUVYUV..., little-endian > > AV_PIX_FMT_UYVY422_16BE, ///< packed UYVU 4:2:2, 32bpp, Cb Y0 Cr Y1, > big-endian > AV_PIX_FMT_UYVY422_16LE, ///< packed UYVU 4:2:2, 32bpp, Cb Y0 Cr Y1, > little-endian adding them in the middle will change the numbers of the following and break ABI sadly you have to add them at the end thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB In a rich man's house there is no place to spit but his face. -- Diogenes of Sinope
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".