]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commit
multithreaded/SMP motion estimation
authormichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 13 Feb 2004 17:54:10 +0000 (17:54 +0000)
committermichael <michael@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Fri, 13 Feb 2004 17:54:10 +0000 (17:54 +0000)
commitfb1addda14e8e85ca0f7f7c2fe3fbb2ae8e3090f
treec1a3aee74191a2921cdd88598a6df4a18fe5b4dc
parent5a15eacf7c27b25727e26a559fbcd59e8932de39
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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@2772 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
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