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
Showing
- configure 10 additions, 0 deletionsconfigure
- ffmpeg.c 74 additions, 1 deletionffmpeg.c
- libavcodec/Makefile 4 additions, 0 deletionslibavcodec/Makefile
- libavcodec/avcodec.h 32 additions, 1 deletionlibavcodec/avcodec.h
- libavcodec/common.h 22 additions, 0 deletionslibavcodec/common.h
- libavcodec/h263.c 18 additions, 11 deletionslibavcodec/h263.c
- libavcodec/mjpeg.c 8 additions, 3 deletionslibavcodec/mjpeg.c
- libavcodec/motion_est.c 10 additions, 11 deletionslibavcodec/motion_est.c
- libavcodec/motion_est_template.c 20 additions, 14 deletionslibavcodec/motion_est_template.c
- libavcodec/mpeg12.c 3 additions, 1 deletionlibavcodec/mpeg12.c
- libavcodec/mpegvideo.c 562 additions, 368 deletionslibavcodec/mpegvideo.c
- libavcodec/mpegvideo.h 15 additions, 4 deletionslibavcodec/mpegvideo.h
- libavcodec/pthread.c 139 additions, 0 deletionslibavcodec/pthread.c
- libavcodec/utils.c 12 additions, 0 deletionslibavcodec/utils.c
- tests/ffmpeg.regression.ref 7 additions, 1 deletiontests/ffmpeg.regression.ref
- tests/regression.sh 23 additions, 1 deletiontests/regression.sh
- tests/rotozoom.regression.ref 7 additions, 1 deletiontests/rotozoom.regression.ref
Loading
Please register or sign in to comment