libgpac
Documentation of the core library of GPAC
dec_bifs.c File Reference
#include <gpac/filters.h>
#include <gpac/bifs.h>
#include <gpac/constants.h>
#include <gpac/compositor.h>
#include <gpac/internal/compositor_dev.h>
+ Include dependency graph for dec_bifs.c:

Data Structures

struct  GF_BIFSDecCtx
 

Functions

static GF_Err bifs_dec_configure_bifs_dec (GF_BIFSDecCtx *ctx, GF_FilterPid *pid)
 
GF_Err bifs_dec_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
 
GF_Err bifs_dec_process (GF_Filter *filter)
 
static void bifs_dec_finalize (GF_Filter *filter)
 
static Bool bifs_dec_process_event (GF_Filter *filter, const GF_FilterEvent *com)
 
const GF_FilterRegister * bifsdec_register (GF_FilterSession *session)
 defined(GPAC_DISABLE_BIFS) && !defined(GPAC_DISABLE_COMPOSITOR) More...
 

Variables

static const GF_FilterCapability BIFSDecCaps []
 
GF_FilterRegister BIFSDecRegister
 

Data Structure Documentation

◆ GF_BIFSDecCtx

struct GF_BIFSDecCtx
Data Fields
GF_BifsDecoder * bifs_dec
GF_ObjectManager * odm
GF_Scene * scene
Bool is_playing
GF_FilterPid * out_pid

Function Documentation

◆ bifs_dec_configure_bifs_dec()

static GF_Err bifs_dec_configure_bifs_dec ( GF_BIFSDecCtx ctx,
GF_FilterPid *  pid 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ bifs_dec_configure_pid()

GF_Err bifs_dec_configure_pid ( GF_Filter *  filter,
GF_FilterPid *  pid,
Bool  is_remove 
)
+ Here is the call graph for this function:

◆ bifs_dec_process()

GF_Err bifs_dec_process ( GF_Filter *  filter)
+ Here is the call graph for this function:

◆ bifs_dec_finalize()

static void bifs_dec_finalize ( GF_Filter *  filter)
static
+ Here is the call graph for this function:

◆ bifs_dec_process_event()

static Bool bifs_dec_process_event ( GF_Filter *  filter,
const GF_FilterEvent *  com 
)
static
+ Here is the call graph for this function:

◆ bifsdec_register()

const GF_FilterRegister* bifsdec_register ( GF_FilterSession *  session)

Variable Documentation

◆ BIFSDecCaps

const GF_FilterCapability BIFSDecCaps[]
static
Initial value:
=
{
}
@ GF_CODECID_BIFS
Definition: constants.h:385
@ GF_CODECID_BIFS_V2
Definition: constants.h:389
@ GF_CODECID_RAW
Definition: constants.h:600
@ GF_STREAM_SCENE
Definition: constants.h:62
#define GF_CAPS_OUTPUT
Definition: filters.h:2232
#define CAP_UINT(_f, _a, _b)
Definition: filters.h:2172
#define GF_CAPS_INPUT_EXCLUDED
Definition: filters.h:2228
#define CAP_BOOL(_f, _a, _b)
Definition: filters.h:2180
#define GF_CAPS_INPUT
Definition: filters.h:2220
@ GF_PROP_PID_CODECID
Definition: filters.h:1116
@ GF_PROP_PID_STREAM_TYPE
Definition: filters.h:1112
@ GF_PROP_PID_UNFRAMED
Definition: filters.h:1118
@ GF_TRUE
Definition: setup.h:474

◆ BIFSDecRegister

GF_FilterRegister BIFSDecRegister
Initial value:
= {
.name = "bifsdec",
GF_FS_SET_HELP("This filter decodes MPEG-4 BIFS binary frames directly into the scene graph of the compositor.\n"
"Note: This filter cannot be used to dump BIFS content to text or xml, use `MP4Box` for that.")
.private_size = sizeof(GF_BIFSDecCtx),
.priority = 1,
.finalize = bifs_dec_finalize,
.process = bifs_dec_process,
.configure_pid = bifs_dec_configure_pid,
.process_event = bifs_dec_process_event,
.hint_class_type = GF_FS_CLASS_DECODER
}
GF_Err bifs_dec_process(GF_Filter *filter)
Definition: dec_bifs.c:138
GF_Err bifs_dec_configure_pid(GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
Definition: dec_bifs.c:83
static Bool bifs_dec_process_event(GF_Filter *filter, const GF_FilterEvent *com)
Definition: dec_bifs.c:219
static void bifs_dec_finalize(GF_Filter *filter)
Definition: dec_bifs.c:212
static const GF_FilterCapability BIFSDecCaps[]
Definition: dec_bifs.c:257
Definition: dec_bifs.c:36
#define GF_FS_SET_HELP(_help)
Definition: filters.h:2372
#define SETCAPS(__struct)
Definition: filters.h:2364
@ GF_FS_REG_MAIN_THREAD
Definition: filters.h:2387
@ GF_FS_CLASS_DECODER
Definition: filters.h:2465