Skip to main content

dct8x8_blocks_to_dwt53_float_linear

Function dct8x8_blocks_to_dwt53_float_linear 

Source
pub fn dct8x8_blocks_to_dwt53_float_linear(
    blocks: &[[[f64; 8]; 8]],
    block_cols: usize,
    block_rows: usize,
    width: usize,
    height: usize,
) -> Result<Dwt53TwoDimensional<f64>, DctGridError>
Expand description

Map an adjacent 8x8 DCT block grid directly into a linearized one-level 2D 5/3 result for the logical component dimensions.

Padded JPEG edge samples outside width x height are ignored.