Originally committed as revision 12730 to svn://svn.ffmpeg.org/ffmpeg/trunk
Unified · Split
| @@ -87,8 +87,6 @@ typedef struct · 86 unmodified lines | |||
| 87 | } AVFilterGraphDescParser; | 87 | } AVFilterGraphDescParser; |
| 88 | 88 | ||
| 89 | extern AVFilter avfilter_vf_graph; | 89 | extern AVFilter avfilter_vf_graph; |
| 90 | extern AVFilter avfilter_vf_graphfile; | ||
| 91 | extern AVFilter avfilter_vf_graphdesc; | ||
| 92 | 90 | ||
| 93 | /** | 91 | /** |
| 94 | * Parse a graph composed of a simple chain of filters which is described by | 92 | * Parse a graph composed of a simple chain of filters which is described by |
| @@ -98,27 +96,6 @@ extern AVFilter avfilter_vf_graphdesc; · 3 unmodified lines | |||
| 98 | */ | 96 | */ |
| 99 | AVFilterGraphDesc *avfilter_graph_parse_chain(const char *filters); | 97 | AVFilterGraphDesc *avfilter_graph_parse_chain(const char *filters); |
| 100 | 98 | ||
| 101 | /** Parse a line of a filter graph description. | ||
| 102 | * @param desc Pointer to an AVFilterGraphDesc pointer. If *desc is NULL, | ||
| 103 | * a new AVFilterGraphDesc structure will be created for you. | ||
| 104 | * Must be the same between multiple invocations when parsing | ||
| 105 | * the same description. | ||
| 106 | * @param parser Parser state. Must be the same between multiple invocations | ||
| 107 | * when parsing the same description | ||
| 108 | * @param line Line of the graph description to parse. | ||
| 109 | * @return Zero on success, negative on error. | ||
| 110 | */ | ||
| 111 | int avfilter_graph_parse_desc(AVFilterGraphDesc **desc, | ||
| 112 | AVFilterGraphDescParser **parser, | ||
| 113 | char *line); | ||
| 114 | |||
| 115 | /** | ||
| 116 | * Load a filter graph description from a file. | ||
| 117 | * @param filename Name of the file from which to load the description. | ||
| 118 | * @return Pointer to the description on success, NULL on failure. | ||
| 119 | */ | ||
| 120 | AVFilterGraphDesc *avfilter_graph_load_desc(const char *filename); | ||
| 121 | |||
| 122 | /** | 99 | /** |
| 123 | * Free a filter graph description. | 100 | * Free a filter graph description. |
| 124 | * @param desc The graph description to free | 101 | * @param desc The graph description to free |