Mercurial > libavcodec.hg
view oggvorbis.h @ 1799:95612d423fde libavcodec
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
author | michael |
---|---|
date | Fri, 13 Feb 2004 17:54:10 +0000 |
parents | 1e39f273ecd6 |
children |
line wrap: on
line source
/** * @file oggvorbis.h * oggvorbis. */ #ifndef AVCODEC_OGGVORBIS_H #define AVCODEC_OGGVORBIS_H #include <vorbis/vorbisenc.h> #include "avcodec.h" int oggvorbis_init_encoder(vorbis_info *vi, AVCodecContext *avccontext) ; #endif