roqaudioenc.c File Reference

Go to the source code of this file.

Classes

struct  ROQDPCMContext_t

Functions

static void roq_dpcm_table_init (void)
static int roq_dpcm_encode_init (AVCodecContext *avctx)
static unsigned char dpcm_predict (short *previous, short current)
static int roq_dpcm_encode_frame (AVCodecContext *avctx, unsigned char *frame, int buf_size, void *data)
static int roq_dpcm_encode_close (AVCodecContext *avctx)

Variables

static unsigned char dpcmValues [MAX_DPCM]
AVCodec roq_dpcm_encoder


Function Documentation

static void roq_dpcm_table_init ( void   )  [static]

Definition at line 40 of file roqaudioenc.c.

Referenced by roq_dpcm_encode_init().

static int roq_dpcm_encode_init ( AVCodecContext avctx  )  [static]

Definition at line 52 of file roqaudioenc.c.

static unsigned char dpcm_predict ( short *  previous,
short  current 
) [static]

Definition at line 81 of file roqaudioenc.c.

Referenced by roq_dpcm_encode_frame().

static int roq_dpcm_encode_frame ( AVCodecContext avctx,
unsigned char *  frame,
int  buf_size,
void *  data 
) [static]

Definition at line 119 of file roqaudioenc.c.

static int roq_dpcm_encode_close ( AVCodecContext avctx  )  [static]

Definition at line 161 of file roqaudioenc.c.


Variable Documentation

unsigned char dpcmValues[MAX_DPCM] [static]

Definition at line 32 of file roqaudioenc.c.

Referenced by dpcm_predict(), and roq_dpcm_table_init().

Initial value:

Definition at line 168 of file roqaudioenc.c.


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