cvdsub.c File Reference

Include dependency graph for cvdsub.c:


Data Structures

struct  decoder_sys_t

Defines

#define DEBUG_CVDSUB   1
#define SUBTITLE_BLOCK_EMPTY   0
#define SUBTITLE_BLOCK_PARTIAL   1
#define SUBTITLE_BLOCK_COMPLETE   2
#define SPU_HEADER_LEN   1
#define ExtractXY(x, y)

Functions

static int DecoderOpen (vlc_object_t *)
static int PacketizerOpen (vlc_object_t *)
static void DecoderClose (vlc_object_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static subpicture_tDecode (decoder_t *, block_t **)
static block_tPacketize (decoder_t *, block_t **)
static block_tReassemble (decoder_t *, block_t *)
static void ParseMetaInfo (decoder_t *, block_t *)
static void ParseHeader (decoder_t *, block_t *)
static subpicture_tDecodePacket (decoder_t *, block_t *)
static void RenderImage (decoder_t *, block_t *, subpicture_region_t *)

Define Documentation

#define DEBUG_CVDSUB   1

Referenced by ParseMetaInfo().

#define ExtractXY ( x,
 ) 

Value:

x = ((p[1]&0x0f)<<6) + (p[2]>>2); \
                        y = ((p[2]&0x03)<<8) + p[3];

Referenced by ParseMetaInfo().

#define SPU_HEADER_LEN   1

Referenced by Reassemble().

#define SUBTITLE_BLOCK_COMPLETE   2

Referenced by Reassemble().

#define SUBTITLE_BLOCK_EMPTY   0

Referenced by DecoderOpen(), and Reassemble().

#define SUBTITLE_BLOCK_PARTIAL   1

Referenced by Reassemble().


Function Documentation

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

References DecodePacket(), and Reassemble().

static subpicture_t * DecodePacket ( decoder_t p_dec,
block_t p_data 
) [static]

void DecoderClose ( vlc_object_t p_this  )  [static]

static int DecoderOpen ( vlc_object_t p_this  )  [static]

static block_t * Packetize ( decoder_t p_dec,
block_t **  pp_block 
) [static]

static int PacketizerOpen ( vlc_object_t p_this  )  [static]

static void ParseHeader ( decoder_t p_dec,
block_t p_block 
) [static]

static void ParseMetaInfo ( decoder_t p_dec,
block_t p_spu 
) [static]

static block_t * Reassemble ( decoder_t p_dec,
block_t p_block 
) [static]

static void RenderImage ( decoder_t p_dec,
block_t p_data,
subpicture_region_t p_region 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


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