libgpac
Documentation of the core library of GPAC
in_route.c File Reference
#include "in_route.h"
+ Include dependency graph for in_route.c:

Macros

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

Functions

static GF_FilterProbeScore routein_probe_url (const char *url, const char *mime)
 
static void routein_finalize (GF_Filter *filter)
 
static void push_seg_info (ROUTEInCtx *ctx, GF_FilterPid *pid, GF_ROUTEEventFileInfo *finfo)
 
static void routein_cleanup_objects (ROUTEInCtx *ctx, u32 service_id)
 
TSI_Outputroutein_get_tsio (ROUTEInCtx *ctx, u32 service_id, GF_ROUTEEventFileInfo *finfo)
 
static void routein_send_file (ROUTEInCtx *ctx, u32 service_id, GF_ROUTEEventFileInfo *finfo, GF_ROUTEEventType evt_type)
 
static void routein_write_to_disk (ROUTEInCtx *ctx, u32 service_id, GF_ROUTEEventFileInfo *finfo, u32 evt_type)
 
void routein_on_event_file (ROUTEInCtx *ctx, GF_ROUTEEventType evt, u32 evt_param, GF_ROUTEEventFileInfo *finfo, Bool is_defer_repair, Bool drop_if_first)
 
void routein_on_event (void *udta, GF_ROUTEEventType evt, u32 evt_param, GF_ROUTEEventFileInfo *finfo)
 
static Bool routein_local_cache_probe (void *par, char *url, Bool is_destroy)
 
static void routein_set_eos (GF_Filter *filter, ROUTEInCtx *ctx)
 
static GF_Err routein_process (GF_Filter *filter)
 
static GF_Err routein_initialize (GF_Filter *filter)
 
static Bool routein_process_event (GF_Filter *filter, const GF_FilterEvent *evt)
 
GF_Err gf_route_dmx_has_object_by_name (GF_ROUTEDmx *routedmx, u32 service_id, const char *fileName)
 
Bool routein_is_valid_url (GF_Filter *filter, u32 service_id, const char *url)
 
const GF_FilterRegister * routein_register (GF_FilterSession *session)
 

Variables

static const GF_FilterArgs ROUTEInArgs []
 
static const GF_FilterCapability ROUTEInCaps []
 
GF_FilterRegister ROUTEInRegister
 

Macro Definition Documentation

◆ OFFS

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

Function Documentation

◆ routein_probe_url()

static GF_FilterProbeScore routein_probe_url ( const char *  url,
const char *  mime 
)
static

◆ routein_finalize()

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

◆ push_seg_info()

static void push_seg_info ( ROUTEInCtx ctx,
GF_FilterPid *  pid,
GF_ROUTEEventFileInfo finfo 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ routein_cleanup_objects()

static void routein_cleanup_objects ( ROUTEInCtx ctx,
u32  service_id 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ routein_get_tsio()

TSI_Output* routein_get_tsio ( ROUTEInCtx ctx,
u32  service_id,
GF_ROUTEEventFileInfo finfo 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ routein_send_file()

static void routein_send_file ( ROUTEInCtx ctx,
u32  service_id,
GF_ROUTEEventFileInfo finfo,
GF_ROUTEEventType  evt_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ routein_write_to_disk()

static void routein_write_to_disk ( ROUTEInCtx ctx,
u32  service_id,
GF_ROUTEEventFileInfo finfo,
u32  evt_type 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ routein_on_event_file()

void routein_on_event_file ( ROUTEInCtx ctx,
GF_ROUTEEventType  evt,
u32  evt_param,
GF_ROUTEEventFileInfo finfo,
Bool  is_defer_repair,
Bool  drop_if_first 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ routein_on_event()

void routein_on_event ( void *  udta,
GF_ROUTEEventType  evt,
u32  evt_param,
GF_ROUTEEventFileInfo finfo 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ routein_local_cache_probe()

static Bool routein_local_cache_probe ( void *  par,
char *  url,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ routein_set_eos()

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

◆ routein_process()

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

◆ routein_initialize()

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

◆ routein_process_event()

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

◆ gf_route_dmx_has_object_by_name()

GF_Err gf_route_dmx_has_object_by_name ( GF_ROUTEDmx *  routedmx,
u32  service_id,
const char *  fileName 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ routein_is_valid_url()

Bool routein_is_valid_url ( GF_Filter *  filter,
u32  service_id,
const char *  url 
)
+ Here is the call graph for this function:

◆ routein_register()

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

Variable Documentation

◆ ROUTEInArgs

const GF_FilterArgs ROUTEInArgs[]
static

◆ ROUTEInCaps

const GF_FilterCapability ROUTEInCaps[]
static
Initial value:
=
{
}
@ GF_STREAM_FILE
Definition: constants.h:104
#define GF_CAPS_OUTPUT
Definition: filters.h:2232
#define CAP_UINT(_f, _a, _b)
Definition: filters.h:2172
@ GF_PROP_PID_STREAM_TYPE
Definition: filters.h:1112

◆ ROUTEInRegister

GF_FilterRegister ROUTEInRegister