Function encode_show_existing_frame

Source
pub fn encode_show_existing_frame<T: Pixel>(
    fi: &FrameInvariants<T>,
    fs: &mut FrameState<T>,
    inter_cfg: &InterConfig,
) -> Vec<u8> 
Expand description

Write a packet containing only the placeholder that tells the decoder to present the already decoded frame present at frame_to_show_map_idx

See av1-spec Section 6.8.2 and 7.18.

§Panics

  • If the frame packets cannot be written