Move channel_layout_fixed.h to rust (#28)
* Move channel layout definitions to Rust * Add channel layouts new in 6.1 * Add new AVChannelLayout consts * Add new channel layout values to ChannelLayout * Realign ChannelLayout consts
This commit is contained in:
@ -30,34 +30,48 @@ bitflags! {
|
||||
const LOW_FREQUENCY_2 = AV_CH_LOW_FREQUENCY_2;
|
||||
const NATIVE = AV_CH_LAYOUT_NATIVE;
|
||||
|
||||
const MONO = AV_CH_LAYOUT_MONO;
|
||||
const STEREO = AV_CH_LAYOUT_STEREO;
|
||||
const _2POINT1 = AV_CH_LAYOUT_2POINT1;
|
||||
const _2_1 = AV_CH_LAYOUT_2_1;
|
||||
const SURROUND = AV_CH_LAYOUT_SURROUND;
|
||||
const _3POINT1 = AV_CH_LAYOUT_3POINT1;
|
||||
const _4POINT0 = AV_CH_LAYOUT_4POINT0;
|
||||
const _4POINT1 = AV_CH_LAYOUT_4POINT1;
|
||||
const _2_2 = AV_CH_LAYOUT_2_2;
|
||||
const QUAD = AV_CH_LAYOUT_QUAD;
|
||||
const _5POINT0 = AV_CH_LAYOUT_5POINT0;
|
||||
const _5POINT1 = AV_CH_LAYOUT_5POINT1;
|
||||
const _5POINT0_BACK = AV_CH_LAYOUT_5POINT0_BACK;
|
||||
const _5POINT1_BACK = AV_CH_LAYOUT_5POINT1_BACK;
|
||||
const _6POINT0 = AV_CH_LAYOUT_6POINT0;
|
||||
const _6POINT0_FRONT = AV_CH_LAYOUT_6POINT0_FRONT;
|
||||
const HEXAGONAL = AV_CH_LAYOUT_HEXAGONAL;
|
||||
const _6POINT1 = AV_CH_LAYOUT_6POINT1;
|
||||
const _6POINT1_BACK = AV_CH_LAYOUT_6POINT1_BACK;
|
||||
const _6POINT1_FRONT = AV_CH_LAYOUT_6POINT1_FRONT;
|
||||
const _7POINT0 = AV_CH_LAYOUT_7POINT0;
|
||||
const _7POINT0_FRONT = AV_CH_LAYOUT_7POINT0_FRONT;
|
||||
const _7POINT1 = AV_CH_LAYOUT_7POINT1;
|
||||
const _7POINT1_WIDE = AV_CH_LAYOUT_7POINT1_WIDE;
|
||||
const _7POINT1_WIDE_BACK = AV_CH_LAYOUT_7POINT1_WIDE_BACK;
|
||||
const OCTAGONAL = AV_CH_LAYOUT_OCTAGONAL;
|
||||
const HEXADECAGONAL = AV_CH_LAYOUT_HEXADECAGONAL;
|
||||
const STEREO_DOWNMIX = AV_CH_LAYOUT_STEREO_DOWNMIX;
|
||||
const MONO = AV_CH_LAYOUT_MONO;
|
||||
const STEREO = AV_CH_LAYOUT_STEREO;
|
||||
const _2POINT1 = AV_CH_LAYOUT_2POINT1;
|
||||
const _2_1 = AV_CH_LAYOUT_2_1;
|
||||
const SURROUND = AV_CH_LAYOUT_SURROUND;
|
||||
const _3POINT1 = AV_CH_LAYOUT_3POINT1;
|
||||
const _4POINT0 = AV_CH_LAYOUT_4POINT0;
|
||||
const _4POINT1 = AV_CH_LAYOUT_4POINT1;
|
||||
const _2_2 = AV_CH_LAYOUT_2_2;
|
||||
const QUAD = AV_CH_LAYOUT_QUAD;
|
||||
const _5POINT0 = AV_CH_LAYOUT_5POINT0;
|
||||
const _5POINT1 = AV_CH_LAYOUT_5POINT1;
|
||||
const _5POINT0_BACK = AV_CH_LAYOUT_5POINT0_BACK;
|
||||
const _5POINT1_BACK = AV_CH_LAYOUT_5POINT1_BACK;
|
||||
const _6POINT0 = AV_CH_LAYOUT_6POINT0;
|
||||
const _6POINT0_FRONT = AV_CH_LAYOUT_6POINT0_FRONT;
|
||||
const HEXAGONAL = AV_CH_LAYOUT_HEXAGONAL;
|
||||
#[cfg(feature = "ffmpeg_5_1")]
|
||||
const _3POINT1POINT2 = AV_CH_LAYOUT_3POINT1POINT2;
|
||||
const _6POINT1 = AV_CH_LAYOUT_6POINT1;
|
||||
const _6POINT1_BACK = AV_CH_LAYOUT_6POINT1_BACK;
|
||||
const _6POINT1_FRONT = AV_CH_LAYOUT_6POINT1_FRONT;
|
||||
const _7POINT0 = AV_CH_LAYOUT_7POINT0;
|
||||
const _7POINT0_FRONT = AV_CH_LAYOUT_7POINT0_FRONT;
|
||||
const _7POINT1 = AV_CH_LAYOUT_7POINT1;
|
||||
const _7POINT1_WIDE = AV_CH_LAYOUT_7POINT1_WIDE;
|
||||
const _7POINT1_WIDE_BACK = AV_CH_LAYOUT_7POINT1_WIDE_BACK;
|
||||
#[cfg(feature = "ffmpeg_5_1")]
|
||||
const _5POINT1POINT2_BACK = AV_CH_LAYOUT_5POINT1POINT2_BACK;
|
||||
const OCTAGONAL = AV_CH_LAYOUT_OCTAGONAL;
|
||||
#[cfg(feature = "ffmpeg_5_1")]
|
||||
const CUBE = AV_CH_LAYOUT_CUBE;
|
||||
#[cfg(feature = "ffmpeg_5_1")]
|
||||
const _5POINT1POINT4_BACK = AV_CH_LAYOUT_5POINT1POINT4_BACK;
|
||||
#[cfg(feature = "ffmpeg_5_1")]
|
||||
const _7POINT1POINT2 = AV_CH_LAYOUT_7POINT1POINT2;
|
||||
#[cfg(feature = "ffmpeg_5_1")]
|
||||
const _7POINT1POINT4_BACK = AV_CH_LAYOUT_7POINT1POINT4_BACK;
|
||||
const HEXADECAGONAL = AV_CH_LAYOUT_HEXADECAGONAL;
|
||||
const STEREO_DOWNMIX = AV_CH_LAYOUT_STEREO_DOWNMIX;
|
||||
#[cfg(feature = "ffmpeg_5_1")]
|
||||
const _22POINT2 = AV_CH_LAYOUT_22POINT2;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user