From 14604087031d5cb93f8513a8835be67d72547b4a Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 7 Jul 2017 17:42:57 -0400 Subject: Add single precision planar RGB pixel formats Add a pixel format flag to identify this family. Signed-off-by: Vittorio Giovara --- libavutil/pixdesc.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libavutil/pixdesc.h') diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index c3a6f27f49..b0ec81b81b 100644 --- a/libavutil/pixdesc.h +++ b/libavutil/pixdesc.h @@ -177,6 +177,12 @@ typedef struct AVPixFmtDescriptor { */ #define AV_PIX_FMT_FLAG_BAYER (1 << 8) +/** + * The pixel format contains IEEE-754 floating point values. Precision (double, + * single, or half) should be determined by the pixel size (64, 32, or 16 bits). + */ +#define AV_PIX_FMT_FLAG_FLOAT (1 << 9) + /** * Return the number of bits per pixel used by the pixel format * described by pixdesc. Note that this is not the same as the number -- cgit v1.2.3