Skip to main content

residual_block_cavlc

Function residual_block_cavlc 

Source
fn residual_block_cavlc(
    r: &mut BitReader<'_>,
    max_num_coeff: usize,
    n_c: i32,
    tz_tables: &[&[(u8, u16)]],
) -> ([i32; 16], u8)
Expand description

CAVLC で 1 残差ブロックを復号。スキャン順の係数配列と total_coeff を返す。 n_c: 近傍係数数(-1=chroma DC, >=8=FLC)。tz_tables: total_zeros VLC 群。