Skip to main content

encode_tap_header

Function encode_tap_header 

Source
pub fn encode_tap_header(
    format: FrameFormat,
    width: u32,
    height: u32,
    byte_len: u32,
    ts_mono_ns: u64,
) -> [u8; 24]
Expand description

Encode the tap frame header. The writer prepends this to each frame’s pixels.