Commit 38c3b68e authored by Nicolas George's avatar Nicolas George

pixdesc: put components always in the same order.

parent 5ca595fa
...@@ -153,7 +153,7 @@ ...@@ -153,7 +153,7 @@
*/ */
#define LIBAVUTIL_VERSION_MAJOR 51 #define LIBAVUTIL_VERSION_MAJOR 51
#define LIBAVUTIL_VERSION_MINOR 43 #define LIBAVUTIL_VERSION_MINOR 44
#define LIBAVUTIL_VERSION_MICRO 100 #define LIBAVUTIL_VERSION_MICRO 100
#define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \ #define LIBAVUTIL_VERSION_INT AV_VERSION_INT(LIBAVUTIL_VERSION_MAJOR, \
......
This diff is collapsed.
...@@ -76,9 +76,12 @@ typedef struct AVPixFmtDescriptor{ ...@@ -76,9 +76,12 @@ typedef struct AVPixFmtDescriptor{
uint8_t flags; uint8_t flags;
/** /**
* Parameters that describe how pixels are packed. If the format * Parameters that describe how pixels are packed.
* has chroma components, they must be stored in comp[1] and * If the format has 2 or 4 components, then alpha is last.
* comp[2]. * If the format has 1 or 2 components, then luma is 0.
* If the format has 3 or 4 components,
* if the RGB flag is set then 0 is red, 1 is green and 2 is blue;
* otherwise 0 is luma, 1 is chroma-U and 2 is chroma-V.
*/ */
AVComponentDescriptor comp[4]; AVComponentDescriptor comp[4];
}AVPixFmtDescriptor; }AVPixFmtDescriptor;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment