kate.c File Reference

Include dependency graph for kate.c:


Data Structures

struct  decoder_sys_t

Defines

#define ENABLE_FORMATTING
#define ENABLE_BITMAPS
#define DEFAULT_NAME   "Default"
#define MAX_LINE   8192
#define FORMAT_TEXT   N_("Formatted Subtitles")
#define FORMAT_LONGTEXT

Functions

static int OpenDecoder (vlc_object_t *)
static void CloseDecoder (vlc_object_t *)
static subpicture_tDecodeBlock (decoder_t *p_dec, block_t **pp_block)
static int ProcessHeaders (decoder_t *p_dec)
static subpicture_tProcessPacket (decoder_t *p_dec, kate_packet *p_kp, block_t **pp_block)
static subpicture_tDecodePacket (decoder_t *p_dec, kate_packet *p_kp, block_t *p_block)
static void ParseKateComments (decoder_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static void rgb_to_yuv (uint8_t *y, uint8_t *u, uint8_t *v, int r, int g, int b)
static void GetVideoSize (decoder_t *p_dec, int *w, int *h)
static void CreateKateBitmap (picture_t *pic, const kate_bitmap *bitmap)
static void CreateKatePalette (video_palette_t *fmt_palette, const kate_palette *palette)
static void SetupText (decoder_t *p_dec, subpicture_t *p_spu, const kate_event *ev)

Define Documentation

#define DEFAULT_NAME   "Default"

#define ENABLE_BITMAPS

#define ENABLE_FORMATTING

#define FORMAT_LONGTEXT

Value:

N_("Kate streams allow for text formatting. " \
 "VLC partly implements this, but you can choose to disable all formatting.")

#define FORMAT_TEXT   N_("Formatted Subtitles")

#define MAX_LINE   8192


Function Documentation

static void CloseDecoder ( vlc_object_t  )  [static]

static void CreateKateBitmap ( picture_t pic,
const kate_bitmap *  bitmap 
) [static]

static void CreateKatePalette ( video_palette_t fmt_palette,
const kate_palette *  palette 
) [static]

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

static subpicture_t * DecodePacket ( decoder_t p_dec,
kate_packet *  p_kp,
block_t p_block 
) [static]

static void GetVideoSize ( decoder_t p_dec,
int *  w,
int *  h 
) [static]

static int OpenDecoder ( vlc_object_t  )  [static]

static void ParseKateComments ( decoder_t  )  [static]

static int ProcessHeaders ( decoder_t p_dec  )  [static]

static subpicture_t * ProcessPacket ( decoder_t p_dec,
kate_packet *  p_kp,
block_t **  pp_block 
) [static]

static void rgb_to_yuv ( uint8_t *  y,
uint8_t *  u,
uint8_t *  v,
int  r,
int  g,
int  b 
) [inline, static]

static void SetupText ( decoder_t p_dec,
subpicture_t p_spu,
const kate_event *  ev 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Generated on Wed Aug 13 08:03:14 2008 for VLC by  doxygen 1.5.1