modes.h | modes.h | |||
---|---|---|---|---|
skipping to change at line 79 | skipping to change at line 79 | |||
innovation_quant_func innovation_quant; | innovation_quant_func innovation_quant; | |||
innovation_unquant_func innovation_unquant; | innovation_unquant_func innovation_unquant; | |||
void *innovation_params; | void *innovation_params; | |||
} SpeexMode; | } SpeexMode; | |||
extern SpeexMode nb_mode; | extern SpeexMode nb_mode; | |||
extern SpeexMode wb_mode; | extern SpeexMode wb_mode; | |||
extern SpeexMode mp_nb_mode; | extern SpeexMode mp_nb_mode; | |||
extern SpeexMode mp_wb_mode; | extern SpeexMode mp_wb_mode; | |||
extern SpeexMode mp_sb_mode; | ||||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
0 lines changed or deleted | 1 lines changed or added | |||
speex.h | speex.h | |||
---|---|---|---|---|
skipping to change at line 75 | skipping to change at line 75 | |||
float *old_qlsp; /* Quantized LSPs for previous frame */ | float *old_qlsp; /* Quantized LSPs for previous frame */ | |||
float *interp_lsp; /* Interpolated LSPs */ | float *interp_lsp; /* Interpolated LSPs */ | |||
float *interp_qlsp; /* Interpolated quantized LSPs */ | float *interp_qlsp; /* Interpolated quantized LSPs */ | |||
float *interp_lpc; /* Interpolated LPCs */ | float *interp_lpc; /* Interpolated LPCs */ | |||
float *interp_qlpc; /* Interpolated quantized LPCs */ | float *interp_qlpc; /* Interpolated quantized LPCs */ | |||
float *bw_lpc1; /* LPCs after bandwidth expansion by gamma1 for p erceptual weighting*/ | float *bw_lpc1; /* LPCs after bandwidth expansion by gamma1 for p erceptual weighting*/ | |||
float *bw_lpc2; /* LPCs after bandwidth expansion by gamma2 for p erceptual weighting*/ | float *bw_lpc2; /* LPCs after bandwidth expansion by gamma2 for p erceptual weighting*/ | |||
float *rc; /* Reflection coefficients */ | float *rc; /* Reflection coefficients */ | |||
float *mem_sp, *mem_sw; | float *mem_sp, *mem_sw; | |||
float *dmem1, *dmem2; | float *dmem1, *dmem2; | |||
float *pi_gain; | ||||
lsp_quant_func lsp_quant; | lsp_quant_func lsp_quant; | |||
ltp_quant_func ltp_quant; | ltp_quant_func ltp_quant; | |||
void *ltp_params; | void *ltp_params; | |||
innovation_quant_func innovation_quant; | innovation_quant_func innovation_quant; | |||
void *innovation_params; | void *innovation_params; | |||
} EncState; | } EncState; | |||
typedef struct DecState { | typedef struct DecState { | |||
int first; /* Is this the first frame? */ | int first; /* Is this the first frame? */ | |||
skipping to change at line 107 | skipping to change at line 108 | |||
float *stack; | float *stack; | |||
float *inBuf; /* Input buffer (original signal) */ | float *inBuf; /* Input buffer (original signal) */ | |||
float *frame; /* Start of original frame */ | float *frame; /* Start of original frame */ | |||
float *excBuf; /* Excitation buffer */ | float *excBuf; /* Excitation buffer */ | |||
float *exc; /* Start of excitation frame */ | float *exc; /* Start of excitation frame */ | |||
float *qlsp; /* Quantized LSPs for current frame */ | float *qlsp; /* Quantized LSPs for current frame */ | |||
float *old_qlsp; /* Quantized LSPs for previous frame */ | float *old_qlsp; /* Quantized LSPs for previous frame */ | |||
float *interp_qlsp; /* Interpolated quantized LSPs */ | float *interp_qlsp; /* Interpolated quantized LSPs */ | |||
float *interp_qlpc; /* Interpolated quantized LPCs */ | float *interp_qlpc; /* Interpolated quantized LPCs */ | |||
float *mem_sp; | float *mem_sp; | |||
float *pi_gain; | ||||
lsp_unquant_func lsp_unquant; | lsp_unquant_func lsp_unquant; | |||
ltp_unquant_func ltp_unquant; | ltp_unquant_func ltp_unquant; | |||
void *ltp_params; | void *ltp_params; | |||
innovation_unquant_func innovation_unquant; | innovation_unquant_func innovation_unquant; | |||
void *innovation_params; | void *innovation_params; | |||
} DecState; | } DecState; | |||
/**Initializes encoder state*/ | /**Initializes encoder state*/ | |||
void encoder_init(EncState *st, SpeexMode *mode); | void encoder_init(EncState *st, SpeexMode *mode); | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||