VideoPixelFormat

type VideoPixelFormat = 
  | "yuv-420-8-bit-video"
  | "yuv-420-8-bit-full"
  | "yuv-420-10-bit-video"
  | "yuv-420-10-bit-full"
  | "yuv-422-8-bit-video"
  | "yuv-422-8-bit-full"
  | "yuv-422-10-bit-video"
  | "yuv-422-10-bit-full"
  | "yuv-444-8-bit-video"
  | "rgb-bgra-8-bit"
  | "rgb-rgba-8-bit"
  | "rgb-rgb-8-bit"
  | "raw-bayer-packed96-12-bit"
  | "raw-bayer-unpacked-16-bit"
  | "unknown"

Represents the pixel format of a video image buffer. Video Formats are either YUV or RGB. The most commonly used format is yuv-420-8-bit-video.

FormatColorspaceSamplingBit depthColor RangeLayout
yuv-420-8-bit-videoYUV4:2:08-bitVideoPlanar
yuv-420-8-bit-fullYUV4:2:08-bitFullPlanar
yuv-420-10-bit-videoYUV4:2:010-bitVideoPlanar
yuv-420-10-bit-fullYUV4:2:010-bitFullPlanar
yuv-422-8-bit-videoYUV4:2:28-bitVideoPlanar
yuv-422-8-bit-fullYUV4:2:28-bitFullPlanar
yuv-422-10-bit-videoYUV4:2:210-bitVideoPlanar
yuv-422-10-bit-fullYUV4:2:210-bitFullPlanar
yuv-444-8-bit-videoYUV4:4:48-bitVideoPlanar
rgb-bgra-8-bitRGB4:4:48-bitFullInterleaved BGRA
rgb-rgba-8-bitRGB4:4:48-bitFullInterleaved RGBA
rgb-rgb-8-bitRGB4:4:48-bitFullInterleaved RGB
raw-bayer-packed96-12-bitRAW BayerMosaic12-bitSensorPacked96 Bayer
raw-bayer-unpacked-16-bitRAW BayerMosaic16-bitSensorUnpacked 16-bit
unknownUnknown

On this page

No Headings