Module Avutil.Color_primaries

Colour primaries. The functions behave as those of Color_space.

type t = [
  1. | `Reserved0
  2. | `Bt709
  3. | `Unspecified
  4. | `Reserved
  5. | `Bt470m
  6. | `Bt470bg
  7. | `Smpte170m
  8. | `Smpte240m
  9. | `Film
  10. | `Bt2020
  11. | `Smpte428
  12. | `Smptest428_1
  13. | `Smpte431
  14. | `Smpte432
  15. | `Ebu3213
  16. | `Jedec_p22
  17. | `V_gamut
]
val name : t -> string

FFmpeg's name of the value, and the empty string when FFmpeg has none.

val from_name : string -> t option

The value named by the string, as Color_space.from_name.