#[repr(C)]pub struct AVFilterChannelLayouts {
pub channel_layouts: *mut u64,
pub nb_channel_layouts: c_int,
pub all_layouts: c_char,
pub all_counts: c_char,
pub refcount: c_uint,
pub refs: *mut *mut *mut AVFilterChannelLayouts,
}
Expand description
A list of supported channel layouts.
The list works the same as AVFilterFormats, except for the following differences:
- A list with all_layouts = 1 means all channel layouts with a known disposition; nb_channel_layouts must then be 0.
- A list with all_counts = 1 means all channel counts, with a known or unknown disposition; nb_channel_layouts must then be 0 and all_layouts 1.
- The list must not contain a layout with a known disposition and a channel count with unknown disposition with the same number of channels (e.g. AV_CH_LAYOUT_STEREO and FF_COUNT2LAYOUT(2).
Fields§
§channel_layouts: *mut u64
< list of channel layouts
nb_channel_layouts: c_int
< number of channel layouts
all_layouts: c_char
< accept any known channel layout
all_counts: c_char
< accept any channel layout or count
refcount: c_uint
< number of references to this list
refs: *mut *mut *mut AVFilterChannelLayouts
< references to this list
Trait Implementations§
Source§impl Clone for AVFilterChannelLayouts
impl Clone for AVFilterChannelLayouts
Source§fn clone(&self) -> AVFilterChannelLayouts
fn clone(&self) -> AVFilterChannelLayouts
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 moreSource§impl Debug for AVFilterChannelLayouts
impl Debug for AVFilterChannelLayouts
impl Copy for AVFilterChannelLayouts
Auto Trait Implementations§
impl Freeze for AVFilterChannelLayouts
impl RefUnwindSafe for AVFilterChannelLayouts
impl !Send for AVFilterChannelLayouts
impl !Sync for AVFilterChannelLayouts
impl Unpin for AVFilterChannelLayouts
impl UnwindSafe for AVFilterChannelLayouts
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