w32thread.c File Reference

Go to the source code of this file.

Classes

struct  ThreadContext

Functions

static unsigned __stdcall
attribute_align_arg 
thread_func (void *v)
void avcodec_thread_free (AVCodecContext *s)
 Free what has been allocated by avcodec_thread_init().
int avcodec_thread_execute (AVCodecContext *s, int(*func)(AVCodecContext *c2, void *arg2), void **arg, int *ret, int count)
int avcodec_thread_init (AVCodecContext *s, int thread_count)


Function Documentation

static unsigned __stdcall attribute_align_arg thread_func ( void *  v  )  [static]

Definition at line 39 of file w32thread.c.

void avcodec_thread_free ( AVCodecContext s  ) 

Free what has been allocated by avcodec_thread_init().

Must be called after decoding has finished, especially do not call while avcodec_thread_execute() is running.

Definition at line 61 of file w32thread.c.

Referenced by avcodec_close(), avcodec_thread_init(), and NuppelVideoRecorder::KillChildren().

int avcodec_thread_execute ( AVCodecContext s,
int(*)(AVCodecContext *c2, void *arg2)  func,
void **  arg,
int *  ret,
int  count 
)

Definition at line 77 of file w32thread.c.

Referenced by avcodec_thread_init().

int avcodec_thread_init ( AVCodecContext s,
int  thread_count 
)


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5