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