Module pixel_format

Source
Expand description

Implementations of specific pixel formats

Structs§

BayerBG8
Bayer Blue Green pattern, 1 byte per pixel.
BayerBG32f
Bayer Blue Green pattern, 4 bytes per pixel.
BayerGB8
Bayer Green Blue pattern, 1 byte per pixel.
BayerGB32f
Bayer Green Blue pattern, 4 bytes per pixel.
BayerGR8
Bayer Green Red pattern, 1 byte per pixel.
BayerGR32f
Bayer Green Red pattern, 4 bytes per pixel.
BayerRG8
Bayer Red Green pattern, 1 byte per pixel.
BayerRG32f
Bayer Red Green pattern, 4 bytes per pixel.
Mono8
Luminance, 1 byte per pixel. Sometimes also called Gray8.
Mono32f
Luminance, 32 bytes per pixel, Little-Endian, IEEE-754
NV12
NV12 format, average 12 bits per pixel
RGB8
Red, Green, Blue, 1 byte each, total 3 bytes per pixel.
RGBA8
Red, Green, Blue, Alpha, 1 byte each, total 4 bytes per pixel.
YUV422
YUV 4:2:2 8-bit, total 2 bytes per pixel.
YUV444
YUV 4:4:4 8-bit, total 3 bytes per pixel.

Enums§

PixFmt
This type allows runtime inspection of pixel format.

Traits§

PixelFormat
Implementations of this trait describe the format of raw image data.

Functions§

pixfmt
Convert a compile-time type FMT into a runtime type.