lavc: add frame multithreading capability (currently intra only)
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 14 Jun 2012 19:19:02 +0000 (21:19 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Jun 2012 23:38:47 +0000 (01:38 +0200)
commitfde1bc64adbec49301c665efab2b49b94bb39c23
treefb3cc9843435870852b113e3cb742278a6776f07
parent0c851e464229f50c440968c4c94b672e23f691af
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>
libavcodec/Makefile
libavcodec/frame_thread_encoder.c [new file with mode: 0644]
libavcodec/frame_thread_encoder.h [new file with mode: 0644]
libavcodec/internal.h
libavcodec/utils.c