summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-12-01 15:17:27 -0500
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-12-02 11:36:46 -0500
commit706af9227b58657c73e3a4df3689da734f010500 (patch)
treea415bbc29fa1bd528a62c1778d6c70c42a88fba5
parent5168026a05258537f1c48ca95c1776b1554997f4 (diff)
downloadffmpeg-streaming-706af9227b58657c73e3a4df3689da734f010500.zip
ffmpeg-streaming-706af9227b58657c73e3a4df3689da734f010500.tar.gz
lavu: Document the color properties enumeration values origin
-rw-r--r--libavutil/pixfmt.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavutil/pixfmt.h b/libavutil/pixfmt.h
index 2a0c85e..41498cc 100644
--- a/libavutil/pixfmt.h
+++ b/libavutil/pixfmt.h
@@ -313,6 +313,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,
@@ -336,6 +337,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,
@@ -364,6 +366,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)
OpenPOWER on IntegriCloud