FFmpeg
|
nellymoserdec.c File Reference
The 3 alphanumeric copyright notices are md5summed they are from the original implementors. More...
#include "libavutil/channel_layout.h"
#include "libavutil/float_dsp.h"
#include "libavutil/lfg.h"
#include "libavutil/random_seed.h"
#include "avcodec.h"
#include "fft.h"
#include "fmtconvert.h"
#include "internal.h"
#include "nellymoser.h"
#include "sinewin.h"
#include "get_bits.h"
Include dependency graph for nellymoserdec.c:
Go to the source code of this file.
Data Structures | |
struct | NellyMoserDecodeContext |
Macros | |
#define | BITSTREAM_READER_LE |
Typedefs | |
typedef struct NellyMoserDecodeContext | NellyMoserDecodeContext |
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.
Macro Definition Documentation
#define BITSTREAM_READER_LE |
Definition at line 45 of file nellymoserdec.c.
Typedef Documentation
typedef struct NellyMoserDecodeContext NellyMoserDecodeContext |
Function Documentation
|
static |
Definition at line 189 of file nellymoserdec.c.
|
static |
Definition at line 116 of file nellymoserdec.c.
|
static |
Definition at line 140 of file nellymoserdec.c.
|
static |
Definition at line 61 of file nellymoserdec.c.
Referenced by decode_tag().
Variable Documentation
AVCodec ff_nellymoser_decoder |
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"),
}
Definition: samplefmt.h:50
struct NellyMoserDecodeContext NellyMoserDecodeContext
#define CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: libavcodec/avcodec.h:743
Definition: libavcodec/avcodec.h:415
static int decode_tag(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
Definition: nellymoserdec.c:140
#define CODEC_CAP_PARAM_CHANGE
Codec supports changed parameters at any point.
Definition: libavcodec/avcodec.h:818
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: libavutil/internal.h:123
Definition: avutil.h:144
static int decode(AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt)
Definition: crystalhd.c:868
Definition at line 197 of file nellymoserdec.c.
Generated on Mon Nov 18 2024 06:52:08 for FFmpeg by 1.8.11