A Rust library for allocation-limited computation of the Discrete Cosine Transform.
1D DCTs are allocation-free but 2D requires allocation.
Features:
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)