libgpac
Documentation of the core library of GPAC
object_manager.c File Reference
+ Include dependency graph for object_manager.c:

Functions

GF_EXPORT GF_ObjectManager * gf_odm_new ()
 
void gf_odm_reset_media_control (GF_ObjectManager *odm, Bool signal_reset)
 
void gf_odm_del (GF_ObjectManager *odm)
 
void gf_odm_register_pid (GF_ObjectManager *odm, GF_FilterPid *pid, Bool register_only)
 
void gf_filter_pid_exec_event (GF_FilterPid *pid, GF_FilterEvent *evt)
 
GF_EXPORT void gf_odm_disconnect (GF_ObjectManager *odm, u32 do_remove)
 
static Bool gf_odm_should_auto_select (GF_ObjectManager *odm)
 
void gf_odm_setup_remote_object (GF_ObjectManager *odm, GF_SceneNamespace *parent_ns, char *remote_url, Bool for_addon)
 
GF_EXPORT void gf_odm_setup_object (GF_ObjectManager *odm, GF_SceneNamespace *parent_ns, GF_FilterPid *for_pid)
 
GF_EXPORT GF_Err gf_odm_setup_pid (GF_ObjectManager *odm, GF_FilterPid *pid)
 
void gf_odm_update_duration (GF_ObjectManager *odm, GF_FilterPid *pid)
 
void gf_odm_start (GF_ObjectManager *odm)
 
void gf_odm_play (GF_ObjectManager *odm)
 
void gf_odm_stop (GF_ObjectManager *odm, Bool force_close)
 
void gf_odm_on_eos (GF_ObjectManager *odm, GF_FilterPid *pid)
 
void gf_odm_signal_eos_reached (GF_ObjectManager *odm)
 
void gf_odm_set_timeshift_depth (GF_ObjectManager *odm, u32 stream_timeshift)
 
GF_Clock * gf_odm_get_media_clock (GF_ObjectManager *odm)
 
Bool gf_odm_shares_clock (GF_ObjectManager *odm, GF_Clock *ck)
 
void gf_odm_pause (GF_ObjectManager *odm)
 
void gf_odm_resume (GF_ObjectManager *odm)
 
void gf_odm_set_speed (GF_ObjectManager *odm, Fixed speed, Bool adjust_clock_speed)
 
GF_Segmentgf_odm_find_segment (GF_ObjectManager *odm, char *descName)
 
static void gf_odm_insert_segment (GF_ObjectManager *odm, GF_Segment *seg, GF_List *list)
 
void gf_odm_init_segments (GF_ObjectManager *odm, GF_List *list, MFURL *url)
 
static Bool odm_update_buffer (GF_Scene *scene, GF_ObjectManager *odm, GF_FilterPid *pid, Bool check_full_buffer, Bool *signal_eob)
 
Bool gf_odm_check_buffering (GF_ObjectManager *odm, GF_FilterPid *pid)
 
void gf_odm_collect_buffer_info (GF_SceneNamespace *scene_ns, GF_ObjectManager *odm, GF_DOMMediaEvent *media_event, u32 *min_time, u32 *min_buffer)
 
void gf_odm_service_media_event_with_download (GF_ObjectManager *odm, GF_EventType event_type, u64 loaded_size, u64 total_size, u32 bytes_per_sec, u32 buffer_level_plus_one, u32 min_buffer_time)
 
void gf_odm_service_media_event (GF_ObjectManager *odm, GF_EventType event_type)
 
Bool gf_odm_stop_or_destroy (GF_ObjectManager *odm)
 
static void get_codec_stats (GF_FilterPid *pid, GF_MediaInfo *info, Bool scalable_addon)
 
GF_EXPORT GF_Err gf_odm_get_object_info (GF_ObjectManager *odm, GF_MediaInfo *info)
 
void gf_odm_check_clock_mediatime (GF_ObjectManager *odm)
 

Function Documentation

◆ gf_odm_new()

GF_EXPORT GF_ObjectManager* gf_odm_new ( )
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_reset_media_control()

void gf_odm_reset_media_control ( GF_ObjectManager *  odm,
Bool  signal_reset 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_del()

void gf_odm_del ( GF_ObjectManager *  odm)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_register_pid()

void gf_odm_register_pid ( GF_ObjectManager *  odm,
GF_FilterPid *  pid,
Bool  register_only 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_filter_pid_exec_event()

void gf_filter_pid_exec_event ( GF_FilterPid *  pid,
GF_FilterEvent *  evt 
)
+ Here is the caller graph for this function:

◆ gf_odm_disconnect()

GF_EXPORT void gf_odm_disconnect ( GF_ObjectManager *  odm,
u32  do_remove 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_should_auto_select()

static Bool gf_odm_should_auto_select ( GF_ObjectManager *  odm)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_setup_remote_object()

void gf_odm_setup_remote_object ( GF_ObjectManager *  odm,
GF_SceneNamespace parent_ns,
char *  remote_url,
Bool  for_addon 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_setup_object()

GF_EXPORT void gf_odm_setup_object ( GF_ObjectManager *  odm,
GF_SceneNamespace parent_ns,
GF_FilterPid *  for_pid 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_setup_pid()

GF_EXPORT GF_Err gf_odm_setup_pid ( GF_ObjectManager *  odm,
GF_FilterPid *  pid 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_update_duration()

void gf_odm_update_duration ( GF_ObjectManager *  odm,
GF_FilterPid *  pid 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_start()

void gf_odm_start ( GF_ObjectManager *  odm)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_play()

void gf_odm_play ( GF_ObjectManager *  odm)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_stop()

void gf_odm_stop ( GF_ObjectManager *  odm,
Bool  force_close 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_on_eos()

void gf_odm_on_eos ( GF_ObjectManager *  odm,
GF_FilterPid *  pid 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_signal_eos_reached()

void gf_odm_signal_eos_reached ( GF_ObjectManager *  odm)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_set_timeshift_depth()

void gf_odm_set_timeshift_depth ( GF_ObjectManager *  odm,
u32  stream_timeshift 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_get_media_clock()

GF_Clock* gf_odm_get_media_clock ( GF_ObjectManager *  odm)
+ Here is the caller graph for this function:

◆ gf_odm_shares_clock()

Bool gf_odm_shares_clock ( GF_ObjectManager *  odm,
GF_Clock *  ck 
)
+ Here is the caller graph for this function:

◆ gf_odm_pause()

void gf_odm_pause ( GF_ObjectManager *  odm)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_resume()

void gf_odm_resume ( GF_ObjectManager *  odm)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_set_speed()

void gf_odm_set_speed ( GF_ObjectManager *  odm,
Fixed  speed,
Bool  adjust_clock_speed 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_find_segment()

GF_Segment* gf_odm_find_segment ( GF_ObjectManager *  odm,
char *  descName 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_insert_segment()

static void gf_odm_insert_segment ( GF_ObjectManager *  odm,
GF_Segment seg,
GF_List *  list 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_init_segments()

void gf_odm_init_segments ( GF_ObjectManager *  odm,
GF_List *  list,
MFURL url 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ odm_update_buffer()

static Bool odm_update_buffer ( GF_Scene *  scene,
GF_ObjectManager *  odm,
GF_FilterPid *  pid,
Bool  check_full_buffer,
Bool signal_eob 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_check_buffering()

Bool gf_odm_check_buffering ( GF_ObjectManager *  odm,
GF_FilterPid *  pid 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_collect_buffer_info()

void gf_odm_collect_buffer_info ( GF_SceneNamespace scene_ns,
GF_ObjectManager *  odm,
GF_DOMMediaEvent media_event,
u32 min_time,
u32 min_buffer 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_service_media_event_with_download()

void gf_odm_service_media_event_with_download ( GF_ObjectManager *  odm,
GF_EventType  event_type,
u64  loaded_size,
u64  total_size,
u32  bytes_per_sec,
u32  buffer_level_plus_one,
u32  min_buffer_time 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_service_media_event()

void gf_odm_service_media_event ( GF_ObjectManager *  odm,
GF_EventType  event_type 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_stop_or_destroy()

Bool gf_odm_stop_or_destroy ( GF_ObjectManager *  odm)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get_codec_stats()

static void get_codec_stats ( GF_FilterPid *  pid,
GF_MediaInfo info,
Bool  scalable_addon 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_odm_get_object_info()

GF_EXPORT GF_Err gf_odm_get_object_info ( GF_ObjectManager *  odm,
GF_MediaInfo info 
)
+ Here is the call graph for this function:

◆ gf_odm_check_clock_mediatime()

void gf_odm_check_clock_mediatime ( GF_ObjectManager *  odm)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: