#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 | 
The original code is available from http://code.google.com/p/nelly2pcm/
Definition in file nellymoserdec.c.
| #define BITSTREAM_READER_LE | 
Definition at line 44 of file nellymoserdec.c.
| static av_cold int decode_end | ( | AVCodecContext * | avctx | ) |  [static] | 
        
Definition at line 191 of file nellymoserdec.c.
| static av_cold int decode_init | ( | AVCodecContext * | avctx | ) |  [static] | 
        
Definition at line 114 of file nellymoserdec.c.
| static int decode_tag | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | got_frame_ptr, | |||
| AVPacket * | avpkt | |||
| ) |  [static] | 
        
Definition at line 140 of file nellymoserdec.c.
| static void nelly_decode_block | ( | NellyMoserDecodeContext * | s, | |
| const unsigned char | block[NELLY_BLOCK_LEN], | |||
| float | audio[NELLY_SAMPLES] | |||
| ) |  [static] | 
        
Initial value:
 {
    .name           = "nellymoser",
    .type           = AVMEDIA_TYPE_AUDIO,
    .id             = AV_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_NONE },
}
Definition at line 199 of file nellymoserdec.c.
 1.5.8