libgpac
Documentation of the core library of GPAC
mpeg4_geometry_2d.c File Reference
#include "nodes_stacks.h"
#include "visual_manager.h"
+ Include dependency graph for mpeg4_geometry_2d.c:

Macros

#define CHECK_VALID_C2D(nbPts)   if (!idx && cur_index+nbPts>=pt_count) { gf_path_reset(stack->path); return; }
 
#define GET_IDX(_i)   ((idx && (idx->count>_i) && (idx->vals[_i]>=0) ) ? (u32) idx->vals[_i] : _i)
 

Functions

Bool compositor_get_2d_plane_intersection (GF_Ray *ray, SFVec3f *res)
 
static void TraverseShape (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_shape (GF_Compositor *compositor, GF_Node *node)
 
static void circle_check_changes (GF_Node *node, Drawable *stack, GF_TraverseState *tr_state)
 
static void TraverseCircle (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_circle (GF_Compositor *compositor, GF_Node *node)
 
static void ellipse_check_changes (GF_Node *node, Drawable *stack, GF_TraverseState *tr_state)
 
static void TraverseEllipse (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_ellipse (GF_Compositor *compositor, GF_Node *node)
 
static void compositor_2d_draw_rectangle (GF_TraverseState *tr_state)
 
static void rectangle_check_changes (GF_Node *node, Drawable *stack, GF_TraverseState *tr_state)
 
Bool rectangle_check_adaptation (GF_Node *node, Drawable *stack, GF_TraverseState *tr_state)
 
static void TraverseRectangle (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_rectangle (GF_Compositor *compositor, GF_Node *node)
 
void curve2d_check_changes (GF_Node *node, Drawable *stack, GF_TraverseState *tr_state, MFInt32 *idx)
 
static void TraverseCurve2D (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_curve2d (GF_Compositor *compositor, GF_Node *node)
 
static void get_point_size (GF_Matrix2D *mat, Fixed *w, Fixed *h)
 
static void pointset2d_check_changes (GF_Node *node, Drawable *stack, GF_TraverseState *tr_state)
 
static void PointSet2D_Draw (GF_Node *node, GF_TraverseState *tr_state)
 
static void TraversePointSet2D (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_pointset2d (GF_Compositor *compositor, GF_Node *node)
 
static void TraverseBitWrapper (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_bitwrapper (GF_Compositor *compositor, GF_Node *node)
 

Macro Definition Documentation

◆ CHECK_VALID_C2D

#define CHECK_VALID_C2D (   nbPts)    if (!idx && cur_index+nbPts>=pt_count) { gf_path_reset(stack->path); return; }

◆ GET_IDX

#define GET_IDX (   _i)    ((idx && (idx->count>_i) && (idx->vals[_i]>=0) ) ? (u32) idx->vals[_i] : _i)

Function Documentation

◆ compositor_get_2d_plane_intersection()

Bool compositor_get_2d_plane_intersection ( GF_Ray ray,
SFVec3f res 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseShape()

static void TraverseShape ( 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_shape()

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

◆ circle_check_changes()

static void circle_check_changes ( GF_Node node,
Drawable *  stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseCircle()

static void TraverseCircle ( 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_circle()

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

◆ ellipse_check_changes()

static void ellipse_check_changes ( GF_Node node,
Drawable *  stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseEllipse()

static void TraverseEllipse ( 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_ellipse()

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

◆ compositor_2d_draw_rectangle()

static void compositor_2d_draw_rectangle ( GF_TraverseState *  tr_state)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rectangle_check_changes()

static void rectangle_check_changes ( GF_Node node,
Drawable *  stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ rectangle_check_adaptation()

Bool rectangle_check_adaptation ( GF_Node node,
Drawable *  stack,
GF_TraverseState *  tr_state 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseRectangle()

static void TraverseRectangle ( 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_rectangle()

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

◆ curve2d_check_changes()

void curve2d_check_changes ( GF_Node node,
Drawable *  stack,
GF_TraverseState *  tr_state,
MFInt32 idx 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseCurve2D()

static void TraverseCurve2D ( 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_curve2d()

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

◆ get_point_size()

static void get_point_size ( GF_Matrix2D mat,
Fixed w,
Fixed h 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ pointset2d_check_changes()

static void pointset2d_check_changes ( GF_Node node,
Drawable *  stack,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ PointSet2D_Draw()

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

◆ TraversePointSet2D()

static void TraversePointSet2D ( 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_pointset2d()

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

◆ TraverseBitWrapper()

static void TraverseBitWrapper ( 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_bitwrapper()

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