Message ID | 20221002075835.415465-2-leo.izen@gmail.com |
---|---|
State | New |
Headers | show |
Series | RGB(A)32F in libjxl | expand |
Context | Check | Description |
---|---|---|
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
On Sun, Oct 02, 2022 at 03:58:34AM -0400, Leo Izen wrote: > 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. > > Signed-off-by: Leo Izen <leo.izen@gmail.com> > --- > libavutil/pixfmt.h | 3 +++ > 1 file changed, 3 insertions(+) should be ok thx [...]
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.
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. Signed-off-by: Leo Izen <leo.izen@gmail.com> --- libavutil/pixfmt.h | 3 +++ 1 file changed, 3 insertions(+)