#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 | ALT_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 ALT_BITSTREAM_READER_LE |
Definition at line 44 of file nellymoserdec.c.
| 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] |
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,
.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.
1.5.8