os2thread.c File Reference

Go to the source code of this file.

Classes

struct  ThreadContext

Functions

void 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

void thread_func ( void *  v  ) 

Definition at line 42 of file os2thread.c.

Referenced by avcodec_thread_init().

void avcodec_thread_free ( AVCodecContext s  ) 

free what has been allocated by avcodec_thread_init().

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 66 of file os2thread.c.

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

Definition at line 84 of file os2thread.c.

int avcodec_thread_init ( AVCodecContext s,
int  thread_count 
)

Definition at line 112 of file os2thread.c.


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