#include "avcodec.h"#include <OS.h>Go to the source code of this file.
Data Structures | |
| struct | ThreadContext |
| struct | benaphore |
Functions | |
| static int | lock_ben (struct benaphore *ben) |
| static int | unlock_ben (struct benaphore *ben) |
| static int32 | ff_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) |
| int | avcodec_thread_lock_lib (void) |
| int | avcodec_thread_unlock_lib (void) |
| void | initialize_after (void) |
| void | uninitialize_before (void) |
Variables | |
| static struct benaphore | av_thread_lib_ben |
| 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 95 of file beosthread.c.
Referenced by avcodec_thread_execute2(), and avcodec_thread_init().
| 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 78 of file beosthread.c.
| int avcodec_thread_init | ( | AVCodecContext * | s, | |
| int | thread_count | |||
| ) |
Definition at line 120 of file beosthread.c.
| int avcodec_thread_lock_lib | ( | void | ) |
Definition at line 159 of file beosthread.c.
| int avcodec_thread_unlock_lib | ( | void | ) |
Definition at line 164 of file beosthread.c.
| static int32 ff_thread_func | ( | void * | v | ) | [static] |
| void initialize_after | ( | void | ) |
Definition at line 171 of file beosthread.c.
| static int lock_ben | ( | struct benaphore * | ben | ) | [inline, static] |
| void uninitialize_before | ( | void | ) |
Definition at line 177 of file beosthread.c.
| static int unlock_ben | ( | struct benaphore * | ben | ) | [inline, static] |
struct benaphore av_thread_lib_ben [static] |
Definition at line 54 of file beosthread.c.
Referenced by avcodec_thread_lock_lib(), avcodec_thread_unlock_lib(), initialize_after(), and uninitialize_before().
1.5.8