Pixel interpretation for BEAM-owned binary frame storage.
:rgba8888 and :bgra8888 name the byte order in memory. :bgra8888 matches
little-endian DRM_FORMAT_ARGB8888/XRGB8888 scanout buffers.
Gray2 and BW1 rows are packed independently, most-significant group first.
Gray2 stores levels 0..3 from black to white. BW1 requires an explicit
:one_is_black or :one_is_white polarity.
Summary
Types
@type pixel_format() :: :rgba8888 | :bgra8888 | :rgb888 | :gray8 | :gray2 | :bw1
@type t() :: %VideoInterop.Binary.Format{ bw1_polarity: :one_is_black | :one_is_white | nil, pixel_format: pixel_format() }