libavcodec/adxdec.c File Reference

SEGA CRI adx codecs. More...

#include "libavutil/intreadwrite.h"
#include "avcodec.h"
#include "adx.h"

Go to the source code of this file.

Functions

static av_cold int adx_decode_init (AVCodecContext *avctx)
static void adx_decode (short *out, const unsigned char *in, PREV *prev)
static void adx_decode_stereo (short *out, const unsigned char *in, PREV *prev)
static int adx_decode_header (AVCodecContext *avctx, const unsigned char *buf, size_t bufsize)
static int adx_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)

Variables

AVCodec ff_adpcm_adx_decoder


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 adxdec.c.


Function Documentation

static void adx_decode ( short *  out,
const unsigned char *  in,
PREV prev 
) [static]

Definition at line 43 of file adxdec.c.

Referenced by adx_decode_frame(), and adx_decode_stereo().

static int adx_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 105 of file adxdec.c.

static int adx_decode_header ( AVCodecContext avctx,
const unsigned char *  buf,
size_t  bufsize 
) [static]

Definition at line 90 of file adxdec.c.

Referenced by adx_decode_frame().

static av_cold int adx_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 35 of file adxdec.c.

static void adx_decode_stereo ( short *  out,
const unsigned char *  in,
PREV prev 
) [static]

Definition at line 76 of file adxdec.c.

Referenced by adx_decode_frame().


Variable Documentation

Initial value:

 {
    "adpcm_adx",
    AVMEDIA_TYPE_AUDIO,
    CODEC_ID_ADPCM_ADX,
    sizeof(ADXContext),
    adx_decode_init,
    NULL,
    NULL,
    adx_decode_frame,
    .long_name = NULL_IF_CONFIG_SMALL("SEGA CRI ADX ADPCM"),
}

Definition at line 169 of file adxdec.c.


Generated on Fri Oct 26 02:39:43 2012 for FFmpeg by  doxygen 1.5.8