Modules | |
Audio channel masks | |
Audio channel convenience macros | |
Functions | |
uint64_t | av_get_channel_layout (const char *name) |
Return a channel layout id that matches name, 0 if no match. | |
void | av_get_channel_layout_string (char *buf, int buf_size, int nb_channels, uint64_t channel_layout) |
Return a description of a channel layout. | |
int | av_get_channel_layout_nb_channels (uint64_t channel_layout) |
Return the number of channels in the channel layout. | |
int64_t | av_get_default_channel_layout (int nb_channels) |
Return default channel layout for a given number of channels. |
uint64_t av_get_channel_layout | ( | const char * | name | ) |
Return a channel layout id that matches name, 0 if no match.
name can be one or several of the following notations, separated by '+' or '|':
Definition at line 105 of file audioconvert.c.
Referenced by avcodec_get_channel_layout(), ff_parse_channel_layout(), init(), and parse_channel_name().
int av_get_channel_layout_nb_channels | ( | uint64_t | channel_layout | ) |
Return the number of channels in the channel layout.
Definition at line 155 of file audioconvert.c.
Referenced by audio_decode_frame(), av_asrc_buffer_add_buffer(), av_get_channel_layout_string(), avcodec_channel_layout_num_channels(), avcodec_open2(), avfilter_default_get_audio_buffer(), config_output(), config_props(), ff_mov_get_channel_layout_tag(), filter_samples(), init(), init_buffers(), lavfi_read_header(), lavfi_read_packet(), main(), read_major_sync(), sane_layout(), stream_component_open(), swr_alloc_set_opts(), swr_init(), swri_rematrix(), swri_rematrix_init(), transcode_init(), and uninit().
void av_get_channel_layout_string | ( | char * | buf, | |
int | buf_size, | |||
int | nb_channels, | |||
uint64_t | channel_layout | |||
) |
Return a description of a channel layout.
If nb_channels is <= 0, it is guessed from the channel_layout.
buf | put here the string containing the channel layout | |
buf_size | size in bytes of the buffer |
Definition at line 121 of file audioconvert.c.
Referenced by avcodec_get_channel_layout_string(), avcodec_string(), config_output(), config_props(), dprint_options(), ff_alsa_open(), ff_dlog_link(), filter_samples(), init(), log_input_change(), oggvorbis_init_encoder(), and print_digraph().
int64_t av_get_default_channel_layout | ( | int | nb_channels | ) |
Return default channel layout for a given number of channels.
Definition at line 164 of file audioconvert.c.
Referenced by audio_decode_frame(), do_audio_out(), get_channel_layout_single(), init(), stream_component_open(), swr_init(), and transcode_init().