#include "avcodec.h"
#include "acelp_pitch_delay.h"
#include "libavutil/mem.h"
Include dependency graph for sipr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  SiprParameters
 
struct  SiprContext
 

Macros

#define LP_FILTER_ORDER_16k   16
 
#define L_SUBFR_16k   80
 
#define PITCH_MIN   30
 
#define PITCH_MAX   281
 
#define LSFQ_DIFF_MIN   (0.0125 * M_PI)
 
#define LP_FILTER_ORDER   10
 
#define L_INTERPOL   (LP_FILTER_ORDER + 1)
 Number of past samples needed for excitation interpolation. More...
 
#define SUBFR_SIZE   48
 Subframe size for all modes except 16k. More...
 
#define SUBFRAME_COUNT_16k   2
 

Typedefs

typedef struct SiprParameters SiprParameters
 
typedef struct SiprContext SiprContext
 

Enumerations

enum  SiprMode {
  MODE_16k, MODE_8k5, MODE_6k5, MODE_5k0,
  MODE_COUNT
}
 

Functions

void ff_sipr_init_16k (SiprContext *ctx)
 
void ff_sipr_decode_frame_16k (SiprContext *ctx, SiprParameters *params, float *out_data)
 

Variables

const float ff_pow_0_5 [16]
 

Macro Definition Documentation

#define L_INTERPOL   (LP_FILTER_ORDER + 1)

Number of past samples needed for excitation interpolation.

Definition at line 41 of file sipr.h.

Referenced by decode_frame(), and ff_sipr_decode_frame_16k().

#define L_SUBFR_16k   80

Definition at line 32 of file sipr.h.

Referenced by ff_sipr_decode_frame_16k(), postfilter(), and sipr_decode_frame().

#define LP_FILTER_ORDER   10

Definition at line 38 of file sipr.h.

#define LP_FILTER_ORDER_16k   16
#define LSFQ_DIFF_MIN   (0.0125 * M_PI)

Definition at line 36 of file sipr.h.

#define PITCH_MAX   281

Definition at line 34 of file sipr.h.

#define PITCH_MIN   30

Definition at line 33 of file sipr.h.

#define SUBFR_SIZE   48

Subframe size for all modes except 16k.

Definition at line 44 of file sipr.h.

Referenced by decode_frame(), eval_ir(), pitch_sharpening(), postfilter_5k0(), and sipr_decode_frame().

#define SUBFRAME_COUNT_16k   2

Definition at line 46 of file sipr.h.

Referenced by ff_sipr_decode_frame_16k().

Typedef Documentation

typedef struct SiprContext SiprContext

Enumeration Type Documentation

enum SiprMode
Enumerator
MODE_16k 
MODE_8k5 
MODE_6k5 
MODE_5k0 
MODE_COUNT 

Definition at line 48 of file sipr.h.

Function Documentation

void ff_sipr_decode_frame_16k ( SiprContext ctx,
SiprParameters params,
float *  out_data 
)

Definition at line 176 of file sipr16k.c.

Referenced by sipr_decoder_init().

void ff_sipr_init_16k ( SiprContext ctx)

Definition at line 271 of file sipr16k.c.

Referenced by sipr_decoder_init().

Variable Documentation

const float ff_pow_0_5[16]

Definition at line 135 of file sipr.c.

Referenced by postfilter(), and postfilter_5k0().