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

Data Structures

struct  GF_M4VMxCtx
 

Macros

#define OFFS(_n)   #_n, offsetof(GF_M4VMxCtx, _n)
 

Functions

GF_Err m4vmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
 
GF_Err m4vmx_process (GF_Filter *filter)
 
const GF_FilterRegister * ufm4v_register (GF_FilterSession *session)
 
static GF_Err vc1mx_initialize (GF_Filter *filter)
 
const GF_FilterRegister * ufvc1_register (GF_FilterSession *session)
 

Variables

static const GF_FilterCapability M4VMxCaps []
 
static const GF_FilterArgs M4VMxArgs []
 
GF_FilterRegister M4VMxRegister
 
static const GF_FilterCapability VC1MxCaps []
 
GF_FilterRegister VC1VMxRegister
 

Data Structure Documentation

◆ GF_M4VMxCtx

struct GF_M4VMxCtx
Data Fields
Bool rcfg
GF_FilterPid * ipid
GF_FilterPid * opid
u32 crc
char * dsi
u32 dsi_size
Bool is_vc1
Bool vc1_ilaced

Macro Definition Documentation

◆ OFFS

#define OFFS (   _n)    #_n, offsetof(GF_M4VMxCtx, _n)

Function Documentation

◆ m4vmx_configure_pid()

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

◆ m4vmx_process()

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

◆ ufm4v_register()

const GF_FilterRegister* ufm4v_register ( GF_FilterSession *  session)

◆ vc1mx_initialize()

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

◆ ufvc1_register()

const GF_FilterRegister* ufvc1_register ( GF_FilterSession *  session)
+ Here is the call graph for this function:

Variable Documentation

◆ M4VMxCaps

const GF_FilterCapability M4VMxCaps[]
static
Initial value:
=
{
}
@ GF_CODECID_MPEG4_PART2
Definition: constants.h:410
@ GF_STREAM_VISUAL
Definition: constants.h:64
#define GF_CAPS_OUTPUT
Definition: filters.h:2232
#define CAP_UINT(_f, _a, _b)
Definition: filters.h:2172
#define GF_CAPS_INPUT_OUTPUT
Definition: filters.h:2242
#define GF_CAPS_INPUT_EXCLUDED
Definition: filters.h:2228
#define CAP_BOOL(_f, _a, _b)
Definition: filters.h:2180
@ 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

◆ M4VMxArgs

const GF_FilterArgs M4VMxArgs[]
static
Initial value:
=
{
{ OFFS(rcfg), "force repeating decoder config at each I-frame", GF_PROP_BOOL, "true", NULL, 0},
{0}
}
@ GF_PROP_BOOL
Definition: filters.h:858
#define OFFS(_n)
Definition: rewrite_mp4v.c:196

◆ M4VMxRegister

GF_FilterRegister M4VMxRegister
Initial value:
= {
.name = "ufm4v",
.private_size = sizeof(GF_M4VMxCtx),
.configure_pid = m4vmx_configure_pid,
.process = m4vmx_process,
.hint_class_type = GF_FS_CLASS_FRAMING
}
#define SETCAPS(__struct)
Definition: filters.h:2364
@ GF_FS_CLASS_FRAMING
Definition: filters.h:2459
attribute Array args
Definition: jsf.idl:24
GF_Err m4vmx_configure_pid(GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
Definition: rewrite_mp4v.c:51
static const GF_FilterArgs M4VMxArgs[]
Definition: rewrite_mp4v.c:197
GF_Err m4vmx_process(GF_Filter *filter)
Definition: rewrite_mp4v.c:102
static const GF_FilterCapability M4VMxCaps[]
Definition: rewrite_mp4v.c:186
Definition: rewrite_mp4v.c:34

◆ VC1MxCaps

◆ VC1VMxRegister

GF_FilterRegister VC1VMxRegister
Initial value:
= {
.name = "ufvc1",
.private_size = sizeof(GF_M4VMxCtx),
.initialize = vc1mx_initialize,
.configure_pid = m4vmx_configure_pid,
.process = m4vmx_process,
.hint_class_type = GF_FS_CLASS_FRAMING
}
static GF_Err vc1mx_initialize(GF_Filter *filter)
Definition: rewrite_mp4v.c:232
static const GF_FilterCapability VC1MxCaps[]
Definition: rewrite_mp4v.c:223