multithreaded/SMP motion estimation
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 13 Feb 2004 17:54:10 +0000 (17:54 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 13 Feb 2004 17:54:10 +0000 (17:54 +0000)
commit9c3d33d67f2260d5ddc888e8ea380c3913e38a72
tree46c82202d3f7c2964f7cace9e1131e97ada124bb
parent7984082a08cf2119da3433c245b72a91020b879d
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
17 files changed:
configure
ffmpeg.c
libavcodec/Makefile
libavcodec/avcodec.h
libavcodec/common.h
libavcodec/h263.c
libavcodec/mjpeg.c
libavcodec/motion_est.c
libavcodec/motion_est_template.c
libavcodec/mpeg12.c
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h
libavcodec/pthread.c [new file with mode: 0644]
libavcodec/utils.c
tests/ffmpeg.regression.ref
tests/regression.sh
tests/rotozoom.regression.ref