GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
media_manager.c File Reference
+ Include dependency graph for media_manager.c:

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 CodecEntrymm_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)
 

Data Structure Documentation

struct CodecEntry
+ Collaboration diagram for CodecEntry:
Data Fields
u32 flags
GF_Codec * dec
GF_Thread * thread
GF_Mutex * mx

Enumeration Type Documentation

anonymous enum
Enumerator
GF_MM_CE_RUNNING 
GF_MM_CE_HAS_ERROR 
GF_MM_CE_THREADED 
GF_MM_CE_REQ_THREAD 
GF_MM_CE_DEAD 
GF_MM_CE_DISCARDED 

Function Documentation

u32 MM_Loop ( void *  par)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_term_init_scheduler ( GF_Terminal *  term,
u32  threading_mode 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_term_stop_scheduler ( GF_Terminal *  term)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static CodecEntry* mm_get_codec ( GF_List *  list,
GF_Codec *  codec 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_term_add_codec ( GF_Terminal *  term,
GF_Codec *  codec 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_term_remove_codec ( GF_Terminal *  term,
GF_Codec *  codec 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_term_find_codec ( GF_Terminal *  term,
GF_Codec *  codec 
)

+ Here is the call graph for this function:

static u32 MM_SimulationStep_Decoder ( GF_Terminal *  term)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 RunSingleDec ( void *  ptr)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_term_start_codec ( GF_Codec *  codec,
Bool  is_resume 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_term_stop_codec ( GF_Codec *  codec,
Bool  is_pause 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_term_set_threading ( GF_Terminal *  term,
u32  mode 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_term_lock_codec ( GF_Codec *  codec,
Bool  lock,
Bool  trylock 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_term_set_priority ( GF_Terminal *  term,
s32  Priority 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_term_process_step ( GF_Terminal *  term)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_term_process_flush ( GF_Terminal *  term)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: