Lines Matching defs:graph
301 AVFilterGraph *agraph; // audio filter graph
1109 /* graph height / 2 */
1797 static int configure_filtergraph(AVFilterGraph *graph, const char *filtergraph,
1801 int nb_filters = graph->nb_filters;
1822 if ((ret = avfilter_graph_parse_ptr(graph, filtergraph, &inputs, &outputs, NULL)) < 0)
1830 for (i = 0; i < graph->nb_filters - nb_filters; i++)
1831 FFSWAP(AVFilterContext*, graph->filters[i], graph->filters[i + nb_filters]);
1833 ret = avfilter_graph_config(graph, NULL);
1840 static int configure_video_filters(AVFilterGraph *graph, VideoState *is, const char *vfilters, AVFrame *frame)
1872 graph->scale_sws_opts = av_strdup(sws_flags_str);
1885 graph)) < 0)
1890 "ffplay_buffersink", NULL, NULL, graph);
1906 "ffplay_" name, arg, NULL, graph); \
1935 if ((ret = configure_filtergraph(graph, vfilters, filt_src, last_filter)) < 0)
2127 AVFilterGraph *graph = NULL;
2158 avfilter_graph_free(&graph);
2159 graph = avfilter_graph_alloc();
2160 if (!graph) {
2164 graph->nb_threads = filter_nbthreads;
2165 if ((ret = configure_video_filters(graph, is, vfilters_list ? vfilters_list[is->vfilter_idx] : NULL, frame)) < 0) {
2217 avfilter_graph_free(&graph);
3611 { "filter_threads", HAS_ARG | OPT_INT | OPT_EXPERT, { &filter_nbthreads }, "number of filter threads per graph" },