Skip to main content

Crate rusty_opus

Crate rusty_opus 

Source

Re-exports§

pub use silk::SilkResampler;
pub use silk::SilkResamplerDown1_3;
pub use silk::SilkResamplerDown1_6;
pub use celt::CeltDecoder;
pub use celt::CeltEncoder;

Modules§

analysis
Port of libopus 1.3.1 src/analysis.c + src/mlp.c (float build): the tonality/music/bandwidth analysis that drives mode selection, bandwidth detection, VBR boosts and prefilter damping in the reference encoder.
analysis_data
Auto-extracted from libopus 1.3.1 src/mlp_data.c + src/tansig_table.h (weights for the tonality-analysis MLP: dense 25->32, GRU 32->24, dense 24->2).
bands
celt
celt_lpc
hp_cutoff
kiss_fft
mdct
modes
multistream
Opus multistream (surround) — port of the core of src/opus_multistream_{encoder,decoder}.c. Wraps N mono/coupled Opus coders behind a channel-mapping layout so >2-channel audio (quad, 5.1, 7.1) can be coded as a set of standard Opus streams concatenated with the self-delimited framing.
parallel
Frame/chunk-parallel Opus encoding (R1) — the structural win that beats a single-threaded libopus on wall-clock.
pitch
prof
Feature-gated encode/decode stage profiler — the instrument for perf work.
pvq
quant_bands
range_coder
rate
repacketizer
Port of libopus src/repacketizer.c + the packet helpers from src/opus.c: split Opus packets into frames and recombine/re-frame/pad them WITHOUT re-encoding. Used to merge several packets into a longer one, split a multi-frame packet, or pad a packet to a target size (e.g. for CBR transport). All frames in a repacketizer must share the same TOC config (mode/bandwidth/frame-size); only the code (0..3) and framing change.
silk

Macros§

tell_frac_inline

Structs§

OpusDecoder
OpusEncoder

Enums§

Application
Bandwidth
SignalType
OPUS_SET_SIGNAL hint: bias mode selection toward speech or music. None = OPUS_AUTO (let the analysis decide).