Struct rsmpeg::avfilter::AVFilterContextMut [−][src]
pub struct AVFilterContextMut<'a> { /* fields omitted */ }
Implementations
impl<'a> AVFilterContextMut<'a>
[src]
impl<'a> AVFilterContextMut<'a>
[src]pub unsafe fn from_raw(raw: NonNull<AVFilterContext>) -> Self
[src]
pub unsafe fn from_raw(raw: NonNull<AVFilterContext>) -> Self
[src]Safety
This function should only be called when raw
is valid and can
be dropped. Please ensure its lifetime when used.
Methods from Deref<Target = AVFilterContext>
pub fn as_ptr(&self) -> *const AVFilterContext
[src]
pub fn as_mut_ptr(&mut self) -> *mut AVFilterContext
[src]
pub unsafe fn set_ptr(&mut self, ptr: NonNull<AVFilterContext>)
[src]
pub unsafe fn set_ptr(&mut self, ptr: NonNull<AVFilterContext>)
[src]Safety
This function should only be called when the pointer is valid and the data it’s pointing to can be dropped.
pub fn set_property<U>(&mut self, key: &CStr, value: &U) -> Result<()>
[src]
pub fn set_property<U>(&mut self, key: &CStr, value: &U) -> Result<()>
[src]Set property of a AVFilterContext
.
pub fn buffersrc_add_frame(
&mut self,
frame: Option<AVFrame>,
flags: Option<i32>
) -> Result<()>
[src]
pub fn buffersrc_add_frame(
&mut self,
frame: Option<AVFrame>,
flags: Option<i32>
) -> Result<()>
[src]Add a frame to the buffer source.
pub fn buffersink_get_frame(&mut self, flags: Option<i32>) -> Result<AVFrame>
[src]
Trait Implementations
impl<'a> Deref for AVFilterContextMut<'a>
[src]
impl<'a> Deref for AVFilterContextMut<'a>
[src]type Target = AVFilterContext
type Target = AVFilterContext
The resulting type after dereferencing.
impl<'a> DerefMut for AVFilterContextMut<'a>
[src]
impl<'a> DerefMut for AVFilterContextMut<'a>
[src]