GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
|
#include <gpac/internal/terminal_dev.h>
#include "media_memory.h"
#include <gpac/internal/compositor_dev.h>
Data Structures | |
struct | CodecEntry |
Enumerations | |
enum | { GF_MM_CE_RUNNING = 1, GF_MM_CE_HAS_ERROR = 1<<1, GF_MM_CE_THREADED = 1<<2, GF_MM_CE_REQ_THREAD = 1<<3, GF_MM_CE_DEAD = 1<<4, GF_MM_CE_DISCARDED = 1<<5 } |
Functions | |
u32 | MM_Loop (void *par) |
GF_Err | gf_term_init_scheduler (GF_Terminal *term, u32 threading_mode) |
void | gf_term_stop_scheduler (GF_Terminal *term) |
static CodecEntry * | mm_get_codec (GF_List *list, GF_Codec *codec) |
void | gf_term_add_codec (GF_Terminal *term, GF_Codec *codec) |
void | gf_term_remove_codec (GF_Terminal *term, GF_Codec *codec) |
Bool | gf_term_find_codec (GF_Terminal *term, GF_Codec *codec) |
static u32 | MM_SimulationStep_Decoder (GF_Terminal *term) |
u32 | RunSingleDec (void *ptr) |
void | gf_term_start_codec (GF_Codec *codec, Bool is_resume) |
void | gf_term_stop_codec (GF_Codec *codec, Bool is_pause) |
void | gf_term_set_threading (GF_Terminal *term, u32 mode) |
Bool | gf_term_lock_codec (GF_Codec *codec, Bool lock, Bool trylock) |
void | gf_term_set_priority (GF_Terminal *term, s32 Priority) |
u32 | gf_term_process_step (GF_Terminal *term) |
GF_Err | gf_term_process_flush (GF_Terminal *term) |
struct CodecEntry |
Data Fields | ||
---|---|---|
u32 | flags | |
GF_Codec * | dec | |
GF_Thread * | thread | |
GF_Mutex * | mx |
anonymous enum |
u32 MM_Loop | ( | void * | par | ) |
void gf_term_stop_scheduler | ( | GF_Terminal * | term | ) |
|
static |
void gf_term_add_codec | ( | GF_Terminal * | term, |
GF_Codec * | codec | ||
) |
void gf_term_remove_codec | ( | GF_Terminal * | term, |
GF_Codec * | codec | ||
) |
Bool gf_term_find_codec | ( | GF_Terminal * | term, |
GF_Codec * | codec | ||
) |
|
static |
u32 RunSingleDec | ( | void * | ptr | ) |
void gf_term_start_codec | ( | GF_Codec * | codec, |
Bool | is_resume | ||
) |
void gf_term_stop_codec | ( | GF_Codec * | codec, |
Bool | is_pause | ||
) |
void gf_term_set_threading | ( | GF_Terminal * | term, |
u32 | mode | ||
) |
void gf_term_set_priority | ( | GF_Terminal * | term, |
s32 | Priority | ||
) |
u32 gf_term_process_step | ( | GF_Terminal * | term | ) |
GF_Err gf_term_process_flush | ( | GF_Terminal * | term | ) |