summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-09-12 13:03:04 +0200
committerHendrik Leppkes <h.leppkes@gmail.com>2015-09-12 13:03:04 +0200
commiteadf6cb2c4e80304d9e18672bf5f5359a676deb2 (patch)
treee4155f5cbee523d8ba7e6dc5e185967cc7068045 /libavutil
parenta30a8beeb3dc44b666d0e1aefbd823752f321ac1 (diff)
parent7b02cb29d9d60cdd5ef321043d11d02023e7dc8f (diff)
Merge commit '7b02cb29d9d60cdd5ef321043d11d02023e7dc8f'
* commit '7b02cb29d9d60cdd5ef321043d11d02023e7dc8f': pixdesc: Document the component order Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/pixdesc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/pixdesc.h b/libavutil/pixdesc.h
index d9999058e4..a6056fe1c0 100644
--- a/libavutil/pixdesc.h
+++ b/libavutil/pixdesc.h
@@ -107,11 +107,12 @@ typedef struct AVPixFmtDescriptor {
/**
* Parameters that describe how pixels are packed.
- * If the format has 2 or 4 components, then alpha is last.
* 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.
+ *
+ * If present, the Alpha channel is always the last component.
*/
AVComponentDescriptor comp[4];