Skip to main content

Module dct53_2d

Module dct53_2d 

Source
Expand description

Constrained 2D DCT to 5/3 wavelet experiments.

The direct float path projects an 8x8 DCT block into one separable single-level 5/3 result without first storing the 8x8 spatial samples. The reference path materializes samples to keep the oracle easy to audit.

Re-exports§

pub use crate::DctGridError as Dct53GridError;

Structs§

Dct53GridScratch
Scratch storage for repeated DCT-grid to 5/3 projection calls.
Dwt53TwoDimensional
One separable single-level 2D 5/3 transform result.

Functions§

dct8x8_blocks_then_dwt53_float
Reference path for a DCT block grid: DCT coefficients -> float IDCT samples -> separable linearized 5/3.
dct8x8_blocks_to_dwt53_float_linear
Map an adjacent 8x8 DCT block grid directly into a linearized one-level 2D 5/3 result for the logical component dimensions.
dct8x8_blocks_to_dwt53_float_linear_with_scratch
Map an adjacent 8x8 DCT block grid directly into a linearized one-level 2D 5/3 result using caller-owned scratch for reusable weight rows.
dct8x8_to_dwt53_float_linear
Map one 8x8 DCT block directly into a linearized one-level 2D 5/3 result.
idct8x8_then_dwt53_float
Reference path for the 2D experiment: DCT coefficients -> float IDCT samples -> separable linearized 5/3.