summaryrefslogtreecommitdiff
path: root/libavfilter/internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/internal.h')
-rw-r--r--libavfilter/internal.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/libavfilter/internal.h b/libavfilter/internal.h
index fbe935667f..f7df6d3b41 100644
--- a/libavfilter/internal.h
+++ b/libavfilter/internal.h
@@ -27,6 +27,7 @@
#include "avfilter.h"
#include "avfiltergraph.h"
#include "formats.h"
+#include "thread.h"
#include "video.h"
#define POOL_SIZE 32
@@ -141,6 +142,17 @@ struct AVFilterPad {
};
#endif
+struct AVFilterGraphInternal {
+ void *thread;
+ int (*thread_execute)(AVFilterContext *ctx, action_func *func, void *arg,
+ int *ret, int nb_jobs);
+};
+
+struct AVFilterInternal {
+ int (*execute)(AVFilterContext *ctx, action_func *func, void *arg,
+ int *ret, int nb_jobs);
+};
+
/** default handler for freeing audio/video buffer when there are no references left */
void ff_avfilter_default_free_buffer(AVFilterBuffer *buf);