svg.c File Reference

Include dependency graph for svg.c:


Data Structures

struct  svg_rendition_t
 Describes a SVG string to be displayed on the video. More...
struct  filter_sys_t
 filter_sys_t: chroma method descriptor More...

Defines

#define TEMPLATE_TEXT   N_( "SVG template file" )
#define TEMPLATE_LONGTEXT
#define INDEX_IN(x, y)   ( y * rowstride_in + x * channels_in )
#define INDEX_OUT(x, y)   ( y * i_pitch + x * p_pic->p[Y_PLANE].i_pixel_pitch )
#define R(pixel)   *pixel
#define G(pixel)   *( pixel+1 )
#define B(pixel)   *( pixel+2 )
#define ALPHA(pixel)   *( pixel+3 )

Typedefs

typedef svg_rendition_t svg_rendition_t

Functions

static int Create (vlc_object_t *)
static void Destroy (vlc_object_t *)
static int RenderText (filter_t *p_filter, subpicture_region_t *p_region_out, subpicture_region_t *p_region_in)
static char * svg_GetTemplate (vlc_object_t *p_this)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static int Render (filter_t *, subpicture_region_t *, svg_rendition_t *, int, int)
static char * svg_GetTemplate ()
static void svg_set_size (filter_t *p_filter, int width, int height)
static void svg_SizeCallback (int *width, int *height, gpointer data)
static void svg_RenderPicture (filter_t *p_filter, svg_rendition_t *p_svg)
static void FreeString (svg_rendition_t *)

Define Documentation

#define ALPHA ( pixel   )     *( pixel+3 )

#define B ( pixel   )     *( pixel+2 )

#define G ( pixel   )     *( pixel+1 )

#define INDEX_IN ( x,
 )     ( y * rowstride_in + x * channels_in )

#define INDEX_OUT ( x,
 )     ( y * i_pitch + x * p_pic->p[Y_PLANE].i_pixel_pitch )

#define R ( pixel   )     *pixel

#define TEMPLATE_LONGTEXT

Value:

N_( "Location of a file holding a SVG template "\
        "for automatic string conversion" )

#define TEMPLATE_TEXT   N_( "SVG template file" )


Typedef Documentation

typedef struct svg_rendition_t svg_rendition_t


Function Documentation

static int Create ( vlc_object_t  )  [static]

static void Destroy ( vlc_object_t  )  [static]

static void FreeString ( svg_rendition_t  )  [static]

static int Render ( filter_t ,
subpicture_region_t ,
svg_rendition_t ,
int  ,
int   
) [static]

static int RenderText ( filter_t p_filter,
subpicture_region_t p_region_out,
subpicture_region_t p_region_in 
) [static]

static char* svg_GetTemplate (  )  [static]

static char * svg_GetTemplate ( vlc_object_t p_this  )  [static]

static void svg_RenderPicture ( filter_t p_filter,
svg_rendition_t p_svg 
) [static]

static void svg_set_size ( filter_t p_filter,
int  width,
int  height 
) [static]

static void svg_SizeCallback ( int *  width,
int *  height,
gpointer  data 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Generated on Wed Aug 13 08:04:44 2008 for VLC by  doxygen 1.5.1