libass.c File Reference

Include dependency graph for libass.c:


Data Structures

struct  ass_handle_t
struct  decoder_sys_t
struct  subpicture_updater_sys_t
struct  rectangle_t

Defines

#define ASS_Renderer   ass_renderer_t
#define ASS_Library   ass_library_t
#define ASS_Track   ass_track_t
#define ASS_Image   ass_image_t

Functions

static int Create (vlc_object_t *)
static void Destroy (vlc_object_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static subpicture_tDecodeBlock (decoder_t *, block_t **)
static ass_handle_tAssHandleHold (decoder_t *p_dec)
static void AssHandleRelease (ass_handle_t *)
static void DecSysRelease (decoder_sys_t *p_sys)
static void DecSysHold (decoder_sys_t *p_sys)
static int SubpictureValidate (subpicture_t *, bool, const video_format_t *, bool, const video_format_t *, mtime_t)
static void SubpictureUpdate (subpicture_t *, const video_format_t *, const video_format_t *, mtime_t)
static void SubpictureDestroy (subpicture_t *)
static int BuildRegions (rectangle_t *p_region, int i_max_region, ass_image_t *p_img_list, int i_width, int i_height)
static void RegionDraw (subpicture_region_t *p_region, ass_image_t *p_img)
static rectangle_t r_create (int x0, int y0, int x1, int y1)
static rectangle_t r_img (const ass_image_t *p_img)
static void r_add (rectangle_t *r, const rectangle_t *n)
static int r_surface (const rectangle_t *r)
static bool r_overlap (const rectangle_t *a, const rectangle_t *b, int i_dx, int i_dy)

Variables

static vlc_mutex_t libass_lock = PTHREAD_MUTEX_INITIALIZER

Define Documentation

#define ASS_Image   ass_image_t

#define ASS_Library   ass_library_t

Referenced by AssHandleHold().

#define ASS_Renderer   ass_renderer_t

Referenced by AssHandleHold().

#define ASS_Track   ass_track_t

Referenced by Create().


Function Documentation

static ass_handle_t * AssHandleHold ( decoder_t p_dec  )  [static]

static void AssHandleRelease ( ass_handle_t p_ass  )  [static]

static int BuildRegions ( rectangle_t p_region,
int  i_max_region,
ass_image_t *  p_img_list,
int  i_width,
int  i_height 
) [static]

static int Create ( vlc_object_t p_this  )  [static]

static subpicture_t * DecodeBlock ( decoder_t p_dec,
block_t **  pp_block 
) [static]

static void DecSysHold ( decoder_sys_t p_sys  )  [static]

static void DecSysRelease ( decoder_sys_t p_sys  )  [static]

static void Destroy ( vlc_object_t p_this  )  [static]

static void r_add ( rectangle_t r,
const rectangle_t n 
) [static]

static rectangle_t r_create ( int  x0,
int  y0,
int  x1,
int  y1 
) [static]

Referenced by r_img().

static rectangle_t r_img ( const ass_image_t *  p_img  )  [static]

References r_create().

Referenced by BuildRegions().

static bool r_overlap ( const rectangle_t a,
const rectangle_t b,
int  i_dx,
int  i_dy 
) [static]

static int r_surface ( const rectangle_t r  )  [static]

static void RegionDraw ( subpicture_region_t p_region,
ass_image_t *  p_img 
) [static]

static void SubpictureDestroy ( subpicture_t p_subpic  )  [static]

static void SubpictureUpdate ( subpicture_t p_subpic,
const video_format_t p_fmt_src,
const video_format_t p_fmt_dst,
mtime_t  i_ts 
) [static]

static int SubpictureValidate ( subpicture_t p_subpic,
bool  b_fmt_src,
const video_format_t p_fmt_src,
bool  b_fmt_dst,
const video_format_t p_fmt_dst,
mtime_t  i_ts 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

vlc_mutex_t libass_lock = PTHREAD_MUTEX_INITIALIZER [static]


Generated on Tue May 25 08:05:13 2010 for VLC by  doxygen 1.5.6