Commit 8a141ad5 authored by Michael Niedermayer's avatar Michael Niedermayer

avutil/pixfmt: make luma sample positions even more explicit in the AVChromaLocation ASCII art

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b95df4c3
...@@ -534,10 +534,13 @@ enum AVColorRange { ...@@ -534,10 +534,13 @@ enum AVColorRange {
* image, the left shows only luma, the right * image, the left shows only luma, the right
* shows the location of the chroma sample, the 2 could be imagined to overlay * shows the location of the chroma sample, the 2 could be imagined to overlay
* each other but are drawn seperately due to limitations of ASCII * each other but are drawn seperately due to limitations of ASCII
* ______ ______ *
* |X X ... |3 4 X ... X are luma samples, * 1st 2nd 1st 2nd luma sample positions
* | |1 2 1-6 are possible chroma positions * v v v v
* |X X ... |5 6 X ... 0 is undefined/unknown position * ______ ______
*1st luma line > |X X ... |3 4 X ... X are luma samples,
* | |1 2 1-6 are possible chroma positions
*2nd luma line > |X X ... |5 6 X ... 0 is undefined/unknown position
*/ */
enum AVChromaLocation { enum AVChromaLocation {
AVCHROMA_LOC_UNSPECIFIED = 0, AVCHROMA_LOC_UNSPECIFIED = 0,
......
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