diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-01-05 04:58:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-09-01 17:32:16 +0200 |
commit | 4aeb996f71bda3ec7c97d19d7e61efc0ebebcbfe (patch) | |
tree | 7ad5898b67e786d9bfe99d55beeebc19790d3f5d | |
parent | 9116995efb9c1038bc6eaeb242d55b90aef0e72b (diff) | |
download | ffmpeg-4aeb996f71bda3ec7c97d19d7e61efc0ebebcbfe.tar.gz |
pixfmt: add native bayer 16bit formats
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/pixfmt.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h index 17e595ca9d..82016f388c 100644 --- a/libavutil/pixfmt.h +++ b/libavutil/pixfmt.h @@ -321,6 +321,12 @@ enum AVPixelFormat { #define AV_PIX_FMT_GBRP14 AV_PIX_FMT_NE(GBRP14BE, GBRP14LE) #define AV_PIX_FMT_GBRP16 AV_PIX_FMT_NE(GBRP16BE, GBRP16LE) +#define AV_PIX_FMT_BAYER_BGGR16 AV_PIX_FMT_NE(BAYER_BGGR16BE, BAYER_BGGR16LE) +#define AV_PIX_FMT_BAYER_RGGB16 AV_PIX_FMT_NE(BAYER_RGGB16BE, BAYER_RGGB16LE) +#define AV_PIX_FMT_BAYER_GBRG16 AV_PIX_FMT_NE(BAYER_GBRG16BE, BAYER_GBRG16LE) +#define AV_PIX_FMT_BAYER_GRBG16 AV_PIX_FMT_NE(BAYER_GRBG16BE, BAYER_GRBG16LE) + + #define AV_PIX_FMT_YUVA420P9 AV_PIX_FMT_NE(YUVA420P9BE , YUVA420P9LE) #define AV_PIX_FMT_YUVA422P9 AV_PIX_FMT_NE(YUVA422P9BE , YUVA422P9LE) #define AV_PIX_FMT_YUVA444P9 AV_PIX_FMT_NE(YUVA444P9BE , YUVA444P9LE) |