Module pixel_format

Module pixel_format 

Source
Expand description

Pixel format constants using FourCharCode

These match the values returned by IOSurface::pixel_format().

Constants§

BGRA
BGRA 8-bit per channel (32-bit total)
L10R
10-bit RGB (ARGB2101010, also known as l10r)
YCBCR_420F
YCbCr 4:2:0 biplanar, full range
YCBCR_420V
YCbCr 4:2:0 biplanar, video range

Functions§

is_full_range
Check if a pixel format uses full range (vs video range)
is_ycbcr_biplanar
Check if a pixel format is a YCbCr biplanar format