aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/thread.h
Commit message (Collapse)AuthorAgeFilesLines
* Unbreak avcodec_thread_initReimar Döffinger2011-03-281-1/+1
| | | | avcodec_thread_init currently doesn't do anything at all with pthreads enabled.
* Deprecate avcodec_thread_init()Alexander Strange2011-02-111-0/+3
| | | | | | | | | | | | | | | As a side effect of the last commit, avcodec_open() now calls it automatically, so there is no longer any need for clients to call it. Instead they should set AVCodecContext.thread_count. avcodec_thread_free() is deprecated, and will be removed from avcodec.h at the next MAJOR libavcodec bump. Rename the functions to ff_thread_init/free, since they are now internal. Wrappers are provided to maintain API compatibility. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit c0b102ca03fe92250f1ce620aec3836f529fc1d6)
* Frame-based multithreading framework using pthreadsAlexander Strange2011-02-111-0/+111
See doc/multithreading.txt for details on use in codecs. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>