| Branch: | Revision:

ffmpeg / libavcodec / pthread.c @ 8a01fc47

History | View | Annotate | Download (4.53 KB)

# Date Author Comment
12013f67 05/26/2004 08:04 PM Michael Niedermayer

10l fixes by ("Debabrata Banerjee" <davatar at comcast dot net>)

Originally committed as revision 3161 to svn://

a8eb52a8 05/18/2004 01:53 AM Roman Shaposhnik
  • reimplementation using mutexes and condition variables.

Originally committed as revision 3138 to svn://

399cec2f 03/03/2004 07:29 PM Michael Niedermayer

count > thread_count for execute()

Originally committed as revision 2842 to svn://

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://

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