libgpac
Documentation of the core library of GPAC
SWFReader Struct Reference

#include <swf_dev.h>

+ Collaboration diagram for SWFReader:

Data Fields

GF_SceneLoaderload
 
FILE * input
 
char * inputName
 
char * localPath
 
u32 length
 
char * mem
 
u32 frame_rate
 
u32 frame_count
 
Fixed width
 
Fixed height
 
Bool has_interact
 
Bool no_as
 
Bool empty_frame
 
u32 flags
 
GF_BitStream * bs
 
GF_Err ioerr
 
u32 current_frame
 
u32 tag
 
u32 size
 
GF_List * display_list
 
u32 max_depth
 
GF_List * fonts
 
GF_List * sounds
 
SWFSoundsound_stream
 
u32 current_sprite_id
 
Fixed flat_limit
 
u32 flatten_points
 
u8jpeg_hdr
 
u32 jpeg_hdr_size
 
GF_Err(* set_backcol )(SWFReader *read, u32 xrgb)
 
GF_Err(* show_frame )(SWFReader *read)
 
Bool(* allocate_depth )(SWFReader *read, u32 depth)
 
GF_Err(* place_obj )(SWFReader *read, u32 depth, u32 ID, u32 prev_id, u32 type, GF_Matrix2D *mat, GF_ColorMatrix *cmat, GF_Matrix2D *prev_mat, GF_ColorMatrix *prev_cmat)
 
GF_Err(* remove_obj )(SWFReader *read, u32 depth, u32 ID)
 
GF_Err(* define_shape )(SWFReader *read, SWFShape *shape, SWFFont *parent_font, Bool last_sub_shape)
 
GF_Err(* define_sprite )(SWFReader *read, u32 nb_frames)
 
GF_Err(* define_text )(SWFReader *read, SWFText *text)
 
GF_Err(* define_edit_text )(SWFReader *read, SWFEditText *text)
 
GF_Err(* define_button )(SWFReader *read, SWF_Button *button)
 
GF_Err(* setup_image )(SWFReader *read, u32 ID, char *fileName)
 
GF_Err(* setup_sound )(SWFReader *read, SWFSound *snd, Bool soundstream_first_block)
 
GF_Err(* start_sound )(SWFReader *read, SWFSound *snd, Bool stop)
 
Bool(* action )(SWFReader *read, SWFAction *act)
 
void(* finalize )(SWFReader *read, Bool is_destroy)
 
GF_List * apps
 
GF_List * buttons
 
GF_StreamContextbifs_es
 
GF_AUContextbifs_au
 
GF_StreamContextbifs_dict_es
 
GF_AUContextbifs_dict_au
 
GF_Noderoot
 
GF_StreamContextod_es
 
GF_AUContextod_au
 
GF_Nodecur_shape
 
u16 prev_od_id
 
u16 prev_es_id
 
u32 wait_frame
 
SWF_Buttonbtn
 
GF_List * btn_over
 
GF_List * btn_not_over
 
GF_List * btn_active
 
GF_List * btn_not_active
 
Bool print_stream_header
 
Bool print_frame_header
 
u32 frame_header_offset
 
char * svg_data
 
u32 svg_data_size
 
Bool svg_shape_started
 
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)
 
FILE * svg_file
 

Field Documentation

◆ load

GF_SceneLoader* SWFReader::load

◆ input

FILE* SWFReader::input

◆ inputName

char* SWFReader::inputName

◆ localPath

char* SWFReader::localPath

◆ length

u32 SWFReader::length

◆ mem

char* SWFReader::mem

◆ frame_rate

u32 SWFReader::frame_rate

◆ frame_count

u32 SWFReader::frame_count

◆ width

Fixed SWFReader::width

◆ height

Fixed SWFReader::height

◆ has_interact

Bool SWFReader::has_interact

◆ no_as

Bool SWFReader::no_as

◆ empty_frame

Bool SWFReader::empty_frame

◆ flags

u32 SWFReader::flags

◆ bs

GF_BitStream* SWFReader::bs

◆ ioerr

GF_Err SWFReader::ioerr

◆ current_frame

u32 SWFReader::current_frame

◆ tag

u32 SWFReader::tag

◆ size

u32 SWFReader::size

◆ display_list

GF_List* SWFReader::display_list

◆ max_depth

u32 SWFReader::max_depth

◆ fonts

GF_List* SWFReader::fonts

◆ sounds

GF_List* SWFReader::sounds

◆ sound_stream

SWFSound* SWFReader::sound_stream

◆ current_sprite_id

u32 SWFReader::current_sprite_id

◆ flat_limit

Fixed SWFReader::flat_limit

◆ flatten_points

u32 SWFReader::flatten_points

◆ jpeg_hdr

u8* SWFReader::jpeg_hdr

◆ jpeg_hdr_size

u32 SWFReader::jpeg_hdr_size

◆ set_backcol

GF_Err(* SWFReader::set_backcol) (SWFReader *read, u32 xrgb)

◆ show_frame

GF_Err(* SWFReader::show_frame) (SWFReader *read)

◆ allocate_depth

Bool(* SWFReader::allocate_depth) (SWFReader *read, u32 depth)

◆ place_obj

GF_Err(* SWFReader::place_obj) (SWFReader *read, u32 depth, u32 ID, u32 prev_id, u32 type, GF_Matrix2D *mat, GF_ColorMatrix *cmat, GF_Matrix2D *prev_mat, GF_ColorMatrix *prev_cmat)

◆ remove_obj

GF_Err(* SWFReader::remove_obj) (SWFReader *read, u32 depth, u32 ID)

◆ define_shape

GF_Err(* SWFReader::define_shape) (SWFReader *read, SWFShape *shape, SWFFont *parent_font, Bool last_sub_shape)

◆ define_sprite

GF_Err(* SWFReader::define_sprite) (SWFReader *read, u32 nb_frames)

◆ define_text

GF_Err(* SWFReader::define_text) (SWFReader *read, SWFText *text)

◆ define_edit_text

GF_Err(* SWFReader::define_edit_text) (SWFReader *read, SWFEditText *text)

◆ define_button

GF_Err(* SWFReader::define_button) (SWFReader *read, SWF_Button *button)

◆ setup_image

GF_Err(* SWFReader::setup_image) (SWFReader *read, u32 ID, char *fileName)

◆ setup_sound

GF_Err(* SWFReader::setup_sound) (SWFReader *read, SWFSound *snd, Bool soundstream_first_block)

◆ start_sound

GF_Err(* SWFReader::start_sound) (SWFReader *read, SWFSound *snd, Bool stop)

◆ action

Bool(* SWFReader::action) (SWFReader *read, SWFAction *act)

◆ finalize

void(* SWFReader::finalize) (SWFReader *read, Bool is_destroy)

◆ apps

GF_List* SWFReader::apps

◆ buttons

GF_List* SWFReader::buttons

◆ bifs_es

GF_StreamContext* SWFReader::bifs_es

◆ bifs_au

GF_AUContext* SWFReader::bifs_au

◆ bifs_dict_es

GF_StreamContext* SWFReader::bifs_dict_es

◆ bifs_dict_au

GF_AUContext* SWFReader::bifs_dict_au

◆ root

GF_Node* SWFReader::root

◆ od_es

GF_StreamContext* SWFReader::od_es

◆ od_au

GF_AUContext* SWFReader::od_au

◆ cur_shape

GF_Node* SWFReader::cur_shape

◆ prev_od_id

u16 SWFReader::prev_od_id

◆ prev_es_id

u16 SWFReader::prev_es_id

◆ wait_frame

u32 SWFReader::wait_frame

◆ btn

SWF_Button* SWFReader::btn

◆ btn_over

GF_List* SWFReader::btn_over

◆ btn_not_over

GF_List * SWFReader::btn_not_over

◆ btn_active

GF_List * SWFReader::btn_active

◆ btn_not_active

GF_List * SWFReader::btn_not_active

◆ print_stream_header

Bool SWFReader::print_stream_header

◆ print_frame_header

Bool SWFReader::print_frame_header

◆ frame_header_offset

u32 SWFReader::frame_header_offset

◆ svg_data

char* SWFReader::svg_data

◆ svg_data_size

u32 SWFReader::svg_data_size

◆ svg_shape_started

Bool SWFReader::svg_shape_started

◆ user

void* SWFReader::user

◆ add_sample

GF_Err(* SWFReader::add_sample) (void *user, const u8 *data, u32 length, u64 timestamp, Bool isRap)

◆ add_header

GF_Err(* SWFReader::add_header) (void *user, const u8 *data, u32 length, Bool isHeader)

◆ svg_file

FILE* SWFReader::svg_file