libavcodec/nellymoserdec.c File Reference

The 3 alphanumeric copyright notices are md5summed they are from the original implementors. More...

#include "nellymoser.h"
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"
#include "libavutil/audioconvert.h"
#include "avcodec.h"
#include "dsputil.h"
#include "fft.h"
#include "fmtconvert.h"
#include "sinewin.h"
#include "get_bits.h"

Go to the source code of this file.

Data Structures

struct  NellyMoserDecodeContext

Defines

#define BITSTREAM_READER_LE

Functions

static void nelly_decode_block (NellyMoserDecodeContext *s, const unsigned char block[NELLY_BLOCK_LEN], float audio[NELLY_SAMPLES])
static av_cold int decode_init (AVCodecContext *avctx)
static int decode_tag (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
static av_cold int decode_end (AVCodecContext *avctx)

Variables

AVCodec ff_nellymoser_decoder


Detailed Description

The 3 alphanumeric copyright notices are md5summed they are from the original implementors.

The original code is available from http://code.google.com/p/nelly2pcm/

Definition in file nellymoserdec.c.


Define Documentation

#define BITSTREAM_READER_LE

Definition at line 44 of file nellymoserdec.c.


Function Documentation

static av_cold int decode_end ( AVCodecContext avctx  )  [static]

Definition at line 212 of file nellymoserdec.c.

static av_cold int decode_init ( AVCodecContext avctx  )  [static]

Definition at line 118 of file nellymoserdec.c.

static int decode_tag ( AVCodecContext avctx,
void *  data,
int *  got_frame_ptr,
AVPacket avpkt 
) [static]

Definition at line 153 of file nellymoserdec.c.

static void nelly_decode_block ( NellyMoserDecodeContext s,
const unsigned char  block[NELLY_BLOCK_LEN],
float  audio[NELLY_SAMPLES] 
) [static]

Definition at line 62 of file nellymoserdec.c.

Referenced by decode_tag().


Variable Documentation

Initial value:

 {
    .name           = "nellymoser",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = CODEC_ID_NELLYMOSER,
    .priv_data_size = sizeof(NellyMoserDecodeContext),
    .init           = decode_init,
    .close          = decode_end,
    .decode         = decode_tag,
    .capabilities   = CODEC_CAP_DR1 | CODEC_CAP_PARAM_CHANGE,
    .long_name = NULL_IF_CONFIG_SMALL("Nellymoser Asao"),
    .sample_fmts    = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_FLT,
                                                      AV_SAMPLE_FMT_S16,
                                                      AV_SAMPLE_FMT_NONE },
}

Definition at line 221 of file nellymoserdec.c.


Generated on Fri Oct 26 02:46:09 2012 for FFmpeg by  doxygen 1.5.8