summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-21 12:44:23 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-21 12:44:23 +0200
commit8a141ad5e8050c6c898609406b4243f4102c86c5 (patch)
treecdecfec395247bde6022b5de4bea469792b3e02b /libavutil
parentb95df4c3710467f1b274b96d84208eb0e92da4e3 (diff)
avutil/pixfmt: make luma sample positions even more explicit in the AVChromaLocation ASCII art
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/pixfmt.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index 23b410bac8..209ecb2440 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -534,10 +534,13 @@ enum AVColorRange {
* image, the left shows only luma, the right
* 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
- * ______ ______
- * |X X ... |3 4 X ... X are luma samples,
- * | |1 2 1-6 are possible chroma positions
- * |X X ... |5 6 X ... 0 is undefined/unknown position
+ *
+ * 1st 2nd 1st 2nd luma sample positions
+ * v v v v
+ * ______ ______
+ *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 {
AVCHROMA_LOC_UNSPECIFIED = 0,