Static gstreamer_video::VIDEO_FORMATS_ALL[][src]

pub static VIDEO_FORMATS_ALL: Lazy<Box<[VideoFormat]>>
Expand description

List of all video formats, for use in template caps strings.

Formats are sorted by decreasing “quality”, using these criteria by priority:

  • number of components
  • depth
  • subsampling factor of the width
  • subsampling factor of the height
  • number of planes
  • native endianness preferred
  • pixel stride
  • poffset
  • prefer non-complex formats
  • prefer YUV formats over RGB ones
  • prefer I420 over YV12
  • format name