Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-14 23:19:02 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-06-23 03:38:47 +0400
commitfde1bc64adbec49301c665efab2b49b94bb39c23 (patch)
treefb3cc9843435870852b113e3cb742278a6776f07 /libavcodec/internal.h
parent0c851e464229f50c440968c4c94b672e23f691af (diff)
lavc: add frame multithreading capability (currently intra only)
Compared to the decoder side, this code is able to change both the delay and the number of threads seamlessly during encoding. Also any idle thread can pick up tasks, the strict round robin in order limit is gone too. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/internal.h')
-rw-r--r--libavcodec/internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/internal.h b/libavcodec/internal.h
index 198483a2f5..50f00ef152 100644
--- a/libavcodec/internal.h
+++ b/libavcodec/internal.h
@@ -82,6 +82,8 @@ typedef struct AVCodecInternal {
*/
uint8_t *byte_buffer;
unsigned int byte_buffer_size;
+
+ void *frame_thread_encoder;
} AVCodecInternal;
struct AVCodecDefault {