libgpac
Documentation of the core library of GPAC
|
Data Structures | |
struct | DispShape |
struct | SWFReader |
struct | SWFRec |
struct | SWFPath |
struct | SWFShapeRec |
struct | SWFShape |
struct | SWFFont |
struct | SWFGlyphRec |
struct | SWFText |
struct | SWFEditText |
struct | SWFSound |
struct | SWF_ButtonRecord |
struct | SWF_Button |
struct | SWFAction |
Macros | |
#define | SWF_TWIP_SCALE (1/20.0f) |
Enumerations | |
enum | { SWF_PLACE , SWF_REPLACE , SWF_MOVE } |
enum | { SWF_SND_UNCOMP = 0 , SWF_SND_ADPCM , SWF_SND_MP3 } |
enum | { GF_SWF_AS3_GOTO_FRAME , GF_SWF_AS3_GET_URL , GF_SWF_AS3_NEXT_FRAME , GF_SWF_AS3_PREV_FRAME , GF_SWF_AS3_PLAY , GF_SWF_AS3_STOP , GF_SWF_AS3_TOGGLE_QUALITY , GF_SWF_AS3_STOP_SOUNDS , GF_SWF_AS3_WAIT_FOR_FRAME , GF_SWF_AS3_SET_TARGET , GF_SWF_AS3_GOTO_LABEL } |
enum | { GF_SWF_COND_IDLE_TO_OVERDOWN = 1 , GF_SWF_COND_OUTDOWN_TO_IDLE = 1<<1 , GF_SWF_COND_OUTDOWN_TO_OVERDOWN = 1<<2 , GF_SWF_COND_OVERDOWN_TO_OUTDOWN = 1<<3 , GF_SWF_COND_OVERDOWN_TO_OUTUP = 1<<4 , GF_SWF_COND_OVERUP_TO_OVERDOWN = 1<<5 , GF_SWF_COND_OVERUP_TO_IDLE = 1<<6 , GF_SWF_COND_IDLE_TO_OVERUP = 1<<7 , GF_SWF_COND_OVERDOWN_TO_IDLE = 1<<8 } |
Functions | |
void | swf_report (SWFReader *read, GF_Err e, char *format,...) |
SWFFont * | swf_find_font (SWFReader *read, u32 fontID) |
GF_Err | swf_parse_sprite (SWFReader *read) |
GF_Err | swf_parse_tag (SWFReader *read) |
GF_Err | swf_to_bifs_init (SWFReader *read) |
GF_Err | swf_to_svg_init (SWFReader *read, u32 flags, Float angle) |
GF_Err | swf_svg_write_text_sample (void *user, const u8 *data, u32 length, u64 timestamp, Bool isRap) |
GF_Err | swf_svg_write_text_header (void *user, const u8 *data, u32 length, Bool isHeader) |
SWFReader * | gf_swf_reader_new (const char *path, const char *filename) |
GF_Err | gf_swf_read_header (SWFReader *read) |
void | gf_swf_reader_del (SWFReader *read) |
GF_Err | gf_swf_get_duration (SWFReader *read, u32 *frame_rate, u32 *frame_count) |
GF_Err | gf_swf_reader_set_user_mode (SWFReader *read, void *user, GF_Err(*add_sample)(void *user, const u8 *data, u32 length, u64 timestamp, Bool isRap), GF_Err(*add_header)(void *user, const u8 *data, u32 length, Bool isheader)) |
struct DispShape |
Data Fields | ||
---|---|---|
GF_Matrix2D | mat | |
GF_ColorMatrix | cmat | |
u32 | depth | |
u32 | char_id |
struct SWFShapeRec |
struct SWFShape |
struct SWFFont |
struct SWFGlyphRec |
struct SWFText |
struct SWFEditText |
Data Fields | ||
---|---|---|
u32 | ID | |
char * | init_value | |
SWFRec | bounds | |
Bool | word_wrap | |
Bool | multiline | |
Bool | password | |
Bool | read_only | |
Bool | auto_size | |
Bool | no_select | |
Bool | html | |
Bool | outlines | |
Bool | has_layout | |
Bool | border | |
u32 | color | |
Fixed | max_length | |
Fixed | font_height | |
u32 | fontID | |
u32 | align | |
Fixed | left | |
Fixed | right | |
Fixed | indent | |
Fixed | leading |
struct SWFSound |
struct SWF_ButtonRecord |
Data Fields | ||
---|---|---|
Bool | hitTest | |
Bool | down | |
Bool | over | |
Bool | up | |
u32 | character_id | |
u16 | depth | |
GF_Matrix2D | mx | |
GF_ColorMatrix | cmx | |
Bool | skip |
struct SWF_Button |
struct SWFAction |
#define SWF_TWIP_SCALE (1/20.0f) |
anonymous enum |
anonymous enum |
GF_Err swf_svg_write_text_sample | ( | void * | user, |
const u8 * | data, | ||
u32 | length, | ||
u64 | timestamp, | ||
Bool | isRap | ||
) |
SWFReader* gf_swf_reader_new | ( | const char * | path, |
const char * | filename | ||
) |
void gf_swf_reader_del | ( | SWFReader * | read | ) |