| FFmpeg
    | 
#include <ctype.h>#include "libavutil/avstring.h"#include "libavutil/channel_layout.h"#include "libavutil/common.h"#include "libavutil/mathematics.h"#include "libavutil/mem.h"#include "libavutil/opt.h"#include "libavutil/samplefmt.h"#include "audio.h"#include "avfilter.h"#include "filters.h"#include "formats.h"Go to the source code of this file.
| Data Structures | |
| struct | ChannelMap | 
| struct | ChannelMapContext | 
| Macros | |
| #define | OFFSET(x) offsetof(ChannelMapContext, x) | 
| #define | A AV_OPT_FLAG_AUDIO_PARAM | 
| #define | F AV_OPT_FLAG_FILTERING_PARAM | 
| Enumerations | |
| enum | MappingMode { MAP_NONE, MAP_ONE_INT, MAP_ONE_STR, MAP_PAIR_INT_INT, MAP_PAIR_INT_STR, MAP_PAIR_STR_INT, MAP_PAIR_STR_STR } | 
| Functions | |
| AVFILTER_DEFINE_CLASS (channelmap) | |
| static void | channelmap_uninit (AVFilterContext *ctx) | 
| static char * | split (char *message, char delim) | 
| static int | get_channel_idx (char **map, int *ch, char delim) | 
| static int | get_channel (char **map, int *ch, char delim) | 
| static int | check_idx_and_id (AVFilterContext *ctx, int channel_idx, int channel, AVChannelLayout *ch_layout, const char *io) | 
| static av_cold int | channelmap_init (AVFilterContext *ctx) | 
| static int | channelmap_query_formats (const AVFilterContext *ctx, AVFilterFormatsConfig **cfg_in, AVFilterFormatsConfig **cfg_out) | 
| static int | channelmap_filter_frame (AVFilterLink *inlink, AVFrame *buf) | 
| static int | channelmap_config_input (AVFilterLink *inlink) | 
| Variables | |
| static const AVOption | channelmap_options [] | 
| static const AVFilterPad | avfilter_af_channelmap_inputs [] | 
| const FFFilter | ff_af_channelmap | 
audio channel mapping filter
Definition in file af_channelmap.c.
| #define OFFSET | ( | x | ) | offsetof(ChannelMapContext, x) | 
Definition at line 69 of file af_channelmap.c.
| #define A AV_OPT_FLAG_AUDIO_PARAM | 
Definition at line 70 of file af_channelmap.c.
| #define F AV_OPT_FLAG_FILTERING_PARAM | 
Definition at line 71 of file af_channelmap.c.
| enum MappingMode | 
| Enumerator | |
|---|---|
| MAP_NONE | |
| MAP_ONE_INT | |
| MAP_ONE_STR | |
| MAP_PAIR_INT_INT | |
| MAP_PAIR_INT_STR | |
| MAP_PAIR_STR_INT | |
| MAP_PAIR_STR_STR | |
Definition at line 48 of file af_channelmap.c.
| AVFILTER_DEFINE_CLASS | ( | channelmap | ) | 
| 
 | static | 
Definition at line 82 of file af_channelmap.c.
| 
 | static | 
Definition at line 89 of file af_channelmap.c.
Referenced by arith2_get_scaled_value(), arith2_rescale_interval(), av1_frame_split_filter(), can_split(), cbs_vp8_bool_decoder_read_bool(), decode_cu_r(), decode_filter(), derive_mode_type_condition(), dirac_unpack_block_motion_data(), encode_block(), get_channel(), get_channel_idx(), handle_file(), hls_coding_tree(), intra_prediction_unit(), main(), mode_type_decode(), mss4_decode_image_block(), output_client_manifest(), quant_band_template(), read_hybrid_uint(), read_mfra(), write_fragments(), and wv_unpack_dsd_high().
| 
 | static | 
Definition at line 96 of file af_channelmap.c.
Referenced by channelmap_init().
| 
 | static | 
Definition at line 116 of file af_channelmap.c.
Referenced by channelmap_init().
| 
 | static | 
Definition at line 128 of file af_channelmap.c.
Referenced by channelmap_config_input(), and channelmap_init().
| 
 | static | 
Definition at line 152 of file af_channelmap.c.
| 
 | static | 
Definition at line 340 of file af_channelmap.c.
| 
 | static | 
Definition at line 364 of file af_channelmap.c.
| 
 | static | 
Definition at line 411 of file af_channelmap.c.
| 
 | static | 
Definition at line 72 of file af_channelmap.c.
| 
 | static | 
Definition at line 438 of file af_channelmap.c.
| const FFFilter ff_af_channelmap | 
Definition at line 448 of file af_channelmap.c.
 1.8.17
 1.8.17