FFmpeg
Classes | Macros | Typedefs | Variables
amrwbdec.c File Reference

AMR wideband decoder. More...

#include "libavutil/channel_layout.h"
#include "libavutil/common.h"
#include "libavutil/float_dsp.h"
#include "libavutil/lfg.h"
#include "avcodec.h"
#include "lsp.h"
#include "celp_filters.h"
#include "celp_math.h"
#include "acelp_filters.h"
#include "acelp_vectors.h"
#include "acelp_pitch_delay.h"
#include "internal.h"
#include "amr.h"
#include "amrwbdata.h"
#include "mips/amrwbdec_mips.h"

Classes

struct  AMRWBContext
 

Macros

#define AMR_USE_16BIT_TABLES
 
#define BIT_STR(x, lsb, len)   av_mod_uintp2((x) >> (lsb), (len))
 Get x bits in the index interval [lsb,lsb+len-1] inclusive.
 
#define BIT_POS(x, p)   (((x) >> (p)) & 1)
 Get the bit at specified position.
 

Typedefs

typedef struct AMRWBContext AMRWBContext
 

Variables

AVCodec ff_amrwb_decoder
 

Detailed Description

AMR wideband decoder.

Variable Documentation

§ ff_amrwb_decoder

AVCodec ff_amrwb_decoder
Initial value:
= {
.name = "amrwb",
.long_name = NULL_IF_CONFIG_SMALL("AMR-WB (Adaptive Multi-Rate WideBand)"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_AMR_WB,
.priv_data_size = sizeof(AMRWBContext),
.init = amrwb_decode_init,
.decode = amrwb_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.sample_fmts = (const enum AVSampleFormat[]){ AV_SAMPLE_FMT_FLT,
AV_SAMPLE_FMT_NONE },
}
float
Definition: samplefmt.h:63
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: amrwbdec.c:47
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959