libgpac
Documentation of the core library of GPAC
dec_odf.c File Reference
+ Include dependency graph for dec_odf.c:

Data Structures

struct  GF_ODFDecCtx
 

Functions

GF_Err odf_dec_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
 
static void attach_desc_to_odm (GF_ObjectManager *odm, GF_ObjectDescriptor *od)
 
void ODS_SetupOD (GF_Scene *scene, GF_ObjectDescriptor *od)
 
static GF_Err ODS_ODUpdate (GF_Scene *scene, GF_ODUpdate *odU)
 
static GF_Err ODS_RemoveOD (GF_Scene *scene, GF_ODRemove *odR)
 
static GF_Err ODS_UpdateESD (GF_Scene *scene, GF_ESDUpdate *ESDs)
 
static GF_Err ODS_RemoveESD (GF_Scene *scene, GF_ESDRemove *ESDs)
 
GF_Err odf_dec_process (GF_Filter *filter)
 
static Bool odf_dec_process_event (GF_Filter *filter, const GF_FilterEvent *com)
 
const GF_FilterRegister * odfdec_register (GF_FilterSession *session)
 

Variables

static const GF_FilterCapability ODFDecCaps []
 
GF_FilterRegister ODFDecRegister
 

Data Structure Documentation

◆ GF_ODFDecCtx

struct GF_ODFDecCtx
Data Fields
GF_ObjectManager * odm
GF_Scene * scene
Bool is_playing
GF_FilterPid * out_pid

Function Documentation

◆ odf_dec_configure_pid()

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

◆ attach_desc_to_odm()

static void attach_desc_to_odm ( GF_ObjectManager *  odm,
GF_ObjectDescriptor od 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ODS_SetupOD()

void ODS_SetupOD ( GF_Scene *  scene,
GF_ObjectDescriptor od 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ODS_ODUpdate()

static GF_Err ODS_ODUpdate ( GF_Scene *  scene,
GF_ODUpdate odU 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ODS_RemoveOD()

static GF_Err ODS_RemoveOD ( GF_Scene *  scene,
GF_ODRemove odR 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ODS_UpdateESD()

static GF_Err ODS_UpdateESD ( GF_Scene *  scene,
GF_ESDUpdate ESDs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ODS_RemoveESD()

static GF_Err ODS_RemoveESD ( GF_Scene *  scene,
GF_ESDRemove ESDs 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ odf_dec_process()

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

◆ odf_dec_process_event()

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

◆ odfdec_register()

const GF_FilterRegister* odfdec_register ( GF_FilterSession *  session)

Variable Documentation

◆ ODFDecCaps

const GF_FilterCapability ODFDecCaps[]
static
Initial value:
=
{
}
@ GF_CODECID_OD_V1
Definition: constants.h:387
@ GF_CODECID_RAW
Definition: constants.h:600
@ GF_CODECID_OD_V2
Definition: constants.h:391
@ GF_STREAM_OD
Definition: constants.h:58
#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

◆ ODFDecRegister

GF_FilterRegister ODFDecRegister
Initial value:
= {
.name = "odfdec",
GF_FS_SET_HELP("This filter decodes MPEG-4 OD binary frames directly into the scene manager of the compositor.\n"
"Note: This filter cannot be used to dump OD content to text or xml, use `MP4Box` for that.")
.private_size = sizeof(GF_ODFDecCtx),
.priority = 1,
.process = odf_dec_process,
.configure_pid = odf_dec_configure_pid,
.process_event = odf_dec_process_event,
.hint_class_type = GF_FS_CLASS_DECODER
}
static const GF_FilterCapability ODFDecCaps[]
Definition: dec_odf.c:492
GF_Err odf_dec_process(GF_Filter *filter)
Definition: dec_odf.c:334
GF_Err odf_dec_configure_pid(GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
Definition: dec_odf.c:41
static Bool odf_dec_process_event(GF_Filter *filter, const GF_FilterEvent *com)
Definition: dec_odf.c:457
Definition: dec_odf.c:33
#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