Skip to main content

parse_split_cu_flag

Function parse_split_cu_flag 

Source
pub fn parse_split_cu_flag(
    state: &mut HevcSliceCabacState<'_>,
    depth: u8,
    _left_available: bool,
    _above_available: bool,
) -> bool
Expand description

Read split_cu_flag from the bitstream.

Context index is derived from the current depth plus the availability of left/above neighbours (simplified: ctx_idx = depth.min(2)).