libgpac
Documentation of the core library of GPAC
mpeg4_grouping.h File Reference
+ Include dependency graph for mpeg4_grouping.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  BaseGroupingStack
 
struct  GroupingNode2D
 
struct  GroupingNode
 
struct  ChildGroup
 
struct  ParentNode2D
 

Macros

#define GROUPING_NODE_STACK_2D
 
#define GROUPING_MPEG4_STACK_2D
 
#define GROUPING_NODE_STACK_3D
 
#define PARENT_MPEG4_STACK_2D
 

Enumerations

enum  {
  GROUP_HAS_SENSORS = 1 , GROUP_SKIP_CULLING = 1<<1 , GROUP_HAS_LIGHTS = 1<<2 , GROUP_IS_ANCHOR = 1<<3 ,
  GROUP_IS_CACHABLE = 1<<4 , GROUP_IS_CACHED = 1<<5 , GROUP_PERMANENT_CACHE = 1<<6
}
 

Functions

void group_2d_traverse (GF_Node *node, GroupingNode2D *group, GF_TraverseState *tr_state)
 
void group_2d_traverse_with_order (GF_Node *node, GroupingNode2D *group, GF_TraverseState *tr_state, u32 *positions)
 
void group_2d_destroy (GF_Node *node, GroupingNode2D *group)
 
void group_2d_destroy_svg (GF_Node *node, GroupingNode2D *group)
 
GroupingNodegroup_3d_new (GF_Node *node)
 
void group_3d_delete (GF_Node *node)
 
void group_3d_traverse (GF_Node *n, GroupingNode *group, GF_TraverseState *tr_state)
 
void parent_node_setup (ParentNode2D *ptr)
 
void parent_node_predestroy (ParentNode2D *gr)
 
void parent_node_reset (ParentNode2D *gr)
 
void parent_node_start_group (ParentNode2D *group, GF_Node *n, Bool discardable)
 
void parent_node_end_group (ParentNode2D *group, GF_Rect *bounds)
 
void parent_node_end_text_group (ParentNode2D *group, GF_Rect *bounds, Fixed ascent, Fixed descent, u32 split_text_idx)
 
void parent_node_traverse (GF_Node *node, ParentNode2D *group, GF_TraverseState *tr_state)
 
void parent_node_child_traverse (ChildGroup *cg, GF_TraverseState *tr_state)
 
void parent_node_child_traverse_matrix (ChildGroup *cg, GF_TraverseState *tr_state, GF_Matrix2D *mat2D)
 

Data Structure Documentation

◆ BaseGroupingStack

struct BaseGroupingStack
Data Fields
u32 flags

◆ GroupingNode2D

struct GroupingNode2D

◆ GroupingNode

struct GroupingNode

◆ ChildGroup

struct ChildGroup
+ Collaboration diagram for ChildGroup:
Data Fields
GF_Node * child
GF_Rect original
GF_Rect final
Fixed scroll_x
Fixed scroll_y
Fixed ascent
Fixed descent
u32 text_split_idx
u8 text_type

◆ ParentNode2D

struct ParentNode2D

Macro Definition Documentation

◆ GROUPING_NODE_STACK_2D

#define GROUPING_NODE_STACK_2D
Value:
u32 flags; \
GF_Rect bounds; \
uint32_t u32
Definition: setup.h:326

◆ GROUPING_MPEG4_STACK_2D

#define GROUPING_MPEG4_STACK_2D
Value:
GROUPING_NODE_STACK_2D \
GF_List *sensors; \

◆ GROUPING_NODE_STACK_3D

#define GROUPING_NODE_STACK_3D
Value:
u32 flags; \
GF_BBox bbox; \

◆ PARENT_MPEG4_STACK_2D

#define PARENT_MPEG4_STACK_2D
Value:
/*list of ChildGroup drawn (can be fully transparents) - used for post placement*/ \
GF_List *groups;
#define GROUPING_MPEG4_STACK_2D
Definition: mpeg4_grouping.h:78

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
GROUP_HAS_SENSORS 
GROUP_SKIP_CULLING 
GROUP_HAS_LIGHTS 
GROUP_IS_ANCHOR 
GROUP_IS_CACHABLE 
GROUP_IS_CACHED 
GROUP_PERMANENT_CACHE 

Function Documentation

◆ group_2d_traverse()

void group_2d_traverse ( GF_Node node,
GroupingNode2D group,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ group_2d_traverse_with_order()

void group_2d_traverse_with_order ( GF_Node node,
GroupingNode2D group,
GF_TraverseState *  tr_state,
u32 positions 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ group_2d_destroy()

void group_2d_destroy ( GF_Node node,
GroupingNode2D group 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ group_2d_destroy_svg()

void group_2d_destroy_svg ( GF_Node node,
GroupingNode2D group 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ group_3d_new()

GroupingNode* group_3d_new ( GF_Node node)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ group_3d_delete()

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

◆ group_3d_traverse()

void group_3d_traverse ( GF_Node n,
GroupingNode group,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parent_node_setup()

void parent_node_setup ( ParentNode2D ptr)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parent_node_predestroy()

void parent_node_predestroy ( ParentNode2D gr)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parent_node_reset()

void parent_node_reset ( ParentNode2D gr)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parent_node_start_group()

void parent_node_start_group ( ParentNode2D group,
GF_Node n,
Bool  discardable 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parent_node_end_group()

void parent_node_end_group ( ParentNode2D group,
GF_Rect bounds 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parent_node_end_text_group()

void parent_node_end_text_group ( ParentNode2D group,
GF_Rect bounds,
Fixed  ascent,
Fixed  descent,
u32  split_text_idx 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parent_node_traverse()

void parent_node_traverse ( GF_Node node,
ParentNode2D group,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parent_node_child_traverse()

void parent_node_child_traverse ( ChildGroup cg,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ parent_node_child_traverse_matrix()

void parent_node_child_traverse_matrix ( ChildGroup cg,
GF_TraverseState *  tr_state,
GF_Matrix2D mat2D 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: