ws-snd1.c File Reference

Go to the source code of this file.

Functions

static int ws_snd_decode_init (AVCodecContext *avctx)
static int ws_snd_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size)

Variables

static const char ws_adpcm_2bit [] = { -2, -1, 0, 1}
static const char ws_adpcm_4bit []
AVCodec ws_snd1_decoder


Function Documentation

static int ws_snd_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 39 of file ws-snd1.c.

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

Definition at line 46 of file ws-snd1.c.


Variable Documentation

const char ws_adpcm_2bit[] = { -2, -1, 0, 1} [static]

Definition at line 32 of file ws-snd1.c.

Referenced by ws_snd_decode_frame().

const char ws_adpcm_4bit[] [static]

Initial value:

 {
    -9, -8, -6, -5, -4, -3, -2, -1,
     0,  1,  2,  3,  4,  5,  6,  8 }

Definition at line 33 of file ws-snd1.c.

Referenced by ws_snd_decode_frame().

Initial value:

Definition at line 143 of file ws-snd1.c.


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