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

Data Structures

struct  H263Idx
 
struct  GF_H263DmxCtx
 

Macros

#define H263_CACHE_SIZE   4096
 
#define OFFS(_n)   #_n, offsetof(GF_H263DmxCtx, _n)
 

Functions

GF_Err h263dmx_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
 
static u32 h263dmx_next_start_code_bs (GF_BitStream *bs)
 
static void h263dmx_check_dur (GF_Filter *filter, GF_H263DmxCtx *ctx)
 
static void h263dmx_check_pid (GF_Filter *filter, GF_H263DmxCtx *ctx, u32 width, u32 height)
 
static Bool h263dmx_process_event (GF_Filter *filter, const GF_FilterEvent *evt)
 
static GFINLINE void h263dmx_update_cts (GF_H263DmxCtx *ctx)
 
static s32 h263dmx_next_start_code (u8 *data, u32 size)
 
static void h263_get_pic_size (GF_BitStream *bs, u32 fmt, u32 *w, u32 *h)
 
GF_Err h263dmx_process (GF_Filter *filter)
 
static void h263dmx_finalize (GF_Filter *filter)
 
static const char * h263dmx_probe_data (const u8 *data, u32 size, GF_FilterProbeScore *score)
 
const GF_FilterRegister * rfh263_register (GF_FilterSession *session)
 

Variables

static const GF_FilterCapability H263DmxCaps []
 
static const GF_FilterArgs H263DmxArgs []
 
GF_FilterRegister H263DmxRegister
 

Data Structure Documentation

◆ H263Idx

struct H263Idx
Data Fields
u64 pos
Double duration

◆ GF_H263DmxCtx

struct GF_H263DmxCtx
+ Collaboration diagram for GF_H263DmxCtx:
Data Fields
GF_Fraction fps
Double index
Bool notime
GF_FilterPid * ipid
GF_FilterPid * opid
GF_BitStream * bs
u64 cts
u32 width
u32 height
GF_Fraction64 duration
Double start_range
Bool in_seek
u32 timescale
u32 resume_from
u32 bytes_in_header
char hdr_store[8]
Bool is_playing
Bool is_file
Bool file_loaded
Bool initial_play_done
GF_FilterPacket * src_pck
H263Idx * indexes
u32 index_alloc_size
u32 index_size
u32 bitrate
Bool copy_props

Macro Definition Documentation

◆ H263_CACHE_SIZE

#define H263_CACHE_SIZE   4096

◆ OFFS

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

Function Documentation

◆ h263dmx_configure_pid()

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

◆ h263dmx_next_start_code_bs()

static u32 h263dmx_next_start_code_bs ( GF_BitStream *  bs)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ h263dmx_check_dur()

static void h263dmx_check_dur ( GF_Filter *  filter,
GF_H263DmxCtx ctx 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ h263dmx_check_pid()

static void h263dmx_check_pid ( GF_Filter *  filter,
GF_H263DmxCtx ctx,
u32  width,
u32  height 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ h263dmx_process_event()

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

◆ h263dmx_update_cts()

static GFINLINE void h263dmx_update_cts ( GF_H263DmxCtx ctx)
static
+ Here is the caller graph for this function:

◆ h263dmx_next_start_code()

static s32 h263dmx_next_start_code ( u8 data,
u32  size 
)
static
+ Here is the caller graph for this function:

◆ h263_get_pic_size()

static void h263_get_pic_size ( GF_BitStream *  bs,
u32  fmt,
u32 w,
u32 h 
)
static
+ Here is the caller graph for this function:

◆ h263dmx_process()

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

◆ h263dmx_finalize()

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

◆ h263dmx_probe_data()

static const char* h263dmx_probe_data ( const u8 data,
u32  size,
GF_FilterProbeScore score 
)
static
+ Here is the call graph for this function:

◆ rfh263_register()

const GF_FilterRegister* rfh263_register ( GF_FilterSession *  session)

Variable Documentation

◆ H263DmxCaps

const GF_FilterCapability H263DmxCaps[]
static
Initial value:
=
{
{0},
}
@ GF_CODECID_H263
Definition: constants.h:461
@ GF_CODECID_S263
Definition: constants.h:460
@ GF_STREAM_FILE
Definition: constants.h:104
@ GF_STREAM_VISUAL
Definition: constants.h:64
#define CAP_UINT(_f, _a, _b)
Definition: filters.h:2172
#define CAP_STRING(_f, _a, _b)
Definition: filters.h:2194
#define CAP_BOOL(_f, _a, _b)
Definition: filters.h:2180
#define GF_CAPS_INPUT
Definition: filters.h:2220
#define GF_CAPS_OUTPUT_STATIC
Definition: filters.h:2238
#define GF_CAPS_OUTPUT_STATIC_EXCLUDED
Definition: filters.h:2240
@ 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_PROP_PID_FILE_EXT
Definition: filters.h:1190
@ GF_PROP_PID_MIME
Definition: filters.h:1189
@ GF_TRUE
Definition: setup.h:474

◆ H263DmxArgs

const GF_FilterArgs H263DmxArgs[]
static
Initial value:
=
{
{ OFFS(fps), "import frame rate", GF_PROP_FRACTION, "15000/1000", NULL, 0},
{ OFFS(index), "indexing window length", GF_PROP_DOUBLE, "1.0", NULL, 0},
{ OFFS(notime), "ignore input timestamps, rebuild from 0", GF_PROP_BOOL, "false", NULL, GF_FS_ARG_HINT_ADVANCED},
{0}
}
@ GF_FS_ARG_HINT_ADVANCED
Definition: filters.h:2102
@ GF_PROP_BOOL
Definition: filters.h:858
@ GF_PROP_DOUBLE
Definition: filters.h:866
@ GF_PROP_FRACTION
Definition: filters.h:860
#define OFFS(_n)
Definition: reframe_h263.c:749

◆ H263DmxRegister

GF_FilterRegister H263DmxRegister
Initial value:
= {
.name = "rfh263",
.private_size = sizeof(GF_H263DmxCtx),
.finalize = h263dmx_finalize,
.configure_pid = h263dmx_configure_pid,
.process = h263dmx_process,
.probe_data = h263dmx_probe_data,
.process_event = h263dmx_process_event,
.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 h263dmx_process(GF_Filter *filter)
Definition: reframe_h263.c:387
GF_Err h263dmx_configure_pid(GF_Filter *filter, GF_FilterPid *pid, Bool is_remove)
Definition: reframe_h263.c:77
static const GF_FilterArgs H263DmxArgs[]
Definition: reframe_h263.c:750
static const char * h263dmx_probe_data(const u8 *data, u32 size, GF_FilterProbeScore *score)
Definition: reframe_h263.c:674
static const GF_FilterCapability H263DmxCaps[]
Definition: reframe_h263.c:733
static void h263dmx_finalize(GF_Filter *filter)
Definition: reframe_h263.c:667
static Bool h263dmx_process_event(GF_Filter *filter, const GF_FilterEvent *evt)
Definition: reframe_h263.c:262
Definition: reframe_h263.c:39