diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-14 21:19:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-23 01:38:47 +0200 |
commit | fde1bc64adbec49301c665efab2b49b94bb39c23 (patch) | |
tree | fb3cc9843435870852b113e3cb742278a6776f07 /libavcodec/internal.h | |
parent | 0c851e464229f50c440968c4c94b672e23f691af (diff) | |
download | ffmpeg-fde1bc64adbec49301c665efab2b49b94bb39c23.tar.gz |
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.h | 2 |
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 { |