webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Typedefs | Functions
pitch_analysis_core_FIX.c File Reference
#include "SigProc_FIX.h"
#include "pitch_est_defines.h"
#include "stack_alloc.h"
#include "debug.h"
#include "pitch.h"

Macros

#define SCRATCH_SIZE   22
 
#define SF_LENGTH_4KHZ   ( PE_SUBFR_LENGTH_MS * 4 )
 
#define SF_LENGTH_8KHZ   ( PE_SUBFR_LENGTH_MS * 8 )
 
#define MIN_LAG_4KHZ   ( PE_MIN_LAG_MS * 4 )
 
#define MIN_LAG_8KHZ   ( PE_MIN_LAG_MS * 8 )
 
#define MAX_LAG_4KHZ   ( PE_MAX_LAG_MS * 4 )
 
#define MAX_LAG_8KHZ   ( PE_MAX_LAG_MS * 8 - 1 )
 
#define CSTRIDE_4KHZ   ( MAX_LAG_4KHZ + 1 - MIN_LAG_4KHZ )
 
#define CSTRIDE_8KHZ   ( MAX_LAG_8KHZ + 3 - ( MIN_LAG_8KHZ - 2 ) )
 
#define D_COMP_MIN   ( MIN_LAG_8KHZ - 3 )
 
#define D_COMP_MAX   ( MAX_LAG_8KHZ + 4 )
 
#define D_COMP_STRIDE   ( D_COMP_MAX - D_COMP_MIN )
 

Typedefs

typedef opus_int32 silk_pe_stage3_vals[PE_NB_STAGE3_LAGS]
 

Functions

opus_int silk_pitch_analysis_core (const opus_int16 *frame, opus_int *pitch_out, opus_int16 *lagIndex, opus_int8 *contourIndex, opus_int *LTPCorr_Q15, opus_int prevLag, const opus_int32 search_thres1_Q16, const opus_int search_thres2_Q13, const opus_int Fs_kHz, const opus_int complexity, const opus_int nb_subfr, int arch)
 

Macro Definition Documentation

◆ CSTRIDE_4KHZ

#define CSTRIDE_4KHZ   ( MAX_LAG_4KHZ + 1 - MIN_LAG_4KHZ )

◆ CSTRIDE_8KHZ

#define CSTRIDE_8KHZ   ( MAX_LAG_8KHZ + 3 - ( MIN_LAG_8KHZ - 2 ) )

◆ D_COMP_MAX

#define D_COMP_MAX   ( MAX_LAG_8KHZ + 4 )

◆ D_COMP_MIN

#define D_COMP_MIN   ( MIN_LAG_8KHZ - 3 )

◆ D_COMP_STRIDE

#define D_COMP_STRIDE   ( D_COMP_MAX - D_COMP_MIN )

◆ MAX_LAG_4KHZ

#define MAX_LAG_4KHZ   ( PE_MAX_LAG_MS * 4 )

◆ MAX_LAG_8KHZ

#define MAX_LAG_8KHZ   ( PE_MAX_LAG_MS * 8 - 1 )

◆ MIN_LAG_4KHZ

#define MIN_LAG_4KHZ   ( PE_MIN_LAG_MS * 4 )

◆ MIN_LAG_8KHZ

#define MIN_LAG_8KHZ   ( PE_MIN_LAG_MS * 8 )

◆ SCRATCH_SIZE

#define SCRATCH_SIZE   22

◆ SF_LENGTH_4KHZ

#define SF_LENGTH_4KHZ   ( PE_SUBFR_LENGTH_MS * 4 )

◆ SF_LENGTH_8KHZ

#define SF_LENGTH_8KHZ   ( PE_SUBFR_LENGTH_MS * 8 )

Typedef Documentation

◆ silk_pe_stage3_vals

typedef opus_int32 silk_pe_stage3_vals[PE_NB_STAGE3_LAGS]

Function Documentation

◆ silk_pitch_analysis_core()

opus_int silk_pitch_analysis_core ( const opus_int16 frame,
opus_int pitch_out,
opus_int16 lagIndex,
opus_int8 contourIndex,
opus_int LTPCorr_Q15,
opus_int  prevLag,
const opus_int32  search_thres1_Q16,
const opus_int  search_thres2_Q13,
const opus_int  Fs_kHz,
const opus_int  complexity,
const opus_int  nb_subfr,
int  arch 
)