Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-20 00:34:31 +0300
committerClément Bœsch <u@pkh.me>2017-03-20 10:02:30 +0300
commit9c2436e1e78f92439836131555efe69bbacc056a (patch)
tree08dbc8a591f194890ad4a24c7c888c85ad1b4578 /libavutil/pixdesc.h
parentf052b1b40f94dd89ce86330cffb8f6e4793ff203 (diff)
lavu: add AV_PIX_FMT_FLAG_BAYER
Diffstat (limited to 'libavutil/pixdesc.h')
-rw-r--r--libavutil/pixdesc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h
index a8ad588913..c3a6f27f49 100644
--- a/libavutil/pixdesc.h
+++ b/libavutil/pixdesc.h
@@ -173,6 +173,11 @@ typedef struct AVPixFmtDescriptor {
#define AV_PIX_FMT_FLAG_ALPHA (1 << 7)
/**
+ * The pixel format is following a Bayer pattern
+ */
+#define AV_PIX_FMT_FLAG_BAYER (1 << 8)
+
+/**
* 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.