diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-07-07 17:42:57 -0400 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2017-08-15 15:26:20 +0200 |
commit | 14604087031d5cb93f8513a8835be67d72547b4a (patch) | |
tree | 21f4fa55223531d8ca162d6844d8a8807d68db87 /libavutil/pixdesc.h | |
parent | 8d2da0939cbd21a7f3b79e2b8b93ae2a0a3d4c2c (diff) |
Add single precision planar RGB pixel formats
Add a pixel format flag to identify this family.
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavutil/pixdesc.h')
-rw-r--r-- | libavutil/pixdesc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h index c3a6f27f49..b0ec81b81b 100644 --- a/libavutil/pixdesc.h +++ b/libavutil/pixdesc.h @@ -178,6 +178,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 * of bits per sample. |