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_layer_3d.c File Reference
#include "nodes_stacks.h"
#include "mpeg4_grouping.h"
#include "texturing.h"
#include "visual_manager.h"
+ Include dependency graph for mpeg4_layer_3d.c:

Data Structures

struct  Layer3DStack
 

Functions

static void DestroyLayer3D (GF_Node *node)
 
static void l3d_CheckBindables (GF_Node *n, GF_TraverseState *tr_state, Bool force_traverse)
 
u32 layer3d_setup_offscreen (GF_Node *node, Layer3DStack *st, GF_TraverseState *tr_state, Fixed width, Fixed height)
 
static void layer3d_draw_2d (GF_Node *node, GF_TraverseState *tr_state)
 
static void layer3d_setup_clip (Layer3DStack *st, GF_TraverseState *tr_state, Bool prev_cam, GF_Rect rc)
 
static void TraverseLayer3D (GF_Node *node, void *rs, Bool is_destroy)
 
void compositor_init_layer3d (GF_Compositor *compositor, GF_Node *node)
 
GF_Cameracompositor_layer3d_get_camera (GF_Node *node)
 
void compositor_layer3d_bind_camera (GF_Node *node, Bool do_bind, u32 nav_value)
 

Data Structure Documentation

struct Layer3DStack
+ Collaboration diagram for Layer3DStack:
Data Fields
u32 flags
GF_BBox bbox
Bool first
GF_Rect clip
GF_Rect vp
GF_VisualManager * visual
Bool unsupported
GF_TextureHandler txh
Drawable * drawable
Fixed scale_x
Fixed scale_y

Function Documentation

static void DestroyLayer3D ( GF_Node node)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void l3d_CheckBindables ( GF_Node n,
GF_TraverseState *  tr_state,
Bool  force_traverse 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 layer3d_setup_offscreen ( GF_Node node,
Layer3DStack st,
GF_TraverseState *  tr_state,
Fixed  width,
Fixed  height 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void layer3d_draw_2d ( 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 layer3d_setup_clip ( Layer3DStack st,
GF_TraverseState *  tr_state,
Bool  prev_cam,
GF_Rect  rc 
)
static

+ Here is the caller graph for this function:

static void TraverseLayer3D ( GF_Node node,
void *  rs,
Bool  is_destroy 
)
static

! we were in a 2D mode, setup associated texture !!

! we were in a 2D mode, create drawable context!!

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_layer3d ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Camera* compositor_layer3d_get_camera ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_layer3d_bind_camera ( GF_Node node,
Bool  do_bind,
u32  nav_value 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: