pub struct Context<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Context<'a>
impl<'a> Context<'a>
pub unsafe fn wrap(ptr: *mut AVFilterContext) -> Self
pub unsafe fn as_ptr(&self) -> *const AVFilterContext
pub unsafe fn as_mut_ptr(&mut self) -> *mut AVFilterContext
sourceimpl<'a> Context<'a>
impl<'a> Context<'a>
pub fn source(&'a mut self) -> Source<'a>
pub fn sink(&'a mut self) -> Sink<'a>
pub fn set_pixel_format(&mut self, value: Pixel)
pub fn set_sample_format(&mut self, value: Sample)
pub fn set_sample_rate(&mut self, value: u32)
pub fn set_channel_layout(&mut self, value: ChannelLayout)
Trait Implementations
sourceimpl<'a> Settable for Context<'a>
impl<'a> Settable for Context<'a>
fn set<T: 'static>(&mut self, name: &str, value: &T) -> Result<(), Error>
fn set_str(&mut self, name: &str, value: &str) -> Result<(), Error>
fn set_int(&mut self, name: &str, value: i64) -> Result<(), Error>
fn set_double(&mut self, name: &str, value: f64) -> Result<(), Error>
fn set_rational<T: Into<Rational>>(
&mut self,
name: &str,
value: T
) -> Result<(), Error>
fn set_image_size(&mut self, name: &str, w: u32, h: u32) -> Result<(), Error>
fn set_pixel_format(&mut self, name: &str, format: Pixel) -> Result<(), Error>
fn set_sample_format(&mut self, name: &str, format: Sample) -> Result<(), Error>
fn set_channel_layout(
&mut self,
name: &str,
layout: ChannelLayout
) -> Result<(), Error>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Context<'a>
impl<'a> !Send for Context<'a>
impl<'a> !Sync for Context<'a>
impl<'a> Unpin for Context<'a>
impl<'a> UnwindSafe for Context<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more