#include <stdint.h>
#include "libavutil/audioconvert.h"
#include "libavcodec/avcodec.h"
#include "mov_chan.h"
Go to the source code of this file.
Data Structures | |
struct | MovChannelLayoutMap |
Functions | |
uint64_t | ff_mov_get_channel_layout (uint32_t tag, uint32_t bitmap) |
mov 'chan' tag reading/writing. More... | |
uint32_t | ff_mov_get_channel_label (uint32_t label) |
Get the channel layout for the specified channel layout tag. More... | |
uint32_t | ff_mov_get_channel_layout_tag (enum CodecID codec_id, uint64_t channel_layout, uint32_t *bitmap) |
Get the channel layout tag for the specified codec id and channel layout. More... | |
Variables | |
static const struct MovChannelLayoutMap | mov_ch_layout_map_misc [] |
static const struct MovChannelLayoutMap | mov_ch_layout_map_1ch [] |
static const struct MovChannelLayoutMap | mov_ch_layout_map_2ch [] |
static const struct MovChannelLayoutMap | mov_ch_layout_map_3ch [] |
static const struct MovChannelLayoutMap | mov_ch_layout_map_4ch [] |
static const struct MovChannelLayoutMap | mov_ch_layout_map_5ch [] |
static const struct MovChannelLayoutMap | mov_ch_layout_map_6ch [] |
static const struct MovChannelLayoutMap | mov_ch_layout_map_7ch [] |
static const struct MovChannelLayoutMap | mov_ch_layout_map_8ch [] |
static const struct MovChannelLayoutMap | mov_ch_layout_map_9ch [] |
static const struct MovChannelLayoutMap * | mov_ch_layout_map [] |
static enum MovChannelLayoutTag | mov_ch_layouts_aac [] |
static enum MovChannelLayoutTag | mov_ch_layouts_ac3 [] |
static enum MovChannelLayoutTag | mov_ch_layouts_alac [] |
struct { | |
enum CodecID codec_id | |
enum MovChannelLayoutTag * layouts | |
} | mov_codec_ch_layouts [] |
enum MovChannelLayoutTag |
mov 'chan' tag reading/writing.
Core Audio File Format Spec: "The high 16 bits indicates a specific ordering of the channels." Core Audio Data Types Reference: "These identifiers specify the channels included in a layout but do not specify a particular ordering of those channels."
Definition at line 47 of file mov_chan.c.
uint32_t ff_mov_get_channel_label | ( | uint32_t | label | ) |
Get the channel layout for the specified channel layout tag.
[in] | tag | channel label |
Definition at line 453 of file mov_chan.c.
Referenced by mov_read_chan().
uint64_t ff_mov_get_channel_layout | ( | uint32_t | tag, |
uint32_t | bitmap | ||
) |
mov 'chan' tag reading/writing.
[in] | tag | channel layout tag |
[out] | bitmap | channel bitmap (only used if needed) |
Definition at line 426 of file mov_chan.c.
Referenced by mov_read_chan().
uint32_t ff_mov_get_channel_layout_tag | ( | enum CodecID | codec_id, |
uint64_t | channel_layout, | ||
uint32_t * | bitmap | ||
) |
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.
[in] | codec_id | codec id |
[in] | channel_layout | channel layout |
[out] | bitmap | channel bitmap |
Definition at line 466 of file mov_chan.c.
Referenced by mov_write_chan_tag().
enum CodecID codec_id |
Definition at line 417 of file mov_chan.c.
Referenced by ac3_eac3_probe(), add_audio_stream(), add_video_stream(), audio_read_header(), audio_write_header(), av_guess_codec(), build_feed_streams(), ff_vbv_update(), list_formats(), matroska_read_header(), mpegps_read_packet(), new_audio_stream(), new_subtitle_stream(), new_video_stream(), pulse_read_header(), spdif_read_packet(), and v4l2_read_header().
enum MovChannelLayoutTag* layouts |
Definition at line 418 of file mov_chan.c.
Referenced by ff_mov_get_channel_layout_tag().
|
static |
Definition at line 346 of file mov_chan.c.
|
static |
Definition at line 156 of file mov_chan.c.
|
static |
Definition at line 160 of file mov_chan.c.
|
static |
Definition at line 174 of file mov_chan.c.
|
static |
Definition at line 185 of file mov_chan.c.
|
static |
Definition at line 207 of file mov_chan.c.
|
static |
Definition at line 226 of file mov_chan.c.
|
static |
Definition at line 246 of file mov_chan.c.
|
static |
Definition at line 274 of file mov_chan.c.
|
static |
Definition at line 333 of file mov_chan.c.
|
static |
Definition at line 141 of file mov_chan.c.
|
static |
Definition at line 359 of file mov_chan.c.
|
static |
Definition at line 386 of file mov_chan.c.
|
static |
Definition at line 404 of file mov_chan.c.
const { ... } mov_codec_ch_layouts[] |
Referenced by ff_mov_get_channel_layout_tag().