• michael's avatar
    multithreaded/SMP motion estimation · fb1addda
    michael authored
    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
    fb1addda
avcodec.h 61.5 KB