Module Avutil.Chroma_location

Locations of the chroma samples. The functions behave as those of Color_space.

type t = [
  1. | `Unspecified
  2. | `Left
  3. | `Center
  4. | `Topleft
  5. | `Top
  6. | `Bottomleft
  7. | `Bottom
]
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.