* commit '129bb238430ec45a3b5f8f1d384df590ddf7b62f': lavfi: add a slice threading infrastructure Conflicts: Changelog cmdutils.c doc/APIchanges libavfilter/Makefile libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/internal.h libavfilter/version.h
Showing the changes to libavfilter/thread.h (1 of 11 files). Show all
Unified · Split
| @@ -0,0 +1,31 @@ | ||
| 1 | +/* | |
| 2 | + * | |
| 3 | + * This file is part of FFmpeg. | |
| 4 | + * | |
| 5 | + * FFmpeg is free software; you can redistribute it and/or | |
| 6 | + * modify it under the terms of the GNU Lesser General Public | |
| 7 | + * License as published by the Free Software Foundation; either | |
| 8 | + * version 2.1 of the License, or (at your option) any later version. | |
| 9 | + * | |
| 10 | + * FFmpeg is distributed in the hope that it will be useful, | |
| 11 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 12 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
| 13 | + * Lesser General Public License for more details. | |
| 14 | + * | |
| 15 | + * You should have received a copy of the GNU Lesser General Public | |
| 16 | + * License along with FFmpeg; if not, write to the Free Software | |
| 17 | + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | |
| 18 | + */ | |
| 19 | + | |
| 20 | +#ifndef AVFILTER_THREAD_H | |
| 21 | +#define AVFILTER_THREAD_H | |
| 22 | + | |
| 23 | +#include "avfilter.h" | |
| 24 | + | |
| 25 | +typedef int (action_func)(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs); | |
| 26 | + | |
| 27 | +int ff_graph_thread_init(AVFilterGraph *graph); | |
| 28 | + | |
| 29 | +void ff_graph_thread_free(AVFilterGraph *graph); | |
| 30 | + | |
| 31 | +#endif /* AVFILTER_THREAD_H */ | |