FFmpeg
Classes | Macros | Typedefs | Enumerations | Variables
evrcdec.c File Reference

Enhanced Variable Rate Codec, Service Option 3 decoder. More...

#include "libavutil/mathematics.h"
#include "libavutil/opt.h"
#include "avcodec.h"
#include "internal.h"
#include "get_bits.h"
#include "evrcdata.h"
#include "acelp_vectors.h"
#include "lsp.h"

Classes

struct  EVRCAFrame
 EVRC-A unpacked data frame. More...
 
struct  EVRCContext
 
struct  PfCoeff
 

Macros

#define MIN_LSP_SEP   (0.05 / (2.0 * M_PI))
 
#define MIN_DELAY   20
 
#define MAX_DELAY   120
 
#define NB_SUBFRAMES   3
 
#define SUBFRAME_SIZE   54
 
#define FILTER_ORDER   10
 
#define ACB_SIZE   128
 
#define OFFSET(x)   offsetof(EVRCContext, x)
 
#define AD   AV_OPT_FLAG_AUDIO_PARAM | AV_OPT_FLAG_DECODING_PARAM
 

Typedefs

typedef struct EVRCAFrame EVRCAFrame
 EVRC-A unpacked data frame.
 
typedef struct EVRCContext EVRCContext
 

Enumerations

enum  evrc_packet_rate {
  RATE_ERRS = -1, SILENCE, RATE_QUANT, RATE_QUARTER,
  RATE_HALF, RATE_FULL
}
 

Variables

AVCodec ff_evrc_decoder
 

Detailed Description

Enhanced Variable Rate Codec, Service Option 3 decoder.

Author
Paul B Mahol

Variable Documentation

§ ff_evrc_decoder

AVCodec ff_evrc_decoder
Initial value:
= {
.name = "evrc",
.long_name = NULL_IF_CONFIG_SMALL("EVRC (Enhanced Variable Rate Codec)"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_EVRC,
.init = evrc_decode_init,
.decode = evrc_decode_frame,
.capabilities = AV_CODEC_CAP_DR1,
.priv_data_size = sizeof(EVRCContext),
.priv_class = &evrcdec_class,
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
Definition: evrcdec.c:69
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959