summaryrefslogtreecommitdiff
path: root/libavutil
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-19 17:47:04 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-05-19 17:47:28 +0200
commit710abaf2c5d8132924f9a1b8486716cdc16d327f (patch)
treea39a306005d3a141903a4cbbc7018b6c77b35963 /libavutil
parent7786a91b47e7918ec26293127bdfc6dd87ca2630 (diff)
avutil/pixfmt: Improve ascii art showing the meaning of the AVChromaLocation values
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/pixfmt.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index ba22eed10d..36b0f98d8c 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -530,9 +530,13 @@ enum AVColorRange {
/**
* Location of chroma samples.
*
- * 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
+ * Illustration showing the location, the left shows only luma, the right
+ * shows the location of the chroma samples, 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
*/
enum AVChromaLocation {
AVCHROMA_LOC_UNSPECIFIED = 0,