[FFmpeg-cvslog] pixfmt: add native bayer 16bit formats

Michael Niedermayer git at videolan.org
Sun Sep 1 17:48:38 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jan  5 04:58:19 2013 +0100| [4aeb996f71bda3ec7c97d19d7e61efc0ebebcbfe] | committer: Michael Niedermayer

pixfmt: add native bayer 16bit formats

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4aeb996f71bda3ec7c97d19d7e61efc0ebebcbfe
---

 libavutil/pixfmt.h |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index 17e595c..82016f3 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)



More information about the ffmpeg-cvslog mailing list