Statistics
| Branch: | Revision:

ffmpeg / libavcodec / pthread.c @ 399cec2f

History | View | Annotate | Download (6.21 KB)

# Date Author Comment
399cec2f 03/03/2004 07:29 PM Michael Niedermayer

count > thread_count for execute()

Originally committed as revision 2842 to svn://svn.ffmpeg.org/ffmpeg/trunk

16806499 02/19/2004 08:29 PM Michael Niedermayer

w32threads by (Gildas Bazin <gbazin at altern dot org>)

Originally committed as revision 2803 to svn://svn.ffmpeg.org/ffmpeg/trunk

9c3d33d6 02/13/2004 05:54 PM Michael Niedermayer

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...