Benoit Fouet
4a287145c2
Remove avcodec_thread_execute from avcodec.h, and make static functions that
...
need it in *thread.c.
Originally committed as revision 22544 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
68cf92ee5e
Always call avcodec_thread_init()
...
The various avcodec_thread_init() functions are updated to return
immediately after setting avctx->thread_count. This allows -threads 0
to pass through to codecs. It also simplifies the usage for apps
using libavcodec.
Originally committed as revision 21358 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Roman Shaposhnik
3a84713aaa
Making it easier to send arbitrary structures as work orders to MT workers
...
Originally committed as revision 15804 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Dave Yeo
b96644bfe3
Add attribute_align_arg to os2thread.c.
...
Patch by Dave Yeo.
Originally committed as revision 12447 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
755bfeabcc
misc spelling fixes
...
Originally committed as revision 9289 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
2029f312e8
Remove redundant #inclusion of common.h, avcodec.h already #includes it.
...
Originally committed as revision 8967 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
10265a1aa9
Remove redundant #ifdef HAVE_THREAD, the file is only compiled
...
if that condition holds anyway.
Originally committed as revision 7029 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
538389c981
Fix FSF postal address.
...
Originally committed as revision 5829 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
e2a5fd2049
os2 thread, network and freetype2 support by (Paul Smedley | paulat a t smedleydot d o t info)
...
Originally committed as revision 4922 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
16806499fc
w32threads by (Gildas Bazin <gbazin at altern dot org>)
...
Originally committed as revision 2803 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago
Michael Niedermayer
9c3d33d67f
multithreaded/SMP motion estimation
...
multithreaded/SMP encoding for MPEG1/MPEG2/MPEG4/H263
all pthread specific code is in pthread.c
to try it, run configure --enable-pthreads and ffmpeg ... -threads <num>
the internal thread API is a simple AVCodecContext.execute() callback which executes a given function pointer with different arguments and returns after finishing all, that way no mutexes or other thread-mess is needed outside pthread.c
Originally committed as revision 2772 to svn://svn.ffmpeg.org/ffmpeg/trunk
21 years ago