aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-04-08 14:50:12 +0200
committerClément Bœsch <u@pkh.me>2017-04-08 14:50:12 +0200
commit68c9a399420b028922517e0f6dec314805dd84c7 (patch)
treed5047559f237aec1162f4c557aa5766cf29672ac
parent97745b131a7f1c8e9a1a2ff577211a310c012db1 (diff)
parent706af9227b58657c73e3a4df3689da734f010500 (diff)
downloadffmpeg-68c9a399420b028922517e0f6dec314805dd84c7.tar.gz
Merge commit '706af9227b58657c73e3a4df3689da734f010500'
* commit '706af9227b58657c73e3a4df3689da734f010500': lavu: Document the color properties enumeration values origin Merged-by: Clément Bœsch <u@pkh.me>
-rw-r--r--libavutil/pixfmt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index 5dafc341a1..3c915c6421 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -396,6 +396,7 @@ enum AVPixelFormat {
/**
* Chromaticity coordinates of the source primaries.
+ * These values match the ones defined by ISO/IEC 23001-8_2013 § 7.1.
*/
enum AVColorPrimaries {
AVCOL_PRI_RESERVED0 = 0,
@@ -419,6 +420,7 @@ enum AVColorPrimaries {
/**
* Color Transfer Characteristic.
+ * These values match the ones defined by ISO/IEC 23001-8_2013 § 7.2.
*/
enum AVColorTransferCharacteristic {
AVCOL_TRC_RESERVED0 = 0,
@@ -447,6 +449,7 @@ enum AVColorTransferCharacteristic {
/**
* YUV colorspace type.
+ * These values match the ones defined by ISO/IEC 23001-8_2013 § 7.3.
*/
enum AVColorSpace {
AVCOL_SPC_RGB = 0, ///< order of coefficients is actually GBR, also IEC 61966-2-1 (sRGB)