lavu: add AV_PIX_FMT_FLAG_BAYER

This commit is contained in:
Clément Bœsch 2017-03-19 22:34:31 +01:00
parent f052b1b40f
commit 9c2436e1e7
4 changed files with 22 additions and 14 deletions

View file

@ -172,6 +172,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