libgpac
Documentation of the core library of GPAC
Loading...
Searching...
No Matches
swf_svg.c File Reference
+ Include dependency graph for swf_svg.c:

Data Structures

struct  GF_SWF_SVG_Sample
 

Macros

#define SWF_TEXT_SCALE   (1/1024.0f)
 

Functions

static void swf_svg_print (SWFReader *read, const char *format,...)
 
static void swf_svg_print_color (SWFReader *read, u32 ARGB)
 
static void swf_svg_print_alpha (SWFReader *read, u32 ARGB)
 
static void swg_svg_print_shape_record_to_fill_stroke (SWFReader *read, SWFShapeRec *srec, Bool is_fill)
 
static void swf_svg_print_shape_record_to_path_d (SWFReader *read, SWFShapeRec *srec)
 
static void swf_svg_print_matrix (SWFReader *read, GF_Matrix2D *mat)
 
static GF_Err swf_svg_define_shape (SWFReader *read, SWFShape *shape, SWFFont *parent_font, Bool last_sub_shape)
 
static GF_Err swf_svg_define_text (SWFReader *read, SWFText *text)
 
static GF_Err swf_svg_define_edit_text (SWFReader *read, SWFEditText *text)
 
static Bool swf_svg_allocate_depth (SWFReader *read, u32 depth)
 
static GF_Err swf_svg_define_sprite (SWFReader *read, u32 nb_frames)
 
static GF_Err swf_svg_setup_sound (SWFReader *read, SWFSound *snd, Bool soundstream_first_block)
 
static GF_Err swf_svg_setup_image (SWFReader *read, u32 ID, char *fileName)
 
static GF_Err swf_svg_set_backcol (SWFReader *read, u32 xrgb)
 
static GF_Err swf_svg_start_sound (SWFReader *read, SWFSound *snd, Bool stop)
 
static GF_Err swf_svg_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)
 
static GF_Err swf_svg_remove_obj (SWFReader *read, u32 depth, u32 ID)
 
static GF_Err swf_svg_show_frame (SWFReader *read)
 
static void swf_svg_finalize (SWFReader *read, Bool is_destroy)
 
static GF_Err swf_svg_define_button (SWFReader *read, SWF_Button *btn)
 
static Bool swf_svg_action (SWFReader *read, SWFAction *act)
 
GF_Err swf_to_svg_init (SWFReader *read, u32 swf_flags, Float swf_flatten_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)
 

Data Structure Documentation

◆ GF_SWF_SVG_Sample

struct GF_SWF_SVG_Sample
Data Fields
u64 start
u64 end
char * data

Macro Definition Documentation

◆ SWF_TEXT_SCALE

#define SWF_TEXT_SCALE   (1/1024.0f)

Function Documentation

◆ swf_svg_print()

static void swf_svg_print ( SWFReader *  read,
const char *  format,
  ... 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_print_color()

static void swf_svg_print_color ( SWFReader *  read,
u32  ARGB 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_print_alpha()

static void swf_svg_print_alpha ( SWFReader *  read,
u32  ARGB 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swg_svg_print_shape_record_to_fill_stroke()

static void swg_svg_print_shape_record_to_fill_stroke ( SWFReader *  read,
SWFShapeRec *  srec,
Bool  is_fill 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_print_shape_record_to_path_d()

static void swf_svg_print_shape_record_to_path_d ( SWFReader *  read,
SWFShapeRec *  srec 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_print_matrix()

static void swf_svg_print_matrix ( SWFReader *  read,
GF_Matrix2D *  mat 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_define_shape()

static GF_Err swf_svg_define_shape ( SWFReader *  read,
SWFShape *  shape,
SWFFont *  parent_font,
Bool  last_sub_shape 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_define_text()

static GF_Err swf_svg_define_text ( SWFReader *  read,
SWFText *  text 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_define_edit_text()

static GF_Err swf_svg_define_edit_text ( SWFReader *  read,
SWFEditText *  text 
)
static
+ Here is the caller graph for this function:

◆ swf_svg_allocate_depth()

static Bool swf_svg_allocate_depth ( SWFReader *  read,
u32  depth 
)
static
+ Here is the caller graph for this function:

◆ swf_svg_define_sprite()

static GF_Err swf_svg_define_sprite ( SWFReader *  read,
u32  nb_frames 
)
static
+ Here is the caller graph for this function:

◆ swf_svg_setup_sound()

static GF_Err swf_svg_setup_sound ( SWFReader *  read,
SWFSound *  snd,
Bool  soundstream_first_block 
)
static
+ Here is the caller graph for this function:

◆ swf_svg_setup_image()

static GF_Err swf_svg_setup_image ( SWFReader *  read,
u32  ID,
char *  fileName 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_set_backcol()

static GF_Err swf_svg_set_backcol ( SWFReader *  read,
u32  xrgb 
)
static
+ Here is the caller graph for this function:

◆ swf_svg_start_sound()

static GF_Err swf_svg_start_sound ( SWFReader *  read,
SWFSound *  snd,
Bool  stop 
)
static
+ Here is the caller graph for this function:

◆ swf_svg_place_obj()

static GF_Err swf_svg_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 
)
static
+ Here is the caller graph for this function:

◆ swf_svg_remove_obj()

static GF_Err swf_svg_remove_obj ( SWFReader *  read,
u32  depth,
u32  ID 
)
static
+ Here is the caller graph for this function:

◆ swf_svg_show_frame()

static GF_Err swf_svg_show_frame ( SWFReader *  read)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_finalize()

static void swf_svg_finalize ( SWFReader *  read,
Bool  is_destroy 
)
static
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_define_button()

static GF_Err swf_svg_define_button ( SWFReader *  read,
SWF_Button *  btn 
)
static
+ Here is the caller graph for this function:

◆ swf_svg_action()

static Bool swf_svg_action ( SWFReader *  read,
SWFAction *  act 
)
static
+ Here is the caller graph for this function:

◆ swf_to_svg_init()

GF_Err swf_to_svg_init ( SWFReader *  read,
u32  swf_flags,
Float  swf_flatten_angle 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_write_text_sample()

GF_Err swf_svg_write_text_sample ( void *  user,
const u8 *  data,
u32  length,
u64  timestamp,
Bool  isRap 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ swf_svg_write_text_header()

GF_Err swf_svg_write_text_header ( void *  user,
const u8 *  data,
u32  length,
Bool  isHeader 
)
+ Here is the call graph for this function:
+ Here is the caller graph for this function: