[][src]Struct ffmpeg_dev::sys::AVFilterChannelLayouts

#[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,
}

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

impl Clone for AVFilterChannelLayouts[src]

impl Copy for AVFilterChannelLayouts[src]

impl Debug for AVFilterChannelLayouts[src]

Auto Trait Implementations

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]