audio conversion routines More...
#include "avstring.h"#include "avutil.h"#include "audioconvert.h"Go to the source code of this file.
Functions | |
| static const char * | get_channel_name (int channel_id) |
| 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. | |
Variables | |
| static const char *const | channel_names [] |
| struct { | |
| const char * name | |
| int nb_channels | |
| uint64_t layout | |
| } | channel_layout_map [] |
audio conversion routines
Definition in file audioconvert.c.
| static const char* get_channel_name | ( | int | channel_id | ) | [static] |
Definition at line 53 of file audioconvert.c.
Referenced by av_get_channel_layout_string().
struct { ... } channel_layout_map[] [static] |
Referenced by av_get_channel_layout(), and av_get_channel_layout_string().
const char* const channel_names[] [static] |
{
[0] = "FL",
[1] = "FR",
[2] = "FC",
[3] = "LFE",
[4] = "BL",
[5] = "BR",
[6] = "FLC",
[7] = "FRC",
[8] = "BC",
[9] = "SL",
[10] = "SR",
[11] = "TC",
[12] = "TFL",
[13] = "TFC",
[14] = "TFR",
[15] = "TBL",
[16] = "TBC",
[17] = "TBR",
[29] = "DL",
[30] = "DR",
}
Definition at line 30 of file audioconvert.c.
Referenced by get_channel_name().
| uint64_t layout |
Definition at line 63 of file audioconvert.c.
Referenced by av_get_channel_layout_string(), ff_alsa_open(), ff_mov_get_channel_layout_tag(), mxf_read_pixel_layout(), and truehd_layout().
| const char* name |
Definition at line 61 of file audioconvert.c.
Referenced by asf_read_ext_content_desc(), asf_read_marker(), asf_read_metadata(), av_dump_format(), av_get_channel_layout_string(), av_opt_next(), avi_read_nikon(), color_table_compare(), decode_info_header(), doTest(), ff_alsa_open(), init(), main(), matroska_convert_tag(), opt_loglevel(), parse_filter(), parse_inputs(), parse_link_name(), parse_outputs(), sdt_cb(), selfTest(), set_codec_from_probe_data(), show_formats(), show_protocols(), sws_format_name(), and wtvfile_open2().
| int nb_channels |
Definition at line 62 of file audioconvert.c.
Referenced by celt_header(), and main().