Skip to main content

dequantize

Function dequantize 

Source
pub fn dequantize(
    quant: &[i32],
    tx_size: TxSize,
    dc_quant: i64,
    ac_quant: i64,
    bit_depth: u8,
) -> Dequant
Expand description

Dequantise one transform block (§7.12.3 step 1). quant holds Quant[] in raster order over the tw by th region; dc_quant/ac_quant are the plane’s DC/AC quantiser steps. No quantiser matrix is applied.