#[repr(C)]pub struct AVFilterGraphSegment {
pub graph: *mut AVFilterGraph,
pub chains: *mut *mut AVFilterChain,
pub nb_chains: usize,
pub scale_sws_opts: *mut c_char,
}
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 c_char
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§
Source§impl Clone for AVFilterGraphSegment
impl Clone for AVFilterGraphSegment
Source§fn clone(&self) -> AVFilterGraphSegment
fn clone(&self) -> AVFilterGraphSegment
Returns a duplicate 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 moreSource§impl Debug for AVFilterGraphSegment
impl Debug for AVFilterGraphSegment
Source§impl PartialEq for AVFilterGraphSegment
impl PartialEq for AVFilterGraphSegment
impl Copy for AVFilterGraphSegment
impl Eq for AVFilterGraphSegment
impl StructuralPartialEq 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