summaryrefslogtreecommitdiff
path: root/libavcodec/thread.h
diff options
context:
space:
mode:
authorMickaƫl Raulet <mraulet@insa-rennes.fr>2013-10-20 22:48:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-22 19:55:47 +0200
commite146c326b91297ff900db632eb0dba30289e9ee6 (patch)
treeddd66afe6f0dd4c9d2c8f6dade92fda7e15b663e /libavcodec/thread.h
parent519395e4ddbdafc6049c88f2867cde9a1f270a57 (diff)
downloadffmpeg-e146c326b91297ff900db632eb0dba30289e9ee6.tar.gz
avcodec/pthread: add wpp api
cherry picked from commit c7765f3295fe7dc0653161c6a3d3e1778b76ee67 cherry picked from commit 0008c4979fc1d1bc24d4d2c791715f6dd017563c Conflicts: libavcodec/utils.c Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/thread.h')
-rw-r--r--libavcodec/thread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libavcodec/thread.h b/libavcodec/thread.h
index 0dc04e0702..c848d7ae8b 100644
--- a/libavcodec/thread.h
+++ b/libavcodec/thread.h
@@ -135,4 +135,9 @@ int ff_thread_ref_frame(ThreadFrame *dst, ThreadFrame *src);
int ff_thread_init(AVCodecContext *s);
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);
+void ff_thread_await_progress2(AVCodecContext *avctx, int field, int thread, int shift);
+
#endif /* AVCODEC_THREAD_H */