libavcodec/sipr.h File Reference

#include "avcodec.h"
#include "dsputil.h"
#include "acelp_pitch_delay.h"

Go to the source code of this file.

Data Structures

struct  SiprParameters
struct  SiprContext

Defines

#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]


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


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 174 of file sipr16k.c.

Referenced by sipr_decoder_init().

void ff_sipr_init_16k ( SiprContext ctx  ) 

Definition at line 269 of file sipr16k.c.

Referenced by sipr_decoder_init().


Variable Documentation

const float ff_pow_0_5[16]

Definition at line 134 of file sipr.c.

Referenced by postfilter(), and postfilter_5k0().


Generated on Fri Oct 26 02:47:58 2012 for FFmpeg by  doxygen 1.5.8