From 9c3d33d67f2260d5ddc888e8ea380c3913e38a72 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 13 Feb 2004 17:54:10 +0000 Subject: 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 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 --- libavcodec/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavcodec/Makefile') diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 8bfaf7efe5..65cf5d51e4 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -33,6 +33,10 @@ CLEANAMR=cleanamrfloat endif endif +ifeq ($(HAVE_PTHREADS),yes) +OBJS+= pthread.o +endif + ifeq ($(AMR_WB),yes) OBJS+= amr.o amrwb_float/dec_acelp.o amrwb_float/dec_dtx.o amrwb_float/dec_gain.o \ amrwb_float/dec_if.o amrwb_float/dec_lpc.o amrwb_float/dec_main.o \ -- cgit v1.2.3