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

Data Structures

struct  GF_LSRDecCtx
 

Functions

static GF_Err lsrdec_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
 
static Bool lsrdec_process_event (GF_Filter *filter, const GF_FilterEvent *com)
 
static GF_Err lsrdec_process (GF_Filter *filter)
 
static GF_Err lsrdec_initialize (GF_Filter *filter)
 
static void lsrdec_finalize (GF_Filter *filter)
 
const GF_FilterRegister * lsrdec_register (GF_FilterSession *session)
 defined(GPAC_DISABLE_LASER) && !defined(GPAC_DISABLE_COMPOSITOR) More...
 

Variables

static const GF_FilterCapability LSRDecCaps []
 
GF_FilterRegister LSRDecRegister
 

Data Structure Documentation

◆ GF_LSRDecCtx

struct GF_LSRDecCtx
Data Fields
GF_Scene * scene
GF_ObjectManager * odm
GF_LASeRCodec * codec
u32 PL
u32 nb_streams
Bool is_playing
GF_FilterPid * out_pid

Function Documentation

◆ lsrdec_configure_pid()

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

◆ lsrdec_process_event()

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

◆ lsrdec_process()

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

◆ lsrdec_initialize()

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

◆ lsrdec_finalize()

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

◆ lsrdec_register()

const GF_FilterRegister* lsrdec_register ( GF_FilterSession *  session)

Variable Documentation

◆ LSRDecCaps

const GF_FilterCapability LSRDecCaps[]
static
Initial value:
=
{
}
@ GF_CODECID_LASER
Definition: constants.h:405
@ 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

◆ LSRDecRegister

GF_FilterRegister LSRDecRegister
Initial value:
= {
.name = "lsrdec",
GF_FS_SET_HELP("This filter decodes MPEG-4 LASeR binary frames directly into the scene graph of the compositor.\n"
"Note: This filter cannot be used to dump LASeR content to text or xml, use `MP4Box` for that.")
.private_size = sizeof(GF_LSRDecCtx),
.priority = 1,
.initialize = lsrdec_initialize,
.finalize = lsrdec_finalize,
.process = lsrdec_process,
.configure_pid = lsrdec_configure_pid,
.process_event = lsrdec_process_event,
.hint_class_type = GF_FS_CLASS_DECODER
}
static GF_Err lsrdec_process(GF_Filter *filter)
Definition: dec_laser.c:150
static const GF_FilterCapability LSRDecCaps[]
Definition: dec_laser.c:239
static Bool lsrdec_process_event(GF_Filter *filter, const GF_FilterEvent *com)
Definition: dec_laser.c:111
static GF_Err lsrdec_initialize(GF_Filter *filter)
Definition: dec_laser.c:221
static GF_Err lsrdec_configure_pid(GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
Definition: dec_laser.c:44
static void lsrdec_finalize(GF_Filter *filter)
Definition: dec_laser.c:232
Definition: dec_laser.c:35
#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