GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
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)
 
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

#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)

Function Documentation

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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:

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: