FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
sipr.h File Reference
#include "avcodec.h"
#include "acelp_pitch_delay.h"
#include "libavutil/mem.h"

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.
 
#define SUBFR_SIZE   48
 Subframe size for all modes except 16k.
 
#define SUBFRAME_COUNT_16k   2
 

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 LP_FILTER_ORDER_16k   16
#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 PITCH_MIN   30

Definition at line 33 of file sipr.h.

#define PITCH_MAX   281

Definition at line 34 of file sipr.h.

#define LSFQ_DIFF_MIN   (0.0125 * M_PI)

Definition at line 36 of file sipr.h.

#define LP_FILTER_ORDER   10

Definition at line 38 of file sipr.h.

#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 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().

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_init_16k ( SiprContext ctx)

Definition at line 271 of file sipr16k.c.

Referenced by sipr_decoder_init().

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().

Variable Documentation

const float ff_pow_0_5[16]

Definition at line 135 of file sipr.c.

Referenced by postfilter(), and postfilter_5k0().