pub struct CeltEncoder {
pub complexity: i32,
/* private fields */
}Fields§
§complexity: i32Implementations§
Source§impl CeltEncoder
impl CeltEncoder
pub fn new(mode: &'static CeltMode, channels: usize) -> Self
pub fn encode(&mut self, pcm: &[f32], frame_size: usize, rc: &mut RangeCoder)
pub fn encode_with_start_band( &mut self, pcm: &[f32], frame_size: usize, rc: &mut RangeCoder, start_band: usize, )
Sourcepub fn encode_with_budget(
&mut self,
pcm: &[f32],
frame_size: usize,
rc: &mut RangeCoder,
start_band: usize,
total_bits: i32,
)
pub fn encode_with_budget( &mut self, pcm: &[f32], frame_size: usize, rc: &mut RangeCoder, start_band: usize, total_bits: i32, )
Encode with explicit total_bits (for Hybrid mode where SILK has already used some bits)
Auto Trait Implementations§
impl Freeze for CeltEncoder
impl RefUnwindSafe for CeltEncoder
impl Send for CeltEncoder
impl Sync for CeltEncoder
impl Unpin for CeltEncoder
impl UnsafeUnpin for CeltEncoder
impl UnwindSafe for CeltEncoder
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