Skip to main content

dequantize_weighted

Function dequantize_weighted 

Source
pub fn dequantize_weighted(
    levels: &[i32; 16],
    qp: u8,
    weight: &[i32; 16],
) -> [i32; 16]
Expand description

Dequantizes with a per-position weight scale (weightScale4x4 in raster order, 16 = flat) — High-profile scaling matrices (spec §8.5.12.1, LevelScale = weightScale · normAdjust).