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

Macros

#define PLANE_HSIZE   FLT2FIX(0.5025f)
 
#define PLANE_HSIZE_LOW   FLT2FIX(0.5f)
 
#define COL_TO_RGBA(res, col)   { res.red = col.red; res.green = col.green; res.blue = col.blue; res.alpha = FIX_ONE; }
 
#define DOME_STEP_V   32
 
#define DOME_STEP_H   16
 

Functions

static Bool back_use_texture (MFURL *url)
 
static void UpdateBackgroundTexture (GF_TextureHandler *txh)
 
static Bool back_gf_sc_texture_enabled (MFURL *url, GF_TextureHandler *txh)
 
static void back_check_gf_sc_texture_change (GF_TextureHandler *txh, MFURL *url)
 
static void DestroyBackground (GF_Node *node)
 
static void back_build_dome (GF_Mesh *mesh, MFFloat *angles, MFColor *color, Bool ground_dome)
 
static void back_draw_texture (GF_TraverseState *tr_state, GF_TextureHandler *txh, GF_Mesh *mesh)
 
static void TraverseBackground (GF_Node *node, void *rs, Bool is_destroy)
 
static void back_set_bind (GF_Node *node, GF_Route *route)
 
void compositor_init_background (GF_Compositor *compositor, GF_Node *node)
 
void compositor_background_modified (GF_Node *node)
 

Macro Definition Documentation

#define PLANE_HSIZE   FLT2FIX(0.5025f)
#define PLANE_HSIZE_LOW   FLT2FIX(0.5f)
#define COL_TO_RGBA (   res,
  col 
)    { res.red = col.red; res.green = col.green; res.blue = col.blue; res.alpha = FIX_ONE; }
#define DOME_STEP_V   32
#define DOME_STEP_H   16

Function Documentation

static Bool back_use_texture ( MFURL url)
static

+ Here is the caller graph for this function:

static void UpdateBackgroundTexture ( GF_TextureHandler txh)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool back_gf_sc_texture_enabled ( MFURL url,
GF_TextureHandler txh 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void back_check_gf_sc_texture_change ( GF_TextureHandler txh,
MFURL url 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void DestroyBackground ( GF_Node node)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void back_build_dome ( GF_Mesh mesh,
MFFloat angles,
MFColor color,
Bool  ground_dome 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void back_draw_texture ( GF_TraverseState *  tr_state,
GF_TextureHandler txh,
GF_Mesh mesh 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void TraverseBackground ( 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:

static void back_set_bind ( GF_Node node,
GF_Route *  route 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_init_background ( GF_Compositor *  compositor,
GF_Node node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void compositor_background_modified ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: