libgpac
Documentation of the core library of GPAC
smil_timing.c File Reference
#include <gpac/internal/scenegraph_dev.h>
#include <gpac/events.h>
#include <gpac/nodes_svg.h>
+ Include dependency graph for smil_timing.c:

Functions

static void gf_smil_timing_null_timed_function (SMIL_Timing_RTI *rti, Fixed normalized_scene_time, GF_SGSMILTimingEvalState state)
 
static void gf_smil_timing_print_interval (SMIL_Timing_RTI *rti, Bool current, SMIL_Interval *interval)
 
static void gf_smil_timing_compute_active_duration (SMIL_Timing_RTI *rti, SMIL_Interval *interval)
 
GF_EXPORT void gf_smil_set_media_duration (SMIL_Timing_RTI *rti, Double media_duration)
 
static void gf_smil_timing_get_interval_end (SMIL_Timing_RTI *rti, SMIL_Interval *interval)
 
static void gf_smil_timing_get_first_interval (SMIL_Timing_RTI *rti)
 
static Bool gf_smil_timing_get_next_interval (SMIL_Timing_RTI *rti, Bool current, SMIL_Interval *interval, Double scene_time)
 
static Bool gf_smil_timing_add_to_sg (GF_SceneGraph *sg, SMIL_Timing_RTI *rti)
 
static void gf_smil_mark_modified (SMIL_Timing_RTI *rti, Bool remove)
 
GF_EXPORT void gf_smil_timing_init_runtime_info (GF_Node *timed_elt)
 
static void gf_smil_timing_reset_time_list (GF_List *times)
 
void gf_smil_timing_delete_runtime_info (GF_Node *timed_elt, SMIL_Timing_RTI *rti)
 
GF_EXPORT Bool gf_smil_timing_is_active (GF_Node *node)
 
Bool gf_smil_notify_timed_elements (GF_SceneGraph *sg)
 
static Bool gf_smil_discard (SMIL_Timing_RTI *rti, Fixed scene_time)
 
static void gf_smil_reorder_anim (SMIL_Timing_RTI *rti)
 
s32 gf_smil_timing_notify_time (SMIL_Timing_RTI *rti, Double in_scene_time)
 
Fixed gf_smil_timing_get_normalized_simple_time (SMIL_Timing_RTI *rti, Double scene_time, Bool *force_end)
 
void gf_smil_timing_modified (GF_Node *node, GF_FieldInfo *field)
 
Bool gf_svg_resolve_smil_times (GF_Node *anim, void *event_base_element, GF_List *smil_times, Bool is_end, const char *node_name)
 
GF_EXPORT void gf_smil_timing_insert_clock (GF_Node *elt, Bool is_end, Double clock)
 
void gf_smil_timing_pause (GF_Node *node)
 
void gf_smil_timing_resume (GF_Node *node)
 
void gf_smil_set_evaluation_callback (GF_Node *node, gf_sg_smil_evaluate smil_evaluate)
 
GF_Nodegf_smil_get_element (SMIL_Timing_RTI *rti)
 
Double gf_smil_get_media_duration (SMIL_Timing_RTI *rti)
 

Function Documentation

◆ gf_smil_timing_null_timed_function()

static void gf_smil_timing_null_timed_function ( SMIL_Timing_RTI *  rti,
Fixed  normalized_scene_time,
GF_SGSMILTimingEvalState  state 
)
static
+ Here is the caller graph for this function:

◆ gf_smil_timing_print_interval()

static void gf_smil_timing_print_interval ( SMIL_Timing_RTI *  rti,
Bool  current,
SMIL_Interval interval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_compute_active_duration()

static void gf_smil_timing_compute_active_duration ( SMIL_Timing_RTI *  rti,
SMIL_Interval interval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_get_interval_end()

static void gf_smil_timing_get_interval_end ( SMIL_Timing_RTI *  rti,
SMIL_Interval interval 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_get_first_interval()

static void gf_smil_timing_get_first_interval ( SMIL_Timing_RTI *  rti)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_get_next_interval()

static Bool gf_smil_timing_get_next_interval ( SMIL_Timing_RTI *  rti,
Bool  current,
SMIL_Interval interval,
Double  scene_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_add_to_sg()

static Bool gf_smil_timing_add_to_sg ( GF_SceneGraph *  sg,
SMIL_Timing_RTI *  rti 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_mark_modified()

static void gf_smil_mark_modified ( SMIL_Timing_RTI *  rti,
Bool  remove 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_init_runtime_info()

GF_EXPORT void gf_smil_timing_init_runtime_info ( GF_Node timed_elt)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_reset_time_list()

static void gf_smil_timing_reset_time_list ( GF_List *  times)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_delete_runtime_info()

void gf_smil_timing_delete_runtime_info ( GF_Node timed_elt,
SMIL_Timing_RTI *  rti 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_discard()

static Bool gf_smil_discard ( SMIL_Timing_RTI *  rti,
Fixed  scene_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_reorder_anim()

static void gf_smil_reorder_anim ( SMIL_Timing_RTI *  rti)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_notify_time()

s32 gf_smil_timing_notify_time ( SMIL_Timing_RTI *  rti,
Double  in_scene_time 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_get_normalized_simple_time()

Fixed gf_smil_timing_get_normalized_simple_time ( SMIL_Timing_RTI *  rti,
Double  scene_time,
Bool force_end 
)
+ Here is the caller graph for this function:

◆ gf_svg_resolve_smil_times()

Bool gf_svg_resolve_smil_times ( GF_Node anim,
void *  event_base_element,
GF_List *  smil_times,
Bool  is_end,
const char *  node_name 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_timing_pause()

void gf_smil_timing_pause ( GF_Node node)
+ Here is the caller graph for this function:

◆ gf_smil_timing_resume()

void gf_smil_timing_resume ( GF_Node node)
+ Here is the caller graph for this function: