package mm
Install
Dune Dependency
Authors
Maintainers
Sources
md5=9316f8bce6e8b7a2c83aaab31d3326dc
sha512=489e082866fd7db77248cb7e3a5d0a7e5af6c3390c9b27b317cce9bb3a48f26e6a05d1d55a662a181b5dcbeeec59aded5d0f08bd33c0ee8554655c5cad69a782
doc/mm.image/Mm_image/Image/Generic/Pixel/index.html
Module Generic.Pixel
Source
Generic pixels.
type rgb_format =
| RGB24
(*24 bit RGB. Each color is an uint8_t. Color order is RGBRGB
*)| BGR24
(*24 bit BGR. Each color is an uint8_t. Color order is BGRBGR
*)| RGB32
(*32 bit RGB. Each color is an uint8_t. Color order is RGBXRGBX, where X is unused
*)| BGR32
(*32 bit BGR. Each color is an uint8_t. Color order is BGRXBGRX, where X is unused
*)| RGBA32
(*32 bit RGBA. Each color is an uint8_t. Color order is RGBARGBA
*)
Format of an RGB pixel.
type yuv_format =
| YUV422
(*Planar YCbCr 4:2:2. Each component is an uint8_t
*)| YUV444
(*Planar YCbCr 4:4:4. Each component is an uint8_t
*)| YUV411
(*Planar YCbCr 4:1:1. Each component is an uint8_t
*)| YUV410
(*Planar YCbCr 4:1:0. Each component is an uint8_t
*)| YUVJ420
(*Planar YCbCr 4:2:0. Each component is an uint8_t, luma and chroma values are full range (0x00 .. 0xff)
*)| YUVJ422
(*Planar YCbCr 4:2:2. Each component is an uint8_t, luma and chroma values are full range (0x00 .. 0xff)
*)| YUVJ444
(*Planar 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.