mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
pixdesc: Document the component order
This commit is contained in:
parent
c7ed26ad60
commit
7b02cb29d9
1 changed files with 7 additions and 0 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue