#include "avcodec.h"
#include <windows.h>
#include <process.h>
Go to the source code of this file.
Data Structures | |
struct | ThreadContext |
Defines | |
#define | WIN32_LEAN_AND_MEAN |
Functions | |
static unsigned WINAPI attribute_align_arg | thread_func (void *v) |
void | avcodec_thread_free (AVCodecContext *s) |
Free what has been allocated by avcodec_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 | avcodec_thread_init (AVCodecContext *s, int thread_count) |
#define WIN32_LEAN_AND_MEAN |
Definition at line 24 of file w32thread.c.
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 96 of file w32thread.c.
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 119 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 75 of file w32thread.c.
Referenced by avcodec_close(), and avcodec_thread_init().
int avcodec_thread_init | ( | AVCodecContext * | s, | |
int | thread_count | |||
) |
Definition at line 127 of file w32thread.c.
Referenced by new_audio_stream(), new_video_stream(), opt_input_file(), read_ffserver_streams(), and stream_component_open().
static unsigned WINAPI attribute_align_arg thread_func | ( | void * | v | ) | [static] |
Definition at line 44 of file w32thread.c.