#[repr(C)]
pub struct AVFilterGraph {
Show 14 fields pub av_class: *const AVClass, pub filters: *mut *mut AVFilterContext, pub nb_filters: c_uint, pub scale_sws_opts: *mut c_char, pub resample_lavr_opts: *mut c_char, pub thread_type: c_int, pub nb_threads: c_int, pub internal: *mut AVFilterGraphInternal, pub opaque: *mut c_void, pub execute: avfilter_execute_func, pub aresample_swr_opts: *mut c_char, pub sink_links: *mut *mut AVFilterLink, pub sink_links_count: c_int, pub disable_auto_convert: c_uint,
}

Fields§

§av_class: *const AVClass§filters: *mut *mut AVFilterContext§nb_filters: c_uint§scale_sws_opts: *mut c_char

< sws options to use for the auto-inserted scale filters

§resample_lavr_opts: *mut c_char

< libavresample options to use for the auto-inserted resample filters

§thread_type: c_int

Type of multithreading allowed for filters in this graph. A combination of AVFILTER_THREAD_* flags.

May be set by the caller at any point, the setting will apply to all filters initialized after that. The default is allowing everything.

When a filter in this graph is initialized, this field is combined using bit AND with AVFilterContext.thread_type to get the final mask used for determining allowed threading types. I.e. a threading type needs to be set in both to be allowed.

§nb_threads: c_int

Maximum number of threads used by filters in this graph. May be set by the caller before adding any filters to the filtergraph. Zero (the default) means that the number of threads is determined automatically.

§internal: *mut AVFilterGraphInternal

Opaque object for libavfilter internal use.

§opaque: *mut c_void

Opaque user data. May be set by the caller to an arbitrary value, e.g. to be used from callbacks like @ref AVFilterGraph.execute. Libavfilter will not touch this field in any way.

§execute: avfilter_execute_func

This callback may be set by the caller immediately after allocating the graph and before adding any filters to it, to provide a custom multithreading implementation.

If set, filters with slice threading capability will call this callback to execute multiple jobs in parallel.

If this field is left unset, libavfilter will use its internal implementation, which may or may not be multithreaded depending on the platform and build options.

§aresample_swr_opts: *mut c_char

< swr options to use for the auto-inserted aresample filters, Access ONLY through AVOptions

§sink_links: *mut *mut AVFilterLink

Private fields

The following fields are for internal use only. Their type, offset, number and semantic can change without notice.

§sink_links_count: c_int§disable_auto_convert: c_uint

Trait Implementations§

source§

impl Clone for AVFilterGraph

source§

fn clone(&self) -> AVFilterGraph

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for AVFilterGraph

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl PartialEq for AVFilterGraph

source§

fn eq(&self, other: &AVFilterGraph) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for AVFilterGraph

source§

impl Eq for AVFilterGraph

source§

impl StructuralPartialEq for AVFilterGraph

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.