Crate stream_dct [−] [src]
A Rust library for allocation-limited computation of the Discrete Cosine Transform.
1D DCTs are allocation-free but 2D requires allocation.
simd: use SIMD types to speed computation (2D DCT only)
cos-approx: use a Taylor series approximation of cosine instead of the stdlib implementation (which is usually much slower but also higher precision)
An allocation-free one-dimensional Discrete Cosine Transform.
Perform a 2D DCT on a 1D-packed vector with a given rowstride.