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
bifs_dev.h File Reference
#include <gpac/nodes_mpeg4.h>
#include <gpac/bitstream.h>
#include <gpac/bifs.h>
#include <gpac/thread.h>
#include <gpac/internal/scenegraph_dev.h>
+ Include dependency graph for bifs_dev.h:
+ This graph shows which files directly or indirectly include this file:

Data Structures

struct  BIFSElementaryMask
 
struct  BIFSConfig
 
struct  BIFSStreamInfo
 
struct  CommandBufferItem
 
struct  GF_BifsDecoder
 
struct  GF_BifsEncoder
 

Macros

#define GF_BIFS_WRITE_INT(codec, bs, val, nbBits, str, com)
 

Functions

GF_Nodegf_bifs_dec_node (GF_BifsDecoder *codec, GF_BitStream *bs, u32 NDT_Tag)
 
GF_Err gf_bifs_dec_sf_field (GF_BifsDecoder *codec, GF_BitStream *bs, GF_Node *node, GF_FieldInfo *field, Bool is_mem_com)
 
GF_Err gf_bifs_dec_field (GF_BifsDecoder *codec, GF_BitStream *bs, GF_Node *node, GF_FieldInfo *field, Bool is_mem_com)
 
GF_Err gf_bifs_dec_route (GF_BifsDecoder *codec, GF_BitStream *bs, Bool is_insert)
 
void gf_bifs_dec_name (GF_BitStream *bs, char *name)
 
BIFSStreamInfogf_bifs_dec_get_stream (GF_BifsDecoder *codec, u16 ESID)
 
GF_Err gf_bifs_dec_command (GF_BifsDecoder *codec, GF_BitStream *bs)
 
GF_Err gf_bifs_dec_proto_list (GF_BifsDecoder *codec, GF_BitStream *bs, GF_List *proto_list)
 
GF_Err gf_bifs_dec_node_list (GF_BifsDecoder *codec, GF_BitStream *bs, GF_Node *node, Bool is_proto)
 
GF_Err gf_bifs_dec_node_mask (GF_BifsDecoder *codec, GF_BitStream *bs, GF_Node *node, Bool is_proto)
 
void gf_bifs_check_field_change (GF_Node *node, GF_FieldInfo *field)
 
GF_Err gf_bifs_flush_command_list (GF_BifsDecoder *codec)
 
GF_Err gf_bifs_enc_commands (GF_BifsEncoder *codec, GF_List *comList, GF_BitStream *bs)
 
GF_Err gf_bifs_enc_node (GF_BifsEncoder *codec, GF_Node *node, u32 NDT_Tag, GF_BitStream *bs)
 
GF_Err gf_bifs_enc_sf_field (GF_BifsEncoder *codec, GF_BitStream *bs, GF_Node *node, GF_FieldInfo *field)
 
GF_Err gf_bifs_enc_field (GF_BifsEncoder *codec, GF_BitStream *bs, GF_Node *node, GF_FieldInfo *field)
 
GF_Err gf_bifs_enc_mf_field (GF_BifsEncoder *codec, GF_BitStream *bs, GF_Node *node, GF_FieldInfo *field)
 
GF_Err gf_bifs_enc_route (GF_BifsEncoder *codec, GF_Route *r, GF_BitStream *bs)
 
void gf_bifs_enc_name (GF_BifsEncoder *codec, GF_BitStream *bs, char *name)
 
GF_Nodegf_bifs_enc_find_node (GF_BifsEncoder *codec, u32 nodeID)
 
GF_Route * gf_bifs_enc_is_field_ised (GF_BifsEncoder *codec, GF_Node *node, u32 fieldIndex)
 
Bool gf_bifs_get_aq_info (GF_Node *Node, u32 FieldIndex, u8 *QType, u8 *AType, Fixed *b_min, Fixed *b_max, u32 *QT13_bits)
 
GF_Err gf_bifs_get_field_index (GF_Node *Node, u32 inField, u8 IndexMode, u32 *allField)
 
u32 gf_bifs_get_child_table (GF_Node *Node)
 
u32 gf_bifs_get_node_type (u32 NDT_Tag, u32 NodeTag, u32 Version)
 
GF_Err gf_bifs_field_index_by_mode (GF_Node *node, u32 all_ind, u8 indexMode, u32 *outField)
 
u32 gf_bifs_get_ndt_bits (u32 NDT_Tag, u32 Version)
 
u32 gf_bifs_ndt_get_node_type (u32 NDT_Tag, u32 NodeType, u32 Version)
 

Data Structure Documentation

struct BIFSElementaryMask
+ Collaboration diagram for BIFSElementaryMask:
Data Fields
GF_Node * node
u32 node_id
struct BIFSConfig
+ Collaboration diagram for BIFSConfig:
Data Fields
u8 version
u16 NodeIDBits
u16 RouteIDBits
Bool PixelMetrics
u16 Width
u16 Height
Bool BAnimRAP
GF_List * elementaryMasks
Bool Use3DMeshCoding
Bool UsePredictiveMFField
u16 ProtoIDBits
struct BIFSStreamInfo
+ Collaboration diagram for BIFSStreamInfo:
Data Fields
BIFSConfig config
u16 ESID
struct CommandBufferItem
+ Collaboration diagram for CommandBufferItem:
Data Fields
GF_Node * node
SFCommandBuffer * cb
struct __tag_bifs_dec
+ Collaboration diagram for GF_BifsDecoder:
Data Fields
GF_Err LastError
GF_List * streamInfo
BIFSStreamInfo * info
Bool UseName
GF_SceneGraph * scenegraph
GF_SceneGraph * current_graph
GF_List * QPs
M_QuantizationParameter * ActiveQP
u32 NumCoord
Bool coord_stored
Bool storing_coord
GF_Proto * pCurrentProto
Bool dec_memory_mode
Bool force_keep_qp
GF_List * command_buffers
Bool ignore_size
Bool is_com_dec
Double cts_offset
char * extraction_path
char * service_url
struct __tag_bifs_enc
+ Collaboration diagram for GF_BifsEncoder:
Data Fields
GF_Err LastError
GF_List * streamInfo
BIFSStreamInfo * info
Bool UseName
GF_SceneGraph * scene_graph
GF_SceneGraph * current_proto_graph
GF_List * QPs
M_QuantizationParameter * ActiveQP
u32 NumCoord
Bool coord_stored
Bool storing_coord
GF_Proto * encoding_proto
GF_List * encoded_nodes
Bool is_encoding_command

Macro Definition Documentation

#define GF_BIFS_WRITE_INT (   codec,
  bs,
  val,
  nbBits,
  str,
  com 
)
Value:
{\
gf_bs_write_int(bs, val, nbBits); \
GF_LOG(GF_LOG_DEBUG, GF_LOG_CODING, ("[BIFS] %s\t\t%d\t\t%d\t\t%s\n", str, nbBits, val, com ? com : "") ); \
} \
Definition: tools.h:330
void gf_bs_write_int(GF_BitStream *bs, s32 value, s32 nBits)
integer writing
Definition: bitstream.c:477
#define GF_LOG(_log_level, _log_tools, __args)
Message logging.
Definition: tools.h:489
Definition: tools.h:298

Function Documentation

GF_Node* gf_bifs_dec_node ( GF_BifsDecoder *  codec,
GF_BitStream *  bs,
u32  NDT_Tag 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_dec_sf_field ( GF_BifsDecoder *  codec,
GF_BitStream *  bs,
GF_Node node,
GF_FieldInfo field,
Bool  is_mem_com 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_dec_field ( GF_BifsDecoder *  codec,
GF_BitStream *  bs,
GF_Node node,
GF_FieldInfo field,
Bool  is_mem_com 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_dec_route ( GF_BifsDecoder *  codec,
GF_BitStream *  bs,
Bool  is_insert 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_bifs_dec_name ( GF_BitStream *  bs,
char *  name 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

BIFSStreamInfo* gf_bifs_dec_get_stream ( GF_BifsDecoder *  codec,
u16  ESID 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_dec_command ( GF_BifsDecoder *  codec,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_dec_proto_list ( GF_BifsDecoder *  codec,
GF_BitStream *  bs,
GF_List *  proto_list 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_dec_node_list ( GF_BifsDecoder *  codec,
GF_BitStream *  bs,
GF_Node node,
Bool  is_proto 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_dec_node_mask ( GF_BifsDecoder *  codec,
GF_BitStream *  bs,
GF_Node node,
Bool  is_proto 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_bifs_check_field_change ( GF_Node node,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_flush_command_list ( GF_BifsDecoder *  codec)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_enc_commands ( GF_BifsEncoder *  codec,
GF_List *  comList,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_enc_node ( GF_BifsEncoder *  codec,
GF_Node node,
u32  NDT_Tag,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_enc_sf_field ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
GF_Node node,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_enc_field ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
GF_Node node,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_enc_mf_field ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
GF_Node node,
GF_FieldInfo field 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_enc_route ( GF_BifsEncoder *  codec,
GF_Route *  r,
GF_BitStream *  bs 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void gf_bifs_enc_name ( GF_BifsEncoder *  codec,
GF_BitStream *  bs,
char *  name 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Node* gf_bifs_enc_find_node ( GF_BifsEncoder *  codec,
u32  nodeID 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Route* gf_bifs_enc_is_field_ised ( GF_BifsEncoder *  codec,
GF_Node node,
u32  fieldIndex 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Bool gf_bifs_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_Err gf_bifs_get_field_index ( 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:

u32 gf_bifs_get_child_table ( GF_Node Node)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_bifs_get_node_type ( u32  NDT_Tag,
u32  NodeTag,
u32  Version 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

GF_Err gf_bifs_field_index_by_mode ( GF_Node node,
u32  all_ind,
u8  indexMode,
u32 outField 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_bifs_get_ndt_bits ( u32  NDT_Tag,
u32  Version 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

u32 gf_bifs_ndt_get_node_type ( u32  NDT_Tag,
u32  NodeType,
u32  Version 
)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: