Revision 037be76e libavfilter/avfiltergraph.h

View differences:

libavfilter/avfiltergraph.h
53 53
int avfilter_graph_add_filter(AVFilterGraph *graphctx, AVFilterContext *filter);
54 54

  
55 55
/**
56
 * Create and add a filter instance into an existing graph.
57
 * The filter instance is created from the filter filt and inited
58
 * with the parameters args and opaque.
59
 *
60
 * In case of success put in *filt_ctx the pointer to the created
61
 * filter instance, otherwise set *filt_ctx to NULL.
62
 *
63
 * @param name the instance name to give to the created filter instance
64
 * @param graph_ctx the filter graph
65
 * @return a negative AVERROR error code in case of failure, a non
66
 * negative value otherwise
67
 */
68
int avfilter_graph_create_filter(AVFilterContext **filt_ctx, AVFilter *filt,
69
                                 const char *name, const char *args, void *opaque,
70
                                 AVFilterGraph *graph_ctx);
71

  
72
/**
56 73
 * Check validity and configure all the links and formats in the graph.
57 74
 *
58 75
 * @param graphctx the filter graph

Also available in: Unified diff