Skip to main content

Module enc

Module enc 

Source
Expand description

Encoders: encode BGRA pixels into all 7 .ithmb pixel formats.

Functions§

build_ithmb_file
Build a complete .ithmb file from BGRA source pixels.
encode_bgra
Encode BGRA pixel data to the format specified by profile.
encode_cl
Encode BGRA pixels to CL per-pixel nibble chroma format.
encode_clcl
Encode BGRA pixels to CLCL nibble-chroma planar format.
encode_reordered_rgb555
Encode BGRA pixels to Reordered RGB555 (big-endian byte order, Z-order).
encode_rgb555
Encode BGRA pixels to RGB555 (2 bytes per pixel, top bit unused).
encode_rgb565
Encode BGRA pixels to RGB565 (2 bytes per pixel).
encode_uyvy
Encode BGRA pixels to UYVY (YUV 4:2:2 packed, 2 bytes per pixel).
encode_ycbcr420
Encode BGRA pixels to planar YCbCr 4:2:0.