OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7ed26a
)
pixdesc: Document the component order
author
Luca Barbato
<lu_zero@gentoo.org>
Thu, 10 Sep 2015 03:02:47 +0000
(
05:02
+0200)
committer
Luca Barbato
<lu_zero@gentoo.org>
Thu, 10 Sep 2015 10:08:57 +0000
(12:08 +0200)
libavutil/pixdesc.h
patch
|
blob
|
history
diff --git
a/libavutil/pixdesc.h
b/libavutil/pixdesc.h
index
ea84fd3
..
fe06d94
100644
(file)
--- a/
libavutil/pixdesc.h
+++ b/
libavutil/pixdesc.h
@@
-108,6
+108,13
@@
typedef struct AVPixFmtDescriptor {
* Parameters that describe how pixels are packed. If the format
* has chroma components, they must be stored in comp[1] and
* comp[2].
+ * If the format is RGB-like, the first component is R, followed
+ * by G and B.
+ *
+ * If the format is YUV-like, the first component is Y, followed
+ * by U and V.
+ *
+ * If present, the Alpha channel is always the last component.
*/
AVComponentDescriptor comp[4];