diff options
author | Leo Izen <leo.izen@gmail.com> | 2022-10-02 03:58:34 -0400 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-10-11 16:31:15 -0300 |
commit | 479747645f795b6f4f376578ea1556409f943c31 (patch) | |
tree | 4a2acebae9580926614649f750f24378a7295292 /libavutil | |
parent | 504fbc21491516faded95851bbe1c21a942dc64d (diff) | |
download | ffmpeg-479747645f795b6f4f376578ea1556409f943c31.tar.gz |
avutil/pixfmt.h: add native-endian RGB32F and RGBA32F formats
Add an AV_PIX_FMT_NE macro for RGB32FBE/RGB32FLE and also one for
RGBA32FBE/RGBA32FLE for packed 32-bit float RGB samples, and also
packed 32-bit float RGBA samples, respectively.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Leo Izen <leo.izen@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/pixfmt.h | 3 | ||||
-rw-r--r-- | libavutil/version.h | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index f8b3c0514f..224670a731 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -495,6 +495,9 @@ enum AVPixelFormat { #define AV_PIX_FMT_RGBAF16 AV_PIX_FMT_NE(RGBAF16BE, RGBAF16LE) +#define AV_PIX_FMT_RGBF32 AV_PIX_FMT_NE(RGBF32BE, RGBF32LE) +#define AV_PIX_FMT_RGBAF32 AV_PIX_FMT_NE(RGBAF32BE, RGBAF32LE) + /** * Chromaticity coordinates of the source primaries. * These values match the ones defined by ISO/IEC 23091-2_2019 subclause 8.1 and ITU-T H.273. diff --git a/libavutil/version.h b/libavutil/version.h index 5f4d890499..cb0c928bd0 100644 --- a/libavutil/version.h +++ b/libavutil/version.h @@ -80,7 +80,7 @@ #define LIBAVUTIL_VERSION_MAJOR 57 #define LIBAVUTIL_VERSION_MINOR 39 -#define LIBAVUTIL_VERSION_MICRO 100 +#define LIBAVUTIL_VERSION_MICRO 101 #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ LIBAVUTIL_VERSION_MINOR, \ |