Struct AVFilterGraphSegment
#[repr(C)]pub struct AVFilterGraphSegment {
pub graph: *mut AVFilterGraph,
pub chains: *mut *mut AVFilterChain,
pub nb_chains: usize,
pub scale_sws_opts: *mut i8,
}
Expand description
A parsed representation of a filtergraph segment.
A filtergraph segment is conceptually a list of filterchains, with some supplementary information (e.g. format conversion flags).
Created by avfilter_graph_segment_parse(). Must be freed with avfilter_graph_segment_free().
Fields§
§graph: *mut AVFilterGraph
The filtergraph this segment is associated with. Set by avfilter_graph_segment_parse().
chains: *mut *mut AVFilterChain
A list of filter chain contained in this segment. Set in avfilter_graph_segment_parse().
nb_chains: usize
§scale_sws_opts: *mut i8
A string containing a colon-separated list of key=value options applied to all scale filters in this segment.
May be set by avfilter_graph_segment_parse(). The caller may free this string with av_free() and replace it with a different av_malloc()’ed string.
Trait Implementations§
§impl Clone for AVFilterGraphSegment
impl Clone for AVFilterGraphSegment
§fn clone(&self) -> AVFilterGraphSegment
fn clone(&self) -> AVFilterGraphSegment
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for AVFilterGraphSegment
impl Debug for AVFilterGraphSegment
impl Copy for AVFilterGraphSegment
Auto Trait Implementations§
impl Freeze for AVFilterGraphSegment
impl RefUnwindSafe for AVFilterGraphSegment
impl !Send for AVFilterGraphSegment
impl !Sync for AVFilterGraphSegment
impl Unpin for AVFilterGraphSegment
impl UnwindSafe for AVFilterGraphSegment
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more