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
vrml_proto.c File Reference
+ Include dependency graph for vrml_proto.c:

Functions

GF_Proto * gf_sg_proto_new (GF_SceneGraph *inScene, u32 ProtoID, char *name, Bool unregistered)
 
GF_Err gf_sg_proto_set_in_graph (GF_Proto *proto, GF_SceneGraph *inScene, Bool set_in)
 
GF_Err gf_sg_proto_del (GF_Proto *proto)
 
GF_SceneGraph * gf_sg_proto_get_graph (GF_Proto *proto)
 
void gf_sg_proto_set_private (GF_Proto *p, void *ptr, void(*OnDelete)(void *ptr))
 
void * gf_sg_proto_get_private (GF_Proto *p)
 
MFURLgf_sg_proto_get_extern_url (GF_Proto *proto)
 
GF_Err gf_sg_proto_add_node_code (GF_Proto *proto, GF_Node *pNode)
 
GF_ProtoFieldInterface * gf_sg_proto_field_find_by_name (GF_Proto *proto, char *fieldName)
 
GF_ProtoFieldInterface * gf_sg_proto_field_new (GF_Proto *proto, u32 fieldType, u32 eventType, char *fieldName)
 
void gf_sg_proto_field_set_private (GF_ProtoFieldInterface *field, void *ptr, void(*OnDelete)(void *ptr))
 
void * gf_sg_proto_field_get_private (GF_ProtoFieldInterface *field)
 
GF_Err gf_sg_proto_field_get_field (GF_ProtoFieldInterface *field, GF_FieldInfo *info)
 
GF_Err gf_sg_proto_get_field (GF_Proto *proto, GF_Node *node, GF_FieldInfo *info)
 
s32 gf_sg_proto_get_field_index_by_name (GF_Proto *proto, GF_Node *node, char *name)
 
GF_Nodegf_vrml_node_clone (GF_SceneGraph *inScene, GF_Node *orig, GF_Node *cloned_parent, char *inst_id_suffix)
 
GF_Err gf_sg_proto_get_field_ind_static (GF_Node *Node, u32 inField, u8 IndexMode, u32 *allField)
 
static Bool is_same_proto (GF_Proto *extern_proto, GF_Proto *proto)
 
static GF_Proto * find_proto_by_interface (GF_SceneGraph *sg, GF_Proto *extern_proto)
 
void gf_sg_proto_instanciate (GF_ProtoInstance *proto_node)
 
void gf_sg_proto_mark_field_loaded (GF_Node *proto_inst, GF_FieldInfo *info)
 
GF_Nodegf_sg_proto_create_node (GF_SceneGraph *scene, GF_Proto *proto, GF_ProtoInstance *from_inst)
 
GF_Nodegf_sg_proto_create_instance (GF_SceneGraph *sg, GF_Proto *proto)
 
GF_Err gf_sg_proto_load_code (GF_Node *node)
 
u32 gf_sg_proto_get_num_fields (GF_Node *node, u8 code_mode)
 
void gf_sg_proto_del_instance (GF_ProtoInstance *inst)
 
GF_Err gf_sg_proto_field_set_ised (GF_Proto *proto, u32 protoFieldIndex, GF_Node *node, u32 nodeFieldIndex)
 
GF_Err gf_sg_proto_instance_set_ised (GF_Node *protoinst, u32 protoFieldIndex, GF_Node *node, u32 nodeFieldIndex)
 
GF_Err gf_bifs_proto_field_set_aq_info (GF_ProtoFieldInterface *field, u32 QP_Type, u32 hasMinMax, u32 QPSFType, void *qp_min_value, void *qp_max_value, u32 QP13_NumBits)
 
GF_Err gf_sg_proto_get_field_index (GF_ProtoInstance *proto, u32 index, u32 code_mode, u32 *all_index)
 
u32 gf_sg_proto_get_field_count (GF_Proto *proto)
 
GF_ProtoFieldInterface * gf_sg_proto_field_find (GF_Proto *proto, u32 fieldIndex)
 
void gf_sg_proto_propagate_event (GF_Node *node, u32 fieldIndex, GF_Node *from_node)
 
Bool gf_sg_proto_get_aq_info (GF_Node *Node, u32 FieldIndex, u8 *QType, u8 *AType, Fixed *b_min, Fixed *b_max, u32 *QT13_bits)
 
GF_Proto * gf_node_get_proto (GF_Node *node)
 
u32 gf_sg_proto_get_id (GF_Proto *proto)
 
const char * gf_sg_proto_get_class_name (GF_Proto *proto)
 
u32 gf_sg_proto_get_root_tag (GF_Proto *proto)
 
Bool gf_sg_proto_field_is_sftime_offset (GF_Node *node, GF_FieldInfo *field)
 
GF_SceneGraph * Node_GetExternProtoScene (GF_Node *node)
 
GF_Err gf_node_proto_set_grouping (GF_Node *node)
 
Bool gf_node_proto_is_grouping (GF_Node *node)
 
GF_Nodegf_node_get_proto_root (GF_Node *node)
 
GF_Nodegf_node_get_proto_parent (GF_Node *node)
 
Bool gf_node_is_proto_root (GF_Node *node)
 

Function Documentation

GF_Proto* gf_sg_proto_new ( GF_SceneGraph *  inScene,
u32  ProtoID,
char *  name,
Bool  unregistered 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_proto_set_in_graph ( GF_Proto *  proto,
GF_SceneGraph *  inScene,
Bool  set_in 
)

+ Here is the call graph for this function:

GF_Err gf_sg_proto_del ( GF_Proto *  proto)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SceneGraph* gf_sg_proto_get_graph ( GF_Proto *  proto)

+ Here is the caller graph for this function:

void gf_sg_proto_set_private ( GF_Proto *  p,
void *  ptr,
void(*)(void *ptr)  OnDelete 
)
void* gf_sg_proto_get_private ( GF_Proto *  p)
MFURL* gf_sg_proto_get_extern_url ( GF_Proto *  proto)

+ Here is the caller graph for this function:

GF_Err gf_sg_proto_add_node_code ( GF_Proto *  proto,
GF_Node pNode 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_ProtoFieldInterface* gf_sg_proto_field_find_by_name ( GF_Proto *  proto,
char *  fieldName 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_ProtoFieldInterface* gf_sg_proto_field_new ( GF_Proto *  proto,
u32  fieldType,
u32  eventType,
char *  fieldName 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_proto_field_set_private ( GF_ProtoFieldInterface *  field,
void *  ptr,
void(*)(void *ptr)  OnDelete 
)
void* gf_sg_proto_field_get_private ( GF_ProtoFieldInterface *  field)
GF_Err gf_sg_proto_field_get_field ( GF_ProtoFieldInterface *  field,
GF_FieldInfo info 
)

+ Here is the caller graph for this function:

GF_Err gf_sg_proto_get_field ( GF_Proto *  proto,
GF_Node node,
GF_FieldInfo info 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

s32 gf_sg_proto_get_field_index_by_name ( GF_Proto *  proto,
GF_Node node,
char *  name 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Node* gf_vrml_node_clone ( GF_SceneGraph *  inScene,
GF_Node orig,
GF_Node cloned_parent,
char *  inst_id_suffix 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_proto_get_field_ind_static ( GF_Node Node,
u32  inField,
u8  IndexMode,
u32 allField 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static Bool is_same_proto ( GF_Proto *  extern_proto,
GF_Proto *  proto 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static GF_Proto* find_proto_by_interface ( GF_SceneGraph *  sg,
GF_Proto *  extern_proto 
)
static

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_proto_instanciate ( GF_ProtoInstance proto_node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_proto_mark_field_loaded ( GF_Node proto_inst,
GF_FieldInfo info 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Node* gf_sg_proto_create_node ( GF_SceneGraph *  scene,
GF_Proto *  proto,
GF_ProtoInstance from_inst 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Node* gf_sg_proto_create_instance ( GF_SceneGraph *  sg,
GF_Proto *  proto 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_proto_load_code ( GF_Node node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_sg_proto_get_num_fields ( GF_Node node,
u8  code_mode 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_proto_del_instance ( GF_ProtoInstance inst)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_proto_field_set_ised ( GF_Proto *  proto,
u32  protoFieldIndex,
GF_Node node,
u32  nodeFieldIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_proto_instance_set_ised ( GF_Node protoinst,
u32  protoFieldIndex,
GF_Node node,
u32  nodeFieldIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_proto_field_set_aq_info ( GF_ProtoFieldInterface *  field,
u32  QP_Type,
u32  hasMinMax,
u32  QPSFType,
void *  qp_min_value,
void *  qp_max_value,
u32  QP13_NumBits 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_sg_proto_get_field_index ( GF_ProtoInstance proto,
u32  index,
u32  code_mode,
u32 all_index 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_sg_proto_get_field_count ( GF_Proto *  proto)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_ProtoFieldInterface* gf_sg_proto_field_find ( GF_Proto *  proto,
u32  fieldIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_sg_proto_propagate_event ( GF_Node node,
u32  fieldIndex,
GF_Node from_node 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sg_proto_get_aq_info ( GF_Node Node,
u32  FieldIndex,
u8 QType,
u8 AType,
Fixed b_min,
Fixed b_max,
u32 QT13_bits 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Proto* gf_node_get_proto ( GF_Node node)

+ Here is the caller graph for this function:

u32 gf_sg_proto_get_id ( GF_Proto *  proto)

+ Here is the caller graph for this function:

const char* gf_sg_proto_get_class_name ( GF_Proto *  proto)

+ Here is the caller graph for this function:

u32 gf_sg_proto_get_root_tag ( GF_Proto *  proto)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_sg_proto_field_is_sftime_offset ( GF_Node node,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_SceneGraph* Node_GetExternProtoScene ( GF_Node node)
GF_Err gf_node_proto_set_grouping ( GF_Node node)

+ Here is the caller graph for this function:

Bool gf_node_proto_is_grouping ( GF_Node node)

+ Here is the caller graph for this function:

GF_Node* gf_node_get_proto_root ( GF_Node node)

+ Here is the caller graph for this function:

GF_Node* gf_node_get_proto_parent ( GF_Node node)
Bool gf_node_is_proto_root ( GF_Node node)

+ Here is the call graph for this function: