RustDCT
RustDCT is a pure-Rust signal processing library that computes the most common Discrete Cosine Transforms:
- DCT Type 1
- DCT Type 2 (Often called "the" DCT - by far the most common algorithm, used by JPEG image compression and others)
- DCT Type 3 (the inverse of the DCT type 2, also used in JPEG)
- DCT Type 4
- MDCT (Used in audio and video compression such as Ogg and MP3)
Example
// Compute a DCT Type 2 of size 1234
use DCTplanner;
let mut input: = vec!;
let mut output: = vec!;
let mut planner = new;
let mut dct = planner.plan_dct2;
dct.process;
Releases
Release notes are available in RELEASES.md.