Skip to main content

Module jpeg

Module jpeg 

Source
Available on crate feature unstable only.
Expand description

Hardware baseline JPEG encoding.

§Supported formats

Input layoutOutput subsampling
RGB565 and BGR565 (either byte order), RGB888, BGR8884:4:4, 4:2:2, 4:2:0
YCbCr 4:4:4 (YUV, VUY)4:4:4, 4:2:2, 4:2:0
YCbCr 4:2:2 (YUYV, UYVY)4:2:2, 4:2:0
Packed YCbCr 4:2:04:2:0
GrayscaleGrayscale

Structs§

EncodeConfig
JPEG encoding settings.
Encoder
A blocking baseline JPEG encoder.

Enums§

Error
A JPEG encoder error.
PixelFormat
Pixel layout of the uncompressed input image.
Subsampling
Chroma subsampling of the encoded JPEG.