mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01:00
Merge commit '7b02cb29d9'
* commit '7b02cb29d9':
pixdesc: Document the component order
Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
This commit is contained in:
commit
eadf6cb2c4
1 changed files with 2 additions and 1 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue