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
AgeCommit message (Collapse)Author
2017-12-26w32pthreads: always use Vista+ API, drop XP supportwm4
This removes the XP compatibility code, and switches entirely to SWR locks, which are available starting at Windows Vista. This removes CRITICAL_SECTION use, which allows us to add PTHREAD_MUTEX_INITIALIZER, which will be useful later. Windows XP is hereby not a supported build target anymore. It was decided in a project vote that this is OK.
2017-07-19avfilter/pthread: use slice threading from avutilMuhammad Faiz
Benchmark (with 2 cpus): ./ffmpeg -f rawvideo -s 1280x720 -t 1000 -i /dev/zero \ -filter_threads $threads -vf transpose=clock -f null null threads=2: old: 31.129s 31.446s 31.574s new: 29.602s 29.636s 29.656s threads=3 (nb_threads = nb_cpus + 1 is bad choice at this situation): old: 40.132s 40.279s 40.279s new: 39.308s 39.570s 39.693s threads=4: old: 31.306s 31.366s 31.654s new: 30.231s 30.360s 30.451s Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2017-03-29lavfi: fix race when func rets holder is NULLClément Bœsch
If ret is NULL, a dummy common holder is created to hold *all* the parallel function returns, which gets written concurrently. This commit simplify the whole logic by simply not writing to that holder when not set.
2016-02-24Merge commit '29c2d06d67724e994980045afa055c6c34611b30'Derek Buitenhuis
* commit '29c2d06d67724e994980045afa055c6c34611b30': cosmetics: Drop empty comment lines Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2016-02-18cosmetics: Drop empty comment linesDiego Biurrun
2016-01-24lavfi/pthread: fix perameters/parameters typoClément Bœsch
2016-01-20lavc,lavfi: use avutil/thread.h instead of redundant conditional includesClément Bœsch
This was somehow forgotten in a8bb81a05c519dd3f36cc341e5fb448f6d17fa73.
2014-04-22avfilter/pthread: Use av_mallocz_array()Michael Niedermayer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-22lavfi/pthread: Avoid crashes/odd behavior caused by spurious wakeupsDerek Buitenhuis
This is similar to 5152196b2b47d446d9a509b9bfb318daa26a1f2b. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-22pthread: Avoid crashes/odd behavior caused by spurious wakeupsDerek Buitenhuis
This is similar to 5152196b2b47d446d9a509b9bfb318daa26a1f2b. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-10-14Merge commit 'eb90a2091ffb94d8c29aaa5ff50f4192520254fc'Michael Niedermayer
* commit 'eb90a2091ffb94d8c29aaa5ff50f4192520254fc': pthread: Fix deadlock during thread initialization Conflicts: libavcodec/pthread.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-10-13pthread: Fix deadlock during thread initializationDerek Buitenhuis
Sometimes, if pthread_create() failed, then pthread_cond_wait() could accidentally be called in the worker threads after the uninit function had already called pthread_cond_broadcast(), leading to a deadlock. Don't call pthread_cond_wait() if c->done is set. Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2013-09-28Merge remote-tracking branch 'qatar/master'Michael Niedermayer
* qatar/master: lavfi: allow user-provided execute() callbacks Conflicts: libavfilter/avfilter.h libavfilter/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-09-28lavfi: allow user-provided execute() callbacksAnton Khirnov
2013-07-17Merge commit '50612484e058e8b241f0528584d64d9d2ccebf12'Michael Niedermayer
* commit '50612484e058e8b241f0528584d64d9d2ccebf12': pthread: Rename thread_init to avoid symbol collision Conflicts: libavcodec/pthread.c libavfilter/pthread.c See: 674d8a9629609a17fd6916164556cb012d6e6a1c Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-07-17pthread: Rename thread_init to avoid symbol collisionSean McGovern
The AIX threads library exposes a function with the same name. Signed-off-by: Martin Storsjö <martin@martin.st>
2013-06-30Rename thread_init() in libavcodec and libavfilter as library_thread_init().Carl Eugen Hoyos
The aix header sys/thread.h contains a definition for thread_init().
2013-05-28os2threads: move from lavc to compat/Dave Yeo
For useage in other places besides lavc. Needed after commit 90f9a5830b5d332de7ebb1ab45589f1870cbd65d Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-26av_cpu_count: factorize "detected %d logical cores" messageMichael Niedermayer
Also print the message just once Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24Merge commit '129bb238430ec45a3b5f8f1d384df590ddf7b62f'Michael Niedermayer
* commit '129bb238430ec45a3b5f8f1d384df590ddf7b62f': lavfi: add a slice threading infrastructure Conflicts: Changelog cmdutils.c doc/APIchanges libavfilter/Makefile libavfilter/avfilter.c libavfilter/avfilter.h libavfilter/avfiltergraph.c libavfilter/internal.h libavfilter/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
2013-05-24lavfi: add a slice threading infrastructureAnton Khirnov
Mostly based on libavcodec's