From 9472d37d8e137df1e78e973b8b0e0d5607a799d5 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Fri, 9 Sep 2011 14:26:32 +0200 Subject: rv34: frame-level multi-threading Statistics for bourne.rmvb -an -f null 1 thread: 37.12s user 0.03s system 99% cpu 37.174 total 2 threads: 47.63s user 0.24s system 185% cpu 25.807 total 4 threads: 41.21s user 0.30s system 327% cpu 12.674 total --- libavcodec/rv34.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/rv34.h') diff --git a/libavcodec/rv34.h b/libavcodec/rv34.h index 3f3b879306..d86b009705 100644 --- a/libavcodec/rv34.h +++ b/libavcodec/rv34.h @@ -133,5 +133,7 @@ int ff_rv34_get_start_offset(GetBitContext *gb, int blocks); int ff_rv34_decode_init(AVCodecContext *avctx); int ff_rv34_decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt); int ff_rv34_decode_end(AVCodecContext *avctx); +int ff_rv34_decode_init_thread_copy(AVCodecContext *avctx); +int ff_rv34_decode_update_thread_context(AVCodecContext *dst, const AVCodecContext *src); #endif /* AVCODEC_RV34_H */ -- cgit v1.2.3