[FFmpeg-soc] [soc] Add choice of threading algorithm to AVCodecContext.

Alexander Strange astrange at ithinksw.com
Tue Jun 17 01:57:05 CEST 2008


 Use it to simplify USE_* macros.
 FF_THREAD_AUTO needs to be handled better - even if a codec can handle frame-threads, we still don't want to use them if there are enough slices available.
---
 libavcodec/avcodec.h |   10 ++++++++++
 libavcodec/thread.c  |   15 ++++++++++++++-
 libavcodec/thread.h  |    8 ++++++--
 libavcodec/utils.c   |    6 +++++-
 4 files changed, 35 insertions(+), 4 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c18108d9da618f32acce8c8d40e382c55aa19e11.diff
Type: text/x-patch
Size: 3970 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/attachments/20080616/bd68e326/attachment.bin>


More information about the FFmpeg-soc mailing list