#[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,
pub alpha_modes: *mut AVFilterFormats,
}展开描述
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 AVFilterFormatsList of supported formats (pixel or sample).
samplerates: *mut AVFilterFormatsLists of supported sample rates, only for audio.
channel_layouts: *mut AVFilterChannelLayoutsLists of supported channel layouts, only for audio.
color_spaces: *mut AVFilterFormats< AVColorSpace
color_ranges: *mut AVFilterFormats< AVColorRange
alpha_modes: *mut AVFilterFormats< AVAlphaMode
trait 实现§
源代码§impl Clone for AVFilterFormatsConfig
impl Clone for AVFilterFormatsConfig
源代码§fn clone(&self) -> AVFilterFormatsConfig
fn clone(&self) -> AVFilterFormatsConfig
Returns a duplicate of the value. 阅读更多
1.0.0 · 源代码§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source 执行拷贝赋值。 阅读更多源代码§impl Debug for AVFilterFormatsConfig
impl Debug for AVFilterFormatsConfig
源代码§impl PartialEq for AVFilterFormatsConfig
impl PartialEq for AVFilterFormatsConfig
impl Copy for AVFilterFormatsConfig
impl Eq for AVFilterFormatsConfig
impl StructuralPartialEq for AVFilterFormatsConfig
自动 trait 实现§
impl Freeze for AVFilterFormatsConfig
impl RefUnwindSafe for AVFilterFormatsConfig
impl !Send for AVFilterFormatsConfig
impl !Sync for AVFilterFormatsConfig
impl Unpin for AVFilterFormatsConfig
impl UnsafeUnpin for AVFilterFormatsConfig
impl UnwindSafe for AVFilterFormatsConfig
blanket 实现§
源代码§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
源代码§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
从拥有的值可变地借用。 阅读更多