![]() |
libgpac
Documentation of the core library of GPAC
|
#include <gpac/main.h>#include <gpac/filters.h>#include <gpac/thread.h>#include <gpac/network.h>#include "gpac.h"#include <signal.h>#include <gpac/token.h>
Include dependency graph for gpac.c:Data Structures | |
| struct | _gpac_key |
| struct | _logentry |
| struct | CacheInfo |
| struct | FileIOCtx |
Macros | |
| #define | SET_CONSOLE(_code) gf_sys_set_console_code(stderr, _code) |
| #define | gpac_exit(_code) return gpac_exit_fun(_code) |
| #define | ERR_EXIT goto exit; |
| #define | DEF_LOG_ENTRIES 10 |
| #define | TIMEFMT "%Y/%m/%dT%H:%M:%SZ" |
| #define | PTR_INT (u64) (u32) |
| #define | UPDATE_FIELD(_prompt, _key) |
Enumerations | |
| enum | { CACHE_OP_DELETE , CACHE_OP_SHOW , CACHE_OP_INFO , CACHE_OP_UNFLATTEN } |
| enum | GPAC_Command { GPAC_COM_UNDEF = 0 , GPAC_QUIT , GPAC_EXIT , GPAC_PRINT_STATS , GPAC_PRINT_GRAPH , GPAC_SEND_UPDATE , GPAC_LIST_FILTERS , GPAC_INSERT_FILTER , GPAC_REMOVE_FILTER , GPAC_PRINT_HELP } |
Functions | |
| static void | gpac_print_report (GF_FilterSession *fsess, Bool is_init, Bool is_final) |
| static void | cleanup_logs (void) |
| static Bool | gpac_handle_prompt (GF_FilterSession *fsess, char char_code) |
| static void | gpac_fsess_task_help (void) |
| static const char * | make_fileio (const char *inargs, const char **out_arg, u32 mode, GF_Err *e) |
| static void | cleanup_file_io (void) |
| static GF_Filter * | load_custom_filter (GF_FilterSession *sess, char *opts, GF_Err *e) |
| static u32 | gpac_unit_tests (GF_MemTrackerType mem_track) |
| static void | do_cache_check (u32 op_type, char *argval) |
| static GF_Err | print_pid_props (char *arg) |
| static GF_Err | probe_pid_link (char *arg) |
| static GF_Err | print_pid_dests (char *arg) |
| static void | gpac_sig_handler (int sig) |
| static int | gpac_do_creds (char *creds_args) |
| static Bool | gpac_event_proc (void *opaque, GF_Event *event) |
| static Bool | gpac_fsess_task (GF_FilterSession *fsess, void *callback, u32 *reschedule_ms) |
| static int | gpac_exit_fun (GF_Err code) |
| u32 | get_u32 (char *val, char *log_name) |
| s32 | get_s32 (char *val, char *log_name) |
| static Bool | enum_net_ifces (void *cbk, const char *name, const char *IP, u32 flags) |
| static void | run_sess (void) |
| static int | gpac_main (int _argc, char **_argv) |
| static GPAC_Command | get_cmd (u8 char_code) |
| static GF_Err | extract_filter_and_pid (char *arg, GF_Filter **o_f, s32 *opid_idx, u8 *prefix_c) |
| static void | gpac_on_logs (void *cbck, GF_LOG_Level log_level, GF_LOG_Tool log_tool, const char *fmt, va_list vlist) |
| static void | print_date_ex (u64 time, Bool full_print) |
| static void | print_date (u64 time) |
| static GFINLINE const char * | format_date (u64 time, char *szDate) |
| static Bool | cache_file_op (void *cbck, char *item_name, char *item_path, GF_FileEnumInfo *file_info) |
| static GF_FileIO * | fio_open (GF_FileIO *fileio_ref, const char *url, const char *mode, GF_Err *out_err) |
| static GF_Err | fio_seek (GF_FileIO *fileio, u64 offset, s32 whence) |
| static u32 | fio_read (GF_FileIO *fileio, u8 *buffer, u32 bytes) |
| static u32 | fio_write (GF_FileIO *fileio, u8 *buffer, u32 bytes) |
| static s64 | fio_tell (GF_FileIO *fileio) |
| static Bool | fio_eof (GF_FileIO *fileio) |
| static int | fio_printf (GF_FileIO *fileio, const char *format, va_list args) |
| static GF_Err | gpac_gfio_del (const char *url, const char *parent_gfio) |
| static GF_Err | cust_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
| static GF_Err | cust_process (GF_Filter *filter) |
| static void | to_hex (u8 *data, u32 len, char *out) |
| static u64 | creds_set_pass (GF_Config *creds, const char *user, const char *passwd) |
| static void | rem_user_from_group (GF_Config *creds, const char *group, const char *user) |
| struct _gpac_key |
| Data Fields | ||
|---|---|---|
| u8 | char_code | |
| GPAC_Command | cmd_type | |
| const char * | cmd_help | |
| u32 | flags | |
| struct CacheInfo |
| #define SET_CONSOLE | ( | _code | ) | gf_sys_set_console_code(stderr, _code) |
| #define gpac_exit | ( | _code | ) | return gpac_exit_fun(_code) |
| #define ERR_EXIT goto exit; |
| #define DEF_LOG_ENTRIES 10 |
| #define TIMEFMT "%Y/%m/%dT%H:%M:%SZ" |
| #define UPDATE_FIELD | ( | _prompt, | |
| _key | |||
| ) |
| enum GPAC_Command |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:| u32 get_u32 | ( | char * | val, |
| char * | log_name | ||
| ) |
Here is the caller graph for this function:| s32 get_s32 | ( | char * | val, |
| char * | log_name | ||
| ) |
Here is the caller graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the call graph for this function:
|
static |
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Here is the call graph for this function:
Here is the caller graph for this function:| u32 list_filters = 0 |
| u32 print_filter_info = 0 |
| int alias_argc = 0 |
| char** alias_argv = NULL |
| GF_List* args_used = NULL |
| GF_List* args_alloc = NULL |
| u32 gen_doc = 0 |
| u32 help_flags = 0 |
| FILE* helpout = NULL |
| const char* auto_gen_md_warning = "<!-- automatically generated - do not edit, patch gpac/applications/gpac/gpac.c -->\n" |
| u32 compositor_mode = 0 |
| char separator_set[7] = GF_FS_DEFAULT_SEPS |
|
extern |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| struct _logentry * static_logs |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |