From e146c326b91297ff900db632eb0dba30289e9ee6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Raulet?= Date: Sun, 20 Oct 2013 22:48:03 +0200 Subject: avcodec/pthread: add wpp api cherry picked from commit c7765f3295fe7dc0653161c6a3d3e1778b76ee67 cherry picked from commit 0008c4979fc1d1bc24d4d2c791715f6dd017563c Conflicts: libavcodec/utils.c Signed-off-by: Michael Niedermayer --- libavcodec/thread.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libavcodec/thread.h') 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 */ -- cgit v1.2.1