FFmpeg
|
#include "config.h"
#include <string.h>
#include "libavutil/avassert.h"
#include "libavutil/avstring.h"
#include "libavutil/bprint.h"
#include "libavutil/channel_layout.h"
#include "libavutil/internal.h"
#include "libavutil/opt.h"
#include "libavutil/pixdesc.h"
#include "framequeue.h"
#include "avfilter.h"
#include "buffersink.h"
#include "formats.h"
#include "internal.h"
#include "thread.h"
Go to the source code of this file.
Macros | |
#define | FF_INTERNAL_FIELDS 1 |
#define | OFFSET(x) offsetof(AVFilterGraph, x) |
#define | FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
#define | MERGE_DISPATCH(field, statement) |
#define | REDUCE_FORMATS(fmt_type, list_type, list, var, nb, add_format, unref_format) |
#define | CH_CENTER_PAIR (AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER) |
#define | CH_FRONT_PAIR (AV_CH_FRONT_LEFT | AV_CH_FRONT_RIGHT) |
#define | CH_STEREO_PAIR (AV_CH_STEREO_LEFT | AV_CH_STEREO_RIGHT) |
#define | CH_WIDE_PAIR (AV_CH_WIDE_LEFT | AV_CH_WIDE_RIGHT) |
#define | CH_SIDE_PAIR (AV_CH_SIDE_LEFT | AV_CH_SIDE_RIGHT) |
#define | CH_DIRECT_PAIR (AV_CH_SURROUND_DIRECT_LEFT | AV_CH_SURROUND_DIRECT_RIGHT) |
#define | CH_BACK_PAIR (AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT) |
Variables | |
static const AVOption | filtergraph_options [] |
static const AVClass | filtergraph_class |
static const uint64_t | ch_subst [][2] |
#define FF_INTERNAL_FIELDS 1 |
Definition at line 35 of file avfiltergraph.c.
#define OFFSET | ( | x | ) | offsetof(AVFilterGraph, x) |
Definition at line 44 of file avfiltergraph.c.
#define FLAGS AV_OPT_FLAG_VIDEO_PARAM|AV_OPT_FLAG_FILTERING_PARAM |
Definition at line 45 of file avfiltergraph.c.
#define MERGE_DISPATCH | ( | field, | |
statement | |||
) |
Referenced by query_formats().
#define REDUCE_FORMATS | ( | fmt_type, | |
list_type, | |||
list, | |||
var, | |||
nb, | |||
add_format, | |||
unref_format | |||
) |
Definition at line 748 of file avfiltergraph.c.
Referenced by reduce_formats_on_filter().
#define CH_CENTER_PAIR (AV_CH_FRONT_LEFT_OF_CENTER | AV_CH_FRONT_RIGHT_OF_CENTER) |
Definition at line 901 of file avfiltergraph.c.
#define CH_FRONT_PAIR (AV_CH_FRONT_LEFT | AV_CH_FRONT_RIGHT) |
Definition at line 902 of file avfiltergraph.c.
#define CH_STEREO_PAIR (AV_CH_STEREO_LEFT | AV_CH_STEREO_RIGHT) |
Definition at line 903 of file avfiltergraph.c.
#define CH_WIDE_PAIR (AV_CH_WIDE_LEFT | AV_CH_WIDE_RIGHT) |
Definition at line 904 of file avfiltergraph.c.
#define CH_SIDE_PAIR (AV_CH_SIDE_LEFT | AV_CH_SIDE_RIGHT) |
Definition at line 905 of file avfiltergraph.c.
#define CH_DIRECT_PAIR (AV_CH_SURROUND_DIRECT_LEFT | AV_CH_SURROUND_DIRECT_RIGHT) |
Definition at line 906 of file avfiltergraph.c.
#define CH_BACK_PAIR (AV_CH_BACK_LEFT | AV_CH_BACK_RIGHT) |
Definition at line 907 of file avfiltergraph.c.
void ff_graph_thread_free | ( | AVFilterGraph * | graph | ) |
Definition at line 68 of file avfiltergraph.c.
Referenced by avfilter_graph_free().
int ff_graph_thread_init | ( | AVFilterGraph * | graph | ) |
Definition at line 72 of file avfiltergraph.c.
Referenced by avfilter_graph_alloc_filter().
void ff_filter_graph_remove_filter | ( | AVFilterGraph * | graph, |
AVFilterContext * | filter | ||
) |
Remove a filter from a graph;.
Definition at line 99 of file avfiltergraph.c.
Referenced by avfilter_free().
|
static |
Check for the validity of graph.
A graph is considered valid if all its input and output pads are connected.
Definition at line 228 of file avfiltergraph.c.
Referenced by avfilter_graph_config().
|
static |
Configure all the links of graphctx.
Definition at line 266 of file avfiltergraph.c.
Referenced by avfilter_graph_config().
|
static |
Definition at line 294 of file avfiltergraph.c.
Referenced by filter_query_formats().
|
static |
Definition at line 309 of file avfiltergraph.c.
Referenced by query_formats().
|
static |
Definition at line 345 of file avfiltergraph.c.
Referenced by query_formats().
|
static |
Definition at line 368 of file avfiltergraph.c.
Referenced by can_merge_formats().
|
static |
Definition at line 381 of file avfiltergraph.c.
Referenced by query_formats().
|
static |
Perform one round of query_formats() and merging formats lists on the filter graph.
Definition at line 433 of file avfiltergraph.c.
Referenced by graph_config_formats().
|
static |
Definition at line 639 of file avfiltergraph.c.
Referenced by find_best_sample_fmt_of_2().
|
static |
Definition at line 662 of file avfiltergraph.c.
Referenced by pick_format().
|
static |
Definition at line 673 of file avfiltergraph.c.
Referenced by pick_formats().
|
static |
Definition at line 785 of file avfiltergraph.c.
Referenced by reduce_formats().
|
static |
Definition at line 835 of file avfiltergraph.c.
Referenced by graph_config_formats().
|
static |
Definition at line 852 of file avfiltergraph.c.
Referenced by swap_samplerates().
|
static |
Definition at line 893 of file avfiltergraph.c.
Referenced by graph_config_formats().
|
static |
Definition at line 935 of file avfiltergraph.c.
Referenced by swap_channel_layouts().
|
static |
Definition at line 1024 of file avfiltergraph.c.
Referenced by graph_config_formats().
|
static |
Definition at line 1032 of file avfiltergraph.c.
Referenced by swap_sample_fmts().
|
static |
Definition at line 1092 of file avfiltergraph.c.
Referenced by graph_config_formats().
|
static |
Definition at line 1101 of file avfiltergraph.c.
Referenced by graph_config_formats().
|
static |
Configure the formats of all the links in the graph.
Definition at line 1156 of file avfiltergraph.c.
Referenced by avfilter_graph_config().
|
static |
Definition at line 1184 of file avfiltergraph.c.
Referenced by avfilter_graph_config().
|
static |
Definition at line 1226 of file avfiltergraph.c.
Referenced by avfilter_graph_config().
|
static |
Definition at line 1343 of file avfiltergraph.c.
Referenced by ff_avfilter_graph_update_heap().
|
static |
Definition at line 1362 of file avfiltergraph.c.
Referenced by avfilter_graph_request_oldest(), and ff_avfilter_graph_update_heap().
void ff_avfilter_graph_update_heap | ( | AVFilterGraph * | graph, |
AVFilterLink * | link | ||
) |
Update the position of a link in the age heap.
Definition at line 1386 of file avfiltergraph.c.
Referenced by ff_update_link_current_pts().
int ff_filter_graph_run_once | ( | AVFilterGraph * | graph | ) |
Run one round of processing on a filter graph.
Definition at line 1437 of file avfiltergraph.c.
Referenced by avfilter_graph_request_oldest(), get_frame_internal(), and push_frame().
|
static |
Definition at line 46 of file avfiltergraph.c.
|
static |
Definition at line 59 of file avfiltergraph.c.
Referenced by avfilter_graph_alloc().
|
static |
Definition at line 911 of file avfiltergraph.c.