Logo Search packages:      
Sourcecode: blender version File versions

adx.c File Reference


Detailed Description

SEGA CRI adx codecs.

Reference documents: http://ku-www.ss.titech.ac.jp/~yatsushi/adx.html adx2wav & wav2adx http://www.geocities.co.jp/Playtown/2004/

Definition in file adx.c.

#include "avcodec.h"

Go to the source code of this file.

Classes

struct  ADXContext
struct  PREV

Defines

#define BASEVOL   0x4000
#define CLIP(s)   if (s>32767) s=32767; else if (s<-32768) s=-32768
#define SCALE1   0x7298
#define SCALE2   0x3350

Functions

static void adx_decode (short *out, const unsigned char *in, PREV *prev)
static int adx_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf0, int buf_size)
static int adx_decode_header (AVCodecContext *avctx, const unsigned char *buf, size_t bufsize)
static int adx_decode_init (AVCodecContext *avctx)
static void adx_decode_stereo (short *out, const unsigned char *in, PREV *prev)
int is_adx (const unsigned char *buf, size_t bufsize)
static uint32_t read_long (const unsigned char *p)

Variables

AVCodec adx_adpcm_decoder


Generated by  Doxygen 1.6.0   Back to index