]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/thread.h
Merge commit '0337adfab5d14a17bf4d5060aa0425e4049a9862'
[ffmpeg] / libavcodec / thread.h
index 90864b59d92316ae8cd36c8c55830bde6853d195..318619316c9886202a287265a65d5b4cb51884f0 100644 (file)
@@ -133,8 +133,10 @@ void ff_thread_release_buffer(AVCodecContext *avctx, ThreadFrame *f);
 int ff_thread_ref_frame(ThreadFrame *dst, ThreadFrame *src);
 
 int ff_thread_init(AVCodecContext *s);
+int ff_slice_thread_execute_with_mainfunc(AVCodecContext *avctx,
+        int (*action_func2)(AVCodecContext *c, void *arg, int jobnr, int threadnr),
+        int (*main_func)(AVCodecContext *c), void *arg, int *ret, int job_count);
 void ff_thread_free(AVCodecContext *s);
-
 int ff_alloc_entries(AVCodecContext *avctx, int count);
 void ff_reset_entries(AVCodecContext *avctx);
 void ff_thread_report_progress2(AVCodecContext *avctx, int field, int thread, int n);