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

Data Structures

struct  BackgroundStatus
 

Macros

#define B2D_PLANE_HSIZE   FLT2FIX(0.5025f)
 

Functions

static void DestroyBackground2D (GF_Node *node)
 
static void b2D_new_status (Background2DStack *bck, M_Background2D *back)
 
static BackgroundStatusb2d_get_status (Background2DStack *stack, GF_List *background_stack)
 
static Bool back_use_texture (M_Background2D *bck)
 
static void DrawBackground2D_2D (DrawableContext *ctx, GF_TraverseState *tr_state)
 
static Bool back_texture_enabled (M_Background2D *bck, GF_TextureHandler *txh)
 
static void DrawBackground2D_3D (M_Background2D *bck, Background2DStack *st, GF_TraverseState *tr_state)
 
static void TraverseBackground2D (GF_Node *node, void *rs, Bool is_destroy)
 
static void b2D_set_bind (GF_Node *node, GF_Route *route)
 
DrawableContext * b2d_get_context (M_Background2D *node, GF_List *from_stack)
 
static void UpdateBackgroundTexture (GF_TextureHandler *txh)
 
void compositor_init_background2d (GF_Compositor *compositor, GF_Node *node)
 
void compositor_background2d_modified (GF_Node *node)
 

Data Structure Documentation

◆ BackgroundStatus

struct BackgroundStatus
+ Collaboration diagram for BackgroundStatus:
Data Fields
DrawableContext ctx
BoundInfo bi

Macro Definition Documentation

◆ B2D_PLANE_HSIZE

#define B2D_PLANE_HSIZE   FLT2FIX(0.5025f)

Function Documentation

◆ DestroyBackground2D()

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

◆ b2D_new_status()

static void b2D_new_status ( Background2DStack bck,
M_Background2D *  back 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ b2d_get_status()

static BackgroundStatus* b2d_get_status ( Background2DStack stack,
GF_List *  background_stack 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ back_use_texture()

static Bool back_use_texture ( M_Background2D *  bck)
static
+ Here is the caller graph for this function:

◆ DrawBackground2D_2D()

static void DrawBackground2D_2D ( DrawableContext *  ctx,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ back_texture_enabled()

static Bool back_texture_enabled ( M_Background2D *  bck,
GF_TextureHandler txh 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ DrawBackground2D_3D()

static void DrawBackground2D_3D ( M_Background2D *  bck,
Background2DStack st,
GF_TraverseState *  tr_state 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TraverseBackground2D()

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

◆ b2D_set_bind()

static void b2D_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:

◆ b2d_get_context()

DrawableContext* b2d_get_context ( M_Background2D *  node,
GF_List *  from_stack 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ UpdateBackgroundTexture()

static void UpdateBackgroundTexture ( GF_TextureHandler txh)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ compositor_init_background2d()

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

◆ compositor_background2d_modified()

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