Pixel interpretation for BEAM-owned binary frame storage.
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 | :rgb888 | :gray8 | :gray2 | :bw1
@type t() :: %VideoInterop.Binary.Format{ bw1_polarity: :one_is_black | :one_is_white | nil, pixel_format: pixel_format() }