pub struct BsfContext { /* private fields */ }Expand description
Stub mirror of crate::bsf::BsfContext.
Implementations§
Source§impl BsfContext
impl BsfContext
Sourcepub fn open(
_spec: &str,
_par_in: Option<CodecParameters<'_>>,
_time_base_in: AVRational,
) -> Result<Self, AvError>
pub fn open( _spec: &str, _par_in: Option<CodecParameters<'_>>, _time_base_in: AVRational, ) -> Result<Self, AvError>
§Errors
Stub; never executed on docs.rs.
Sourcepub fn passthrough(
_par_in: Option<CodecParameters<'_>>,
_time_base_in: AVRational,
) -> Result<Self, AvError>
pub fn passthrough( _par_in: Option<CodecParameters<'_>>, _time_base_in: AVRational, ) -> Result<Self, AvError>
§Errors
Stub; never executed on docs.rs.
pub fn output_params(&self) -> CodecParameters<'_>
pub fn output_time_base(&self) -> AVRational
Sourcepub fn send_packet(&mut self, _pkt: &mut Packet) -> Result<(), AvError>
pub fn send_packet(&mut self, _pkt: &mut Packet) -> Result<(), AvError>
§Errors
Stub; never executed on docs.rs.
Sourcepub fn receive_packet(
&mut self,
_pkt: &mut Packet,
) -> Result<ReceiveOutcome, AvError>
pub fn receive_packet( &mut self, _pkt: &mut Packet, ) -> Result<ReceiveOutcome, AvError>
§Errors
Stub; never executed on docs.rs.
Trait Implementations§
Auto Trait Implementations§
impl !Sync for BsfContext
impl Freeze for BsfContext
impl RefUnwindSafe for BsfContext
impl Unpin for BsfContext
impl UnsafeUnpin for BsfContext
impl UnwindSafe for BsfContext
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