From 4aeb996f71bda3ec7c97d19d7e61efc0ebebcbfe Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 5 Jan 2013 04:58:19 +0100 Subject: [PATCH] pixfmt: add native bayer 16bit formats Signed-off-by: Michael Niedermayer --- libavutil/pixfmt.h | 6 ++++++ 1 file changed, 6 insertions(+) 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)