Skip to main content

parse_coding_unit

Function parse_coding_unit 

Source
pub fn parse_coding_unit(
    state: &mut HevcSliceCabacState<'_>,
    _x: usize,
    _y: usize,
    log2_cu_size: u32,
    sps: &HevcSps,
    pps: &HevcPps,
    slice_type: HevcSliceType,
) -> CodingUnitData
Expand description

Parse a coding unit from the bitstream (ITU-T H.265, 7.3.8.5).

Returns the prediction mode, intra luma/chroma modes, CBF flags, and residual transform coefficients for the luma plane.