pub struct Wavelet<'a> {
pub decomp_low: &'a [f32],
pub decomp_high: &'a [f32],
pub recons_low: &'a [f32],
pub recons_high: &'a [f32],
}
Expand description
Check wavelet
to see all the wavelets provided.
Each filter of a single wavelet must be of equal length!
|<------------->|- window_size (N.coeffs)
↓ ↓
(A B C;D E;F G H)
↑ ↑ ↑
| |<--->|- half_padding_length
| |
|<->|------- *Sliding*!
Fields§
§decomp_low: &'a [f32]
§decomp_high: &'a [f32]
§recons_low: &'a [f32]
§recons_high: &'a [f32]
Implementations§
Source§impl<'a> Wavelet<'a>
impl<'a> Wavelet<'a>
pub const fn window_size(&self) -> usize
pub const fn half_padding_length(&self) -> usize
Trait Implementations§
impl<'a> Copy for Wavelet<'a>
Auto Trait Implementations§
impl<'a> Freeze for Wavelet<'a>
impl<'a> RefUnwindSafe for Wavelet<'a>
impl<'a> Send for Wavelet<'a>
impl<'a> Sync for Wavelet<'a>
impl<'a> Unpin for Wavelet<'a>
impl<'a> UnwindSafe for Wavelet<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more