pub fn frame_bytes(fmt: RawVideoFormat, width: u32, height: u32) -> usizeExpand description
Bytes one width x height frame of fmt occupies, for allocating a blank
source buffer. Packed formats are exact; the fully-planar YUV family derives
its size from the format’s own subsampling and sample depth.