Struct AVFilterFormatsConfig
#[repr(C)]pub struct AVFilterFormatsConfig {
pub formats: *mut AVFilterFormats,
pub samplerates: *mut AVFilterFormats,
pub channel_layouts: *mut AVFilterChannelLayouts,
pub color_spaces: *mut AVFilterFormats,
pub color_ranges: *mut AVFilterFormats,
}
Expand description
Lists of formats / etc. supported by an end of a link.
This structure is directly part of AVFilterLink, in two copies: one for the source filter, one for the destination filter.
These lists are used for negotiating the format to actually be used, which will be loaded into the format and channel_layout members of AVFilterLink, when chosen.
Fields§
§formats: *mut AVFilterFormats
List of supported formats (pixel or sample).
samplerates: *mut AVFilterFormats
Lists of supported sample rates, only for audio.
channel_layouts: *mut AVFilterChannelLayouts
Lists of supported channel layouts, only for audio.
color_spaces: *mut AVFilterFormats
< AVColorSpace
color_ranges: *mut AVFilterFormats
< AVColorRange
Trait Implementations§
§impl Clone for AVFilterFormatsConfig
impl Clone for AVFilterFormatsConfig
§fn clone(&self) -> AVFilterFormatsConfig
fn clone(&self) -> AVFilterFormatsConfig
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 AVFilterFormatsConfig
impl Debug for AVFilterFormatsConfig
impl Copy for AVFilterFormatsConfig
Auto Trait Implementations§
impl Freeze for AVFilterFormatsConfig
impl RefUnwindSafe for AVFilterFormatsConfig
impl !Send for AVFilterFormatsConfig
impl !Sync for AVFilterFormatsConfig
impl Unpin for AVFilterFormatsConfig
impl UnwindSafe for AVFilterFormatsConfig
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