denyhosts/clamav/libclamav_rust/.cargo/vendor/rustdct
2023-01-14 18:28:39 +08:00
..
benches 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
examples 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
src 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
tests 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
.cargo-checksum.json 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
Cargo.lock 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
Cargo.toml 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
LICENSE-APACHE 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
LICENSE-MIT 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
README.md 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00
RELEASES.md 更新libclamav库1.0.0版本 2023-01-14 18:28:39 +08:00

RustDCT

minimum rustc 1.37

RustDCT is a pure-Rust signal processing library that computes the most common Discrete Cosine Transforms:

  • Discrete Cosine Transform (DCT) Types 1, 2, 3, 4
  • Discrete Sine Transform (DST) Types 1, 2, 3, 4
  • Modified Discrete Cosine Transform (MDCT)

Example

// Compute a DCT Type 2 of size 1234
use rustdct::DctPlanner;

let mut planner = DctPlanner::new();
let mut dct = planner.plan_dct2(1234);

let mut buffer = vec![0f32; 1234];

dct.process_dct2(&mut buffer);

Compatibility

The rustdct crate requires rustc 1.37 or greater.

Releases

Release notes are available in RELEASES.md.