Available on crate feature
unstable only.Expand description
Hardware baseline JPEG encoding.
§Supported formats
| Input layout | Output subsampling |
|---|---|
| RGB565 and BGR565 (either byte order), RGB888, BGR888 | 4: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:0 | 4:2:0 |
| Grayscale | Grayscale |
Structs§
- Encode
Config - JPEG encoding settings.
- Encoder
- A blocking baseline JPEG encoder.
Enums§
- Error
- A JPEG encoder error.
- Pixel
Format - Pixel layout of the uncompressed input image.
- Subsampling
- Chroma subsampling of the encoded JPEG.