Generic.PixelGeneric pixels.
type rgb_format = | RGB2424 bit RGB. Each color is an uint8_t. Color order is RGBRGB
*)| BGR2424 bit BGR. Each color is an uint8_t. Color order is BGRBGR
*)| RGB3232 bit RGB. Each color is an uint8_t. Color order is RGBXRGBX, where X is unused
*)| BGR3232 bit BGR. Each color is an uint8_t. Color order is BGRXBGRX, where X is unused
*)| RGBA3232 bit RGBA. Each color is an uint8_t. Color order is RGBARGBA
*)Format of an RGB pixel.
type yuv_format = | YUV422Planar YCbCr 4:2:2. Each component is an uint8_t
*)| YUV444Planar YCbCr 4:4:4. Each component is an uint8_t
*)| YUV411Planar YCbCr 4:1:1. Each component is an uint8_t
*)| YUV410Planar YCbCr 4:1:0. Each component is an uint8_t
*)| YUVJ420Planar YCbCr 4:2:0. Each component is an uint8_t, luma and chroma values are full range (0x00 .. 0xff)
*)| YUVJ422Planar YCbCr 4:2:2. Each component is an uint8_t, luma and chroma values are full range (0x00 .. 0xff)
*)| YUVJ444Planar YCbCr 4:4:4. Each component is an uint8_t, luma and chroma values are full range (0x00 .. 0xff)
*)Format of a YUV pixel.
Format of a pixel.
val string_of_format : format -> stringString representation of the format of a pixel.