libgpac
Documentation of the core library of GPAC
svg_grouping.c File Reference
#include "visual_manager.h"
#include "nodes_stacks.h"
#include "offscreen_cache.h"
#include <gpac/internal/scenegraph_dev.h>
#include <gpac/mediaobject.h>
#include <gpac/nodes_svg.h>
#include <gpac/compositor.h>
#include "mpeg4_grouping.h"
+ Include dependency graph for svg_grouping.c:

Data Structures

struct  SVGsvgStack
 
struct  SVGgStack
 

Functions

static void svg_recompute_viewport_transformation (GF_Node *node, SVGsvgStack *stack, GF_TraverseState *tr_state, SVGAllAttributes *atts)
 
static void svg_traverse_svg (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_svg (GF_Compositor *compositor, GF_Node *node)
 
Bool compositor_svg_get_viewport (GF_Node *n, GF_Rect *rc)
 
static void svg_traverse_g (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_g (GF_Compositor *compositor, GF_Node *node)
 
static void svg_traverse_switch (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_switch (GF_Compositor *compositor, GF_Node *node)
 
static void svg_traverse_a (GF_Node *node, void *rs, Bool is_destroy)
 
static void svg_a_set_view (GF_Node *handler, GF_Compositor *compositor, const char *url)
 
static void svg_a_handle_event (GF_Node *handler, GF_DOM_Event *event, GF_Node *observer)
 
void compositor_init_svg_a (GF_Compositor *compositor, GF_Node *node)
 
static void svg_traverse_resource (GF_Node *node, void *rs, Bool is_destroy, Bool is_foreign_object)
 
static void svg_traverse_use (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_use (GF_Compositor *compositor, GF_Node *node)
 
static void svg_animation_smil_update (GF_Node *node, SVGlinkStack *stack, Fixed normalized_scene_time)
 
static void svg_animation_smil_evaluate (SMIL_Timing_RTI *rti, Fixed normalized_scene_time, GF_SGSMILTimingEvalState status)
 
static void svg_traverse_animation (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_animation (GF_Compositor *compositor, GF_Node *node)
 
void svg_pause_animation (GF_Node *n, Bool pause)
 
static void svg_traverse_foreign_object (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_svg_foreign_object (GF_Compositor *compositor, GF_Node *node)
 
GF_Nodecompositor_svg_get_xlink_resource_node (GF_Node *node, XMLRI *xlink)
 

Data Structure Documentation

◆ SVGsvgStack

struct SVGsvgStack
+ Collaboration diagram for SVGsvgStack:
Data Fields
Bool root_svg
SVGPropertiesPointers * svg_props
GF_Matrix2D viewbox_mx
Drawable * vp_fill
u32 prev_color
SFVec2f parent_vp
SFVec2f vp
Fixed dx
Fixed dy
Fixed vpw
Fixed vph

◆ SVGgStack

struct SVGgStack
Data Fields
GROUPING_NODE_STACK_2D struct _group_cache * cache
Drawable * clip_drawable

◆ SVGlinkStack

struct SVGlinkStack
Data Fields
GF_MediaObject * resource
GF_SceneGraph * inline_sg
const char * fragment_id
Bool needs_play
u32 init_vis_state

Function Documentation

◆ svg_recompute_viewport_transformation()

static void svg_recompute_viewport_transformation ( GF_Node node,
SVGsvgStack stack,
GF_TraverseState *  tr_state,
SVGAllAttributes atts 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_svg()

static void svg_traverse_svg ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_svg()

void compositor_init_svg_svg ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_svg_get_viewport()

Bool compositor_svg_get_viewport ( GF_Node n,
GF_Rect rc 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_g()

static void svg_traverse_g ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_g()

void compositor_init_svg_g ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_switch()

static void svg_traverse_switch ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_switch()

void compositor_init_svg_switch ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_a()

static void svg_traverse_a ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_a_set_view()

static void svg_a_set_view ( GF_Node handler,
GF_Compositor *  compositor,
const char *  url 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_a_handle_event()

static void svg_a_handle_event ( GF_Node handler,
GF_DOM_Event event,
GF_Node observer 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_a()

void compositor_init_svg_a ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_resource()

static void svg_traverse_resource ( GF_Node node,
void *  rs,
Bool  is_destroy,
Bool  is_foreign_object 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_use()

static void svg_traverse_use ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_use()

void compositor_init_svg_use ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_animation_smil_update()

static void svg_animation_smil_update ( GF_Node node,
SVGlinkStack stack,
Fixed  normalized_scene_time 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_animation_smil_evaluate()

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

◆ svg_traverse_animation()

static void svg_traverse_animation ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_animation()

void compositor_init_svg_animation ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_pause_animation()

void svg_pause_animation ( GF_Node n,
Bool  pause 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ svg_traverse_foreign_object()

static void svg_traverse_foreign_object ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_svg_foreign_object()

void compositor_init_svg_foreign_object ( GF_Compositor *  compositor,
GF_Node node 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_svg_get_xlink_resource_node()

GF_Node* compositor_svg_get_xlink_resource_node ( GF_Node node,
XMLRI xlink 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: