[][src]Struct ffmpeg_next::codec::context::Context

pub struct Context { /* fields omitted */ }

Implementations

impl Context[src]

pub unsafe fn wrap(
    ptr: *mut AVCodecContext,
    owner: Option<Rc<dyn Drop>>
) -> Self
[src]

pub unsafe fn as_ptr(&self) -> *const AVCodecContext[src]

pub unsafe fn as_mut_ptr(&mut self) -> *mut AVCodecContext[src]

impl Context[src]

pub fn new() -> Self[src]

pub fn decoder(self) -> Decoder[src]

pub fn encoder(self) -> Encoder[src]

pub fn codec(&self) -> Option<Codec>[src]

pub fn medium(&self) -> Type[src]

pub fn set_flags(&mut self, value: Flags)[src]

pub fn id(&self) -> Id[src]

pub fn compliance(&mut self, value: Compliance)[src]

pub fn debug(&mut self, value: Debug)[src]

pub fn set_threading(&mut self, config: Config)[src]

pub fn threading(&self) -> Config[src]

pub fn set_parameters<P: Into<Parameters>>(
    &mut self,
    parameters: P
) -> Result<(), Error>
[src]

Trait Implementations

impl AsMut<Context> for Decoder[src]

impl AsMut<Context> for Video[src]

impl AsMut<Context> for Subtitle[src]

impl AsMut<Context> for Encoder[src]

impl AsMut<Context> for Audio[src]

impl AsMut<Context> for Subtitle[src]

impl AsMut<Context> for Opened[src]

impl AsMut<Context> for Encoder[src]

impl AsMut<Context> for Video[src]

impl AsMut<Context> for Encoder[src]

impl AsMut<Context> for Audio[src]

impl AsMut<Context> for Encoder[src]

impl AsRef<Context> for Decoder[src]

impl AsRef<Context> for Video[src]

impl AsRef<Context> for Subtitle[src]

impl AsRef<Context> for Encoder[src]

impl AsRef<Context> for Audio[src]

impl AsRef<Context> for Subtitle[src]

impl AsRef<Context> for Opened[src]

impl AsRef<Context> for Encoder[src]

impl AsRef<Context> for Video[src]

impl AsRef<Context> for Encoder[src]

impl AsRef<Context> for Audio[src]

impl AsRef<Context> for Encoder[src]

impl Clone for Context[src]

impl Default for Context[src]

impl Drop for Context[src]

impl Send for Context[src]

Auto Trait Implementations

impl !RefUnwindSafe for Context

impl !Sync for Context

impl Unpin for Context

impl !UnwindSafe for Context

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.