webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#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) |
#define CSTRIDE_4KHZ ( MAX_LAG_4KHZ + 1 - MIN_LAG_4KHZ ) |
#define CSTRIDE_8KHZ ( MAX_LAG_8KHZ + 3 - ( MIN_LAG_8KHZ - 2 ) ) |
#define D_COMP_MAX ( MAX_LAG_8KHZ + 4 ) |
#define D_COMP_MIN ( MIN_LAG_8KHZ - 3 ) |
#define D_COMP_STRIDE ( D_COMP_MAX - D_COMP_MIN ) |
#define MAX_LAG_4KHZ ( PE_MAX_LAG_MS * 4 ) |
#define MAX_LAG_8KHZ ( PE_MAX_LAG_MS * 8 - 1 ) |
#define MIN_LAG_4KHZ ( PE_MIN_LAG_MS * 4 ) |
#define MIN_LAG_8KHZ ( PE_MIN_LAG_MS * 8 ) |
#define SCRATCH_SIZE 22 |
#define SF_LENGTH_4KHZ ( PE_SUBFR_LENGTH_MS * 4 ) |
#define SF_LENGTH_8KHZ ( PE_SUBFR_LENGTH_MS * 8 ) |
typedef opus_int32 silk_pe_stage3_vals[PE_NB_STAGE3_LAGS] |
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 | ||
) |