[−][src]Struct ffmpeg_next::codec::context::Context
Implementations
impl Context
[src]
pub unsafe fn wrap(
ptr: *mut AVCodecContext,
owner: Option<Rc<dyn Drop>>
) -> Self
[src]
ptr: *mut AVCodecContext,
owner: Option<Rc<dyn Drop>>
) -> Self
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]
&mut self,
parameters: P
) -> Result<(), Error>
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]
fn clone(&self) -> Self
[src]
fn clone_from(&mut self, source: &Self)
[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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut 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>,