xsubdec.c File Reference

Go to the source code of this file.

Functions

static int decode_init (AVCodecContext *avctx)
static uint64_t parse_timecode (uint8_t *buf)
static int decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)

Variables

static const uint8_t tc_offsets [9] = { 0, 1, 3, 4, 6, 7, 9, 10, 11 }
static const uint8_t tc_muls [9] = { 10, 6, 10, 6, 10, 6, 10, 10, 1 }
AVCodec xsub_decoder


Function Documentation

static int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 25 of file xsubdec.c.

static uint64_t parse_timecode ( uint8_t *  buf  )  [static]

Definition at line 33 of file xsubdec.c.

Referenced by decode_frame().

static int decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 46 of file xsubdec.c.


Variable Documentation

const uint8_t tc_offsets[9] = { 0, 1, 3, 4, 6, 7, 9, 10, 11 } [static]

Definition at line 30 of file xsubdec.c.

Referenced by parse_timecode().

const uint8_t tc_muls[9] = { 10, 6, 10, 6, 10, 6, 10, 10, 1 } [static]

Definition at line 31 of file xsubdec.c.

Referenced by parse_timecode().

Initial value:

Definition at line 127 of file xsubdec.c.


Generated on Sat Dec 18 05:15:56 2010 for MythTV by  doxygen 1.5.5