pub fn encode_tap_header( format: FrameFormat, width: u32, height: u32, byte_len: u32, ts_mono_ns: u64, ) -> [u8; 24]
Encode the tap frame header. The writer prepends this to each frame’s pixels.