[−][src]Struct av_codec::encoder::Context
Methods
impl Context[src]
pub fn by_name(codecs: &Codecs, name: &str) -> Option<Context>[src]
pub fn configure(&mut self) -> Result<()>[src]
pub fn set_params(&mut self, params: &CodecParams) -> Result<()>[src]
pub fn get_params(&self) -> Result<CodecParams>[src]
pub fn set_option<'a, V>(&mut self, key: &str, val: V) -> Result<()> where
V: Into<Value<'a>>, [src]
V: Into<Value<'a>>,
pub fn get_extradata(&mut self) -> Option<Vec<u8>>[src]
pub fn send_frame(&mut self, frame: &ArcFrame) -> Result<()>[src]
pub fn receive_packet(&mut self) -> Result<Packet>[src]
pub fn flush(&mut self) -> Result<()>[src]
Auto Trait Implementations
impl Send for Context
impl Unpin for Context
impl !Sync for Context
impl !UnwindSafe for Context
impl !RefUnwindSafe for Context
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,