Libav 0.7.1
|
Go to the source code of this file.
Data Structures | |
struct | ThreadContext |
Defines | |
#define | WIN32_LEAN_AND_MEAN |
Typedefs | |
typedef struct ThreadContext | ThreadContext |
Functions | |
static unsigned WINAPI attribute_align_arg | thread_func (void *v) |
void | ff_thread_free (AVCodecContext *s) |
Free what has been allocated by ff_thread_init(). | |
static int | avcodec_thread_execute (AVCodecContext *s, int(*func)(AVCodecContext *c2, void *arg2), void *arg, int *ret, int count, int size) |
static int | avcodec_thread_execute2 (AVCodecContext *s, int(*func)(AVCodecContext *c2, void *arg2, int, int), void *arg, int *ret, int count) |
int | ff_thread_init (AVCodecContext *s) |
#define WIN32_LEAN_AND_MEAN |
Definition at line 25 of file w32thread.c.
typedef struct ThreadContext ThreadContext |
static int avcodec_thread_execute | ( | AVCodecContext * | s, |
int(*)(AVCodecContext *c2, void *arg2) | func, | ||
void * | arg, | ||
int * | ret, | ||
int | count, | ||
int | size | ||
) | [static] |
Definition at line 97 of file w32thread.c.
Referenced by avcodec_thread_execute2(), and ff_thread_init().
static int avcodec_thread_execute2 | ( | AVCodecContext * | s, |
int(*)(AVCodecContext *c2, void *arg2, int, int) | func, | ||
void * | arg, | ||
int * | ret, | ||
int | count | ||
) | [static] |
Definition at line 120 of file w32thread.c.
Referenced by ff_thread_init().
void ff_thread_free | ( | AVCodecContext * | s | ) |
Free what has been allocated by ff_thread_init().
Must be called after decoding has finished, especially do not call while avcodec_thread_execute() is running.
Definition at line 76 of file w32thread.c.
int ff_thread_init | ( | AVCodecContext * | s | ) |
Definition at line 128 of file w32thread.c.
static unsigned WINAPI attribute_align_arg thread_func | ( | void * | v | ) | [static] |
Definition at line 45 of file w32thread.c.
Referenced by ff_thread_init().