Registry / utility / rustdct

rustdct

JSON →
library0.7.1rscratesunverified

Compute Discrete Cosine Transforms (DCT) of any size in O(nlogn) time, in pure Rust.

# Cargo.toml [dependencies] rustdct = "0.7.1"
INSTALL
IMPORT
SIG · RUSTDCT
R
rustdct
utilityrustv0.7.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

DctPlanner
use rustdct::DctPlanner;

Computes a DCT-I of size 4 on a buffer.

use rustdct::DctPlanner; fn main() { let mut planner = DctPlanner::new(); let dct = planner.plan_dct1(4); let mut buffer = vec![1.0, 2.0, 3.0, 4.0]; dct.process_dct1(&mut buffer); println!("{:?}", buffer); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.7.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
rustdct — cargo add rustdct · libregistry