libgpac
Documentation of the core library of GPAC
|
#include <gpac/filters.h>
#include <gpac/constants.h>
#include <gpac/bitstream.h>
#include <gpac/xml.h>
#include <gpac/base_coding.h>
#include <gpac/internal/isomedia_dev.h>
#include <gpac/webvtt.h>
Data Structures | |
struct | GF_GenDumpCtx |
struct | BITMAPFILEHEADER |
struct | BITMAPINFOHEADER |
Macros | |
#define | BI_RGB 0L |
#define | OFFS(_n) #_n, offsetof(GF_GenDumpCtx, _n) |
Enumerations | |
enum | { DECINFO_NO =0 , DECINFO_FIRST , DECINFO_SAP , DECINFO_AUTO } |
enum | { VTTH_SINGLE =0 , VTTH_SEG , VTTH_ALL } |
Functions | |
GF_Err | writegen_configure_pid (GF_Filter *filter, GF_FilterPid *pid, Bool is_remove) |
static GF_FilterPacket * | writegen_write_j2k (GF_GenDumpCtx *ctx, char *data, u32 data_size, GF_FilterPacket *in_pck) |
static GF_FilterPacket * | writegen_write_bmp (GF_GenDumpCtx *ctx, char *data, u32 data_size) |
static void | writegen_write_wav_header (GF_GenDumpCtx *ctx) |
GF_XMLAttribute * | ttml_get_attr (GF_XMLNode *node, char *name) |
static GF_XMLNode * | ttml_locate_div (GF_XMLNode *body, const char *region_name, u32 div_idx) |
static GF_XMLNode * | ttml_get_head (GF_XMLNode *root) |
GF_XMLNode * | ttml_get_body (GF_XMLNode *root) |
static Bool | ttml_same_attr (GF_XMLNode *n1, GF_XMLNode *n2) |
static void | ttml_merge_head (GF_XMLNode *node_src, GF_XMLNode *node_dst) |
static GF_Err | ttml_embed_data (GF_XMLNode *node, u8 *aux_data, u32 aux_data_size, u8 *subs_data, u32 subs_data_size) |
static GF_Err | writegen_push_ttml (GF_GenDumpCtx *ctx, char *data, u32 data_size, GF_FilterPacket *in_pck) |
static GF_Err | writegen_flush_ttml (GF_GenDumpCtx *ctx) |
static GF_Err | writegen_flush_ttxt (GF_GenDumpCtx *ctx) |
static void | webvtt_timestamps_dump (GF_BitStream *bs, u64 start_ts, u64 end_ts, u32 timescale, Bool write_srt) |
GF_Err | writegen_process (GF_Filter *filter) |
static GF_Err | writegen_initialize (GF_Filter *filter) |
void | writegen_finalize (GF_Filter *filter) |
const GF_FilterRegister * | writegen_register (GF_FilterSession *session) |
static GF_Err | writeuf_initialize (GF_Filter *filter) |
const GF_FilterRegister * | writeuf_register (GF_FilterSession *session) |
static GF_Err | ttmlmerge_initialize (GF_Filter *filter) |
const GF_FilterRegister * | ttmlmerge_register (GF_FilterSession *session) |
Variables | |
static GF_FilterCapability | GenDumpCaps [] |
static GF_FilterArgs | GenDumpArgs [] |
GF_FilterRegister | GenDumpRegister |
static const GF_FilterCapability | FrameDumpCaps [] |
static GF_FilterCapability | GenDumpXCaps [] |
const GF_FilterRegister | WriteUFRegister |
static GF_FilterCapability | TTMLMergeCaps [] |
const GF_FilterRegister | TTMLMergeRegister |
struct GF_GenDumpCtx |
Data Fields | ||
---|---|---|
Bool | exporter | |
Bool | frame | |
Bool | split | |
Bool | merge_region | |
u32 | sstart | |
u32 | send | |
u32 | vtth | |
u32 | pfmt | |
u32 | afmt | |
u32 | decinfo | |
GF_Fraction | dur | |
GF_FilterPid * | ipid | |
GF_FilterPid * | opid | |
u32 | codecid | |
Bool | is_mj2k | |
u32 | sample_num | |
const char * | dcfg | |
u32 | dcfg_size | |
Bool | cfg_sent | |
GF_Fraction64 | duration | |
Bool | first | |
GF_BitStream * | bs | |
u32 | target_pfmt | |
u32 | target_afmt | |
Bool | is_bmp | |
u32 | is_y4m | |
u32 | is_wav | |
u32 | w | |
u32 | h | |
u32 | stride | |
u64 | nb_bytes | |
Bool | dash_mode | |
Bool | trunc_audio | |
Bool | webvtt | |
u64 | first_dts_plus_one | |
Bool | ttml_agg | |
GF_XMLNode * | ttml_root | |
GF_FilterPacket * | ttml_dash_pck | |
Bool | dump_srt | |
Bool | need_ttxt_footer | |
u8 * | write_buf | |
u32 | write_alloc | |
Bool | unframe_only | |
Bool | vc1_ilaced | |
Bool | ttml_merger | |
u64 | ttml_first_cts | |
GF_FilterPacket * | ttml_first_pck |
struct BITMAPFILEHEADER |
struct BITMAPINFOHEADER |
#define BI_RGB 0L |
#define OFFS | ( | _n | ) | #_n, offsetof(GF_GenDumpCtx, _n) |
|
static |
|
static |
|
static |
GF_XMLAttribute* ttml_get_attr | ( | GF_XMLNode * | node, |
char * | name | ||
) |
|
static |
|
static |
GF_XMLNode* ttml_get_body | ( | GF_XMLNode * | root | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
GF_Err writegen_process | ( | GF_Filter * | filter | ) |
|
static |
void writegen_finalize | ( | GF_Filter * | filter | ) |
const GF_FilterRegister* writegen_register | ( | GF_FilterSession * | session | ) |
|
static |
const GF_FilterRegister* writeuf_register | ( | GF_FilterSession * | session | ) |
|
static |
const GF_FilterRegister* ttmlmerge_register | ( | GF_FilterSession * | session | ) |
|
static |
|
static |
GF_FilterRegister GenDumpRegister |
|
static |
|
static |
const GF_FilterRegister WriteUFRegister |
|
static |
const GF_FilterRegister TTMLMergeRegister |