Go to the source code of this file.
|
static uint64_t | mov_get_channel_layout (uint32_t tag, uint32_t bitmap) |
| Get the channel layout for the specified channel layout tag. More...
|
|
static uint64_t | mov_get_channel_mask (uint32_t label) |
|
static uint32_t | mov_get_channel_label (enum AVChannel channel) |
|
int | ff_mov_get_channel_layout_tag (const AVCodecParameters *par, uint32_t *layout, uint32_t *bitmap, uint32_t **pchannel_desc) |
| Get the channel layout tag for the specified codec id and channel layout. More...
|
|
int | ff_mov_read_chan (AVFormatContext *s, AVIOContext *pb, AVStream *st, int64_t size) |
| Read 'chan' tag from the input stream. More...
|
|
int | ff_mov_get_channel_config_from_layout (const AVChannelLayout *layout, int *config) |
| Get ISO/IEC 23001-8 ChannelConfiguration from AVChannelLayout. More...
|
|
int | ff_mov_get_channel_layout_from_config (int config, AVChannelLayout *layout) |
| Get AVChannelLayout from ISO/IEC 23001-8 ChannelConfiguration. More...
|
|
int | ff_mov_get_channel_positions_from_layout (const AVChannelLayout *layout, uint8_t *position, int position_num) |
| Get ISO/IEC 23001-8 OutputChannelPosition from AVChannelLayout. More...
|
|
int | ff_mov_get_layout_from_channel_positions (const uint8_t *position, int position_num, AVChannelLayout *layout) |
| Get AVChannelLayout from ISO/IEC 23001-8 OutputChannelPosition. More...
|
|
◆ mov_get_channel_layout()
static uint64_t mov_get_channel_layout |
( |
uint32_t |
tag, |
|
|
uint32_t |
bitmap |
|
) |
| |
|
static |
Get the channel layout for the specified channel layout tag.
- Parameters
-
[in] | tag | channel layout tag |
[out] | bitmap | channel bitmap (only used if needed) |
- Returns
- channel layout
Definition at line 353 of file mov_chan.c.
Referenced by ff_mov_read_chan().
◆ mov_get_channel_mask()
static uint64_t mov_get_channel_mask |
( |
uint32_t |
label | ) |
|
|
static |
◆ mov_get_channel_label()
static uint32_t mov_get_channel_label |
( |
enum AVChannel |
channel | ) |
|
|
static |
◆ ff_mov_get_channel_layout_tag()
int ff_mov_get_channel_layout_tag |
( |
const AVCodecParameters * |
par, |
|
|
uint32_t * |
layout, |
|
|
uint32_t * |
bitmap, |
|
|
uint32_t ** |
pchannel_desc |
|
) |
| |
Get the channel layout tag for the specified codec id and channel layout.
If the layout tag was not found, use a channel bitmap if possible.
- Parameters
-
[in] | codec_id | codec id |
[in] | channel_layout | channel layout |
[out] | bitmap | channel bitmap |
- Returns
- channel layout tag
Definition at line 418 of file mov_chan.c.
Referenced by mov_write_chan_tag().
◆ ff_mov_read_chan()
◆ ff_mov_get_channel_config_from_layout()
◆ ff_mov_get_channel_layout_from_config()
◆ ff_mov_get_channel_positions_from_layout()
int ff_mov_get_channel_positions_from_layout |
( |
const AVChannelLayout * |
layout, |
|
|
uint8_t * |
position, |
|
|
int |
position_num |
|
) |
| |
◆ ff_mov_get_layout_from_channel_positions()
int ff_mov_get_layout_from_channel_positions |
( |
const uint8_t * |
position, |
|
|
int |
position_num, |
|
|
AVChannelLayout * |
layout |
|
) |
| |
◆ mov_ch_layout_map_misc
◆ mov_ch_layout_map_1ch
◆ mov_ch_layout_map_2ch
◆ mov_ch_layout_map_3ch
◆ mov_ch_layout_map_4ch
◆ mov_ch_layout_map_5ch
◆ mov_ch_layout_map_6ch
◆ mov_ch_layout_map_7ch
◆ mov_ch_layout_map_8ch
◆ mov_ch_layout_map_9ch
◆ mov_ch_layout_map
◆ mov_ch_layouts_aac
◆ mov_ch_layouts_ac3
◆ mov_ch_layouts_alac
◆ mov_ch_layouts_wav
◆ codec_id
◆ layouts
◆ mov_codec_ch_layouts
const { ... } mov_codec_ch_layouts[] |
◆ iso_channel_configuration
◆ iso_channel_position
@ MOV_CH_LAYOUT_QUADRAPHONIC
#define AV_CH_LAYOUT_7POINT0
#define AV_CH_LAYOUT_6POINT1
@ MOV_CH_LAYOUT_MPEG_4_0_A
#define AV_CH_LAYOUT_5POINT0_BACK
@ MOV_CH_LAYOUT_MPEG_5_1_A
#define AV_CH_TOP_FRONT_CENTER
@ MOV_CH_LAYOUT_DTS_6_1_D
#define AV_CH_LAYOUT_MONO
@ MOV_CH_LAYOUT_DTS_8_0_A
@ MOV_CH_LAYOUT_AUDIOUNIT_7_0_FRONT
@ MOV_CH_LAYOUT_AC3_3_0_1
@ MOV_CH_LAYOUT_AUDIOUNIT_7_0
#define AV_CH_LAYOUT_HEXAGONAL
#define AV_CH_LAYOUT_6POINT0_FRONT
#define AV_CH_LAYOUT_6POINT1_FRONT
@ MOV_CH_LAYOUT_AMBISONIC_B_FORMAT
@ MOV_CH_LAYOUT_DTS_6_0_A
@ MOV_CH_LAYOUT_MATRIXSTEREO
#define AV_CH_LAYOUT_6POINT0
@ MOV_CH_LAYOUT_MPEG_5_0_A
@ MOV_CH_LAYOUT_MPEG_5_1_D
static enum MovChannelLayoutTag mov_ch_layouts_alac[]
@ MOV_CH_LAYOUT_DTS_6_0_B
#define AV_CH_LAYOUT_STEREO
#define AV_CH_LAYOUT_QUAD
@ MOV_CH_LAYOUT_AC3_1_0_1
#define AV_CH_LOW_FREQUENCY
@ MOV_CH_LAYOUT_HEXAGONAL
@ MOV_CH_LAYOUT_MPEG_5_1_C
@ MOV_CH_LAYOUT_EAC3_6_1_A
static const struct MovChannelLayoutMap mov_ch_layout_map_7ch[]
@ MOV_CH_LAYOUT_DTS_8_1_A
#define AV_CH_LAYOUT_7POINT0_FRONT
#define AV_CH_LAYOUT_STEREO_DOWNMIX
@ MOV_CH_LAYOUT_DTS_8_1_B
@ MOV_CH_LAYOUT_MPEG_7_1_B
@ MOV_CH_LAYOUT_PENTAGONAL
@ MOV_CH_LAYOUT_SMPTE_DTV
static const struct MovChannelLayoutMap mov_ch_layout_map_1ch[]
#define MOV_CH_LAYOUT_UNKNOWN
@ MOV_CH_LAYOUT_EAC3_6_0_A
@ MOV_CH_LAYOUT_DTS_6_1_C
#define AV_CH_LAYOUT_5POINT1
@ MOV_CH_LAYOUT_MPEG_3_0_B
#define AV_CH_FRONT_LEFT_OF_CENTER
@ MOV_CH_LAYOUT_EAC3_6_1_C
@ MOV_CH_LAYOUT_STEREOHEADPHONES
@ MOV_CH_LAYOUT_DISCRETEINORDER
@ MOV_CH_LAYOUT_MPEG_5_1_B
@ MOV_CH_LAYOUT_MPEG_7_1_A
@ MOV_CH_LAYOUT_DTS_6_1_A
#define AV_CH_LAYOUT_5POINT1_BACK
@ MOV_CH_LAYOUT_MPEG_3_0_A
#define AV_CH_FRONT_RIGHT_OF_CENTER
#define AV_CH_LAYOUT_3POINT1
static const struct MovChannelLayoutMap mov_ch_layout_map_5ch[]
#define AV_CH_LAYOUT_5POINT0
@ MOV_CH_LAYOUT_MPEG_5_0_D
static const struct MovChannelLayoutMap mov_ch_layout_map_9ch[]
static const struct MovChannelLayoutMap mov_ch_layout_map_8ch[]
#define AV_CH_LAYOUT_2POINT1
#define AV_CH_LAYOUT_4POINT1
#define AV_CH_BACK_CENTER
@ MOV_CH_LAYOUT_MPEG_6_1_A
#define AV_CH_LAYOUT_7POINT1_WIDE
@ MOV_CH_LAYOUT_AUDIOUNIT_6_0
@ MOV_CH_LAYOUT_AC3_2_1_1
@ MOV_CH_LAYOUT_MPEG_4_0_B
@ MOV_CH_LAYOUT_MPEG_5_0_C
#define AV_CH_LAYOUT_SURROUND
@ MOV_CH_LAYOUT_TMH_10_2_FULL
static const struct MovChannelLayoutMap mov_ch_layout_map_6ch[]
@ MOV_CH_LAYOUT_EAC3_7_0_A
@ MOV_CH_LAYOUT_MPEG_7_1_C
static enum MovChannelLayoutTag mov_ch_layouts_aac[]
@ MOV_CH_LAYOUT_AAC_OCTAGONAL
@ MOV_CH_LAYOUT_DTS_6_0_C
static const struct MovChannelLayoutMap mov_ch_layout_map_2ch[]
@ MOV_CH_LAYOUT_AC3_3_1_1
@ MOV_CH_LAYOUT_MPEG_5_0_B
@ MOV_CH_LAYOUT_DTS_6_1_B
#define AV_CH_LAYOUT_4POINT0
#define AV_CH_LAYOUT_6POINT1_BACK
static const struct MovChannelLayoutMap mov_ch_layout_map_3ch[]
static const struct MovChannelLayoutMap mov_ch_layout_map_misc[]
@ MOV_CH_LAYOUT_TMH_10_2_STD
static enum MovChannelLayoutTag mov_ch_layouts_wav[]
static enum MovChannelLayoutTag mov_ch_layouts_ac3[]
@ MOV_CH_LAYOUT_EAC3_6_1_B
static const struct MovChannelLayoutMap mov_ch_layout_map_4ch[]
@ MOV_CH_LAYOUT_USE_BITMAP
@ MOV_CH_LAYOUT_USE_DESCRIPTIONS