Commit 68c9a399 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit '706af922'

* commit '706af922':
  lavu: Document the color properties enumeration values origin
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 97745b13 706af922
...@@ -396,6 +396,7 @@ enum AVPixelFormat { ...@@ -396,6 +396,7 @@ enum AVPixelFormat {
/** /**
* Chromaticity coordinates of the source primaries. * Chromaticity coordinates of the source primaries.
* These values match the ones defined by ISO/IEC 23001-8_2013 § 7.1.
*/ */
enum AVColorPrimaries { enum AVColorPrimaries {
AVCOL_PRI_RESERVED0 = 0, AVCOL_PRI_RESERVED0 = 0,
...@@ -419,6 +420,7 @@ enum AVColorPrimaries { ...@@ -419,6 +420,7 @@ enum AVColorPrimaries {
/** /**
* Color Transfer Characteristic. * Color Transfer Characteristic.
* These values match the ones defined by ISO/IEC 23001-8_2013 § 7.2.
*/ */
enum AVColorTransferCharacteristic { enum AVColorTransferCharacteristic {
AVCOL_TRC_RESERVED0 = 0, AVCOL_TRC_RESERVED0 = 0,
...@@ -447,6 +449,7 @@ enum AVColorTransferCharacteristic { ...@@ -447,6 +449,7 @@ enum AVColorTransferCharacteristic {
/** /**
* YUV colorspace type. * YUV colorspace type.
* These values match the ones defined by ISO/IEC 23001-8_2013 § 7.3.
*/ */
enum AVColorSpace { enum AVColorSpace {
AVCOL_SPC_RGB = 0, ///< order of coefficients is actually GBR, also IEC 61966-2-1 (sRGB) AVCOL_SPC_RGB = 0, ///< order of coefficients is actually GBR, also IEC 61966-2-1 (sRGB)
......
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