#include "avcodec.h"
#include <os2.h>
Go to the source code of this file.
Data Structures | |
struct | ThreadContext |
Defines | |
#define | INCL_DOS |
#define | INCL_DOSERRORS |
#define | INCL_DOSDEVIOCTL |
Functions | |
static void 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) |
int | avcodec_thread_init (AVCodecContext *s, int thread_count) |
#define INCL_DOS |
Definition at line 26 of file os2thread.c.
#define INCL_DOSDEVIOCTL |
Definition at line 28 of file os2thread.c.
#define INCL_DOSERRORS |
Definition at line 27 of file os2thread.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 84 of file os2thread.c.
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_init | ( | AVCodecContext * | s, | |
int | thread_count | |||
) |
Definition at line 112 of file os2thread.c.
static void attribute_align_arg thread_func | ( | void * | v | ) | [static] |