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

Functions

GF_Err gf_node_animation_add (GF_Node *node, void *animation)
 
GF_Err gf_node_animation_del (GF_Node *node)
 
u32 gf_node_animation_count (GF_Node *node)
 
void * gf_node_animation_get (GF_Node *node, u32 i)
 
GF_Err gf_node_animation_rem (GF_Node *node, u32 i)
 
void gf_svg_attributes_resolve_unspecified (GF_FieldInfo *in, GF_FieldInfo *p, GF_FieldInfo *t)
 
void gf_svg_attributes_resolve_inherit (GF_FieldInfo *in, GF_FieldInfo *prop)
 
void gf_svg_attributes_resolve_currentColor (GF_FieldInfo *in, GF_FieldInfo *current_color)
 
static void gf_smil_anim_set (SMIL_Anim_RTI *rai)
 
static void gf_smil_anim_use_keypoints_keytimes (SMIL_Anim_RTI *rai, Fixed normalized_simple_time, Fixed *interpolation_coefficient, u32 *keyValueIndex)
 
static void gf_smil_anim_animate_using_values (SMIL_Anim_RTI *rai, Fixed normalized_simple_time)
 
static void gf_smil_anim_animate_from_to (SMIL_Anim_RTI *rai, Fixed normalized_simple_time)
 
static void gf_smil_anim_animate_from_by (SMIL_Anim_RTI *rai, Fixed normalized_simple_time)
 
static void gf_svg_compute_path_anim (SMIL_Anim_RTI *rai, GF_Matrix2D *m, Fixed normalized_simple_time)
 
static void gf_smil_anim_animate_using_path (SMIL_Anim_RTI *rai, Fixed normalized_simple_time)
 
static void gf_smil_anim_compute_interpolation_value (SMIL_Anim_RTI *rai, Fixed normalized_simple_time)
 
void gf_smil_anim_set_anim_runtime_in_timing (GF_Node *n)
 
static void gf_smil_anim_get_last_specified_value (SMIL_Anim_RTI *rai)
 
static void gf_smil_anim_apply_accumulate (SMIL_Anim_RTI *rai)
 
static void gf_smil_apply_additive (SMIL_Anim_RTI *rai)
 
static void gf_smil_anim_animate (SMIL_Timing_RTI *rti, Fixed normalized_simple_time)
 
void gf_smil_anim_reset_variables (SMIL_Anim_RTI *rai)
 
static void gf_smil_anim_freeze (SMIL_Timing_RTI *rti, Fixed normalized_simple_time)
 
static void gf_smil_anim_remove (SMIL_Timing_RTI *rti, Fixed normalized_simple_time)
 
static void gf_smil_anim_evaluate (SMIL_Timing_RTI *rti, Fixed normalized_simple_time, GF_SGSMILTimingEvalState state)
 
GF_EXPORT void gf_svg_apply_animations (GF_Node *node, SVGPropertiesPointers *render_svg_props)
 
GF_Nodegf_smil_anim_get_target (GF_Node *e)
 
void gf_smil_anim_init_runtime_info (GF_Node *e)
 
void gf_smil_anim_delete_runtime_info (SMIL_Anim_RTI *rai)
 
void gf_smil_anim_remove_from_target (GF_Node *anim, GF_Node *target)
 
void gf_smil_anim_delete_animations (GF_Node *e)
 
void gf_smil_anim_init_discard (GF_Node *node)
 
void gf_smil_anim_init_node (GF_Node *node)
 

Variables

u32 time_spent_in_anim = 0
 

Function Documentation

◆ gf_node_animation_add()

GF_Err gf_node_animation_add ( GF_Node node,
void *  animation 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_node_animation_del()

GF_Err gf_node_animation_del ( GF_Node node)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_node_animation_get()

void* gf_node_animation_get ( GF_Node node,
u32  i 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_node_animation_rem()

GF_Err gf_node_animation_rem ( GF_Node node,
u32  i 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_svg_attributes_resolve_unspecified()

void gf_svg_attributes_resolve_unspecified ( GF_FieldInfo in,
GF_FieldInfo p,
GF_FieldInfo t 
)
+ Here is the caller graph for this function:

◆ gf_svg_attributes_resolve_inherit()

void gf_svg_attributes_resolve_inherit ( GF_FieldInfo in,
GF_FieldInfo prop 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_svg_attributes_resolve_currentColor()

void gf_svg_attributes_resolve_currentColor ( GF_FieldInfo in,
GF_FieldInfo current_color 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_set()

static void gf_smil_anim_set ( SMIL_Anim_RTI rai)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_use_keypoints_keytimes()

static void gf_smil_anim_use_keypoints_keytimes ( SMIL_Anim_RTI rai,
Fixed  normalized_simple_time,
Fixed interpolation_coefficient,
u32 keyValueIndex 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_animate_using_values()

static void gf_smil_anim_animate_using_values ( SMIL_Anim_RTI rai,
Fixed  normalized_simple_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_animate_from_to()

static void gf_smil_anim_animate_from_to ( SMIL_Anim_RTI rai,
Fixed  normalized_simple_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_animate_from_by()

static void gf_smil_anim_animate_from_by ( SMIL_Anim_RTI rai,
Fixed  normalized_simple_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_svg_compute_path_anim()

static void gf_svg_compute_path_anim ( SMIL_Anim_RTI rai,
GF_Matrix2D m,
Fixed  normalized_simple_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_animate_using_path()

static void gf_smil_anim_animate_using_path ( SMIL_Anim_RTI rai,
Fixed  normalized_simple_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_compute_interpolation_value()

static void gf_smil_anim_compute_interpolation_value ( SMIL_Anim_RTI rai,
Fixed  normalized_simple_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_set_anim_runtime_in_timing()

void gf_smil_anim_set_anim_runtime_in_timing ( GF_Node n)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_get_last_specified_value()

static void gf_smil_anim_get_last_specified_value ( SMIL_Anim_RTI rai)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_apply_accumulate()

static void gf_smil_anim_apply_accumulate ( SMIL_Anim_RTI rai)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_apply_additive()

static void gf_smil_apply_additive ( SMIL_Anim_RTI rai)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_animate()

static void gf_smil_anim_animate ( SMIL_Timing_RTI *  rti,
Fixed  normalized_simple_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_reset_variables()

void gf_smil_anim_reset_variables ( SMIL_Anim_RTI rai)
+ Here is the caller graph for this function:

◆ gf_smil_anim_freeze()

static void gf_smil_anim_freeze ( SMIL_Timing_RTI *  rti,
Fixed  normalized_simple_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_remove()

static void gf_smil_anim_remove ( SMIL_Timing_RTI *  rti,
Fixed  normalized_simple_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_evaluate()

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

◆ gf_smil_anim_get_target()

GF_Node* gf_smil_anim_get_target ( GF_Node e)
+ Here is the call graph for this function:

◆ gf_smil_anim_init_runtime_info()

void gf_smil_anim_init_runtime_info ( GF_Node e)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_delete_runtime_info()

void gf_smil_anim_delete_runtime_info ( SMIL_Anim_RTI rai)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_remove_from_target()

void gf_smil_anim_remove_from_target ( GF_Node anim,
GF_Node target 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_delete_animations()

void gf_smil_anim_delete_animations ( GF_Node e)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ gf_smil_anim_init_discard()

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

◆ gf_smil_anim_init_node()

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

Variable Documentation

◆ time_spent_in_anim

u32 time_spent_in_anim = 0