Lines Matching defs:EncState

50 typedef struct EncState {  struct
51 const SpeexMode *mode; /**< Mode corresponding to the state */
52 int first; /**< Is this the first frame? */
53 int frameSize; /**< Size of frames */
54 int subframeSize; /**< Size of sub-frames */
55 int nbSubframes; /**< Number of sub-frames */
56 int windowSize; /**< Analysis (LPC) window length */
57 int lpcSize; /**< LPC order */
58 int min_pitch; /**< Minimum pitch value allowed */
59 int max_pitch; /**< Maximum pitch value allowed */
61 spx_word32_t cumul_gain; /**< Product of previously used pitch gains (Q10) */
62 int bounded_pitch; /**< Next frame should not rely on previous frames for pitch */
63 int ol_pitch; /**< Open-loop pitch */
64 int ol_voiced; /**< Open-loop voiced/non-voiced decision */
65 int *pitch;
68 VorbisPsy *psy;
69 float *psy_window;
70 float *curve;
71 float *old_curve;
74 spx_word16_t gamma1; /**< Perceptual filter: A(z/gamma1) */
75 spx_word16_t gamma2; /**< Perceptual filter: A(z/gamma2) */
76 spx_word16_t lpc_floor; /**< Noise floor multiplier for A[0] in LPC analysis*/
77 char *stack; /**< Pseudo-stack allocation for temporary memory */
78 spx_word16_t *winBuf; /**< Input buffer (original signal) */
79 spx_word16_t *excBuf; /**< Excitation buffer */
80 spx_word16_t *exc; /**< Start of excitation frame */
81 spx_word16_t *swBuf; /**< Weighted signal buffer */
82 spx_word16_t *sw; /**< Start of weighted signal frame */
83 const spx_word16_t *window; /**< Temporary (Hanning) window */
84 const spx_word16_t *lagWindow; /**< Window applied to auto-correlation */
85 spx_lsp_t *old_lsp; /**< LSPs for previous frame */
86 spx_lsp_t *old_qlsp; /**< Quantized LSPs for previous frame */
87 spx_mem_t *mem_sp; /**< Filter memory for signal synthesis */
88 spx_mem_t *mem_sw; /**< Filter memory for perceptually-weighted signal */
89 spx_mem_t *mem_sw_whole; /**< Filter memory for perceptually-weighted signal (whole frame)*/
90 spx_mem_t *mem_exc; /**< Filter memory for excitation (whole frame) */
91 spx_mem_t *mem_exc2; /**< Filter memory for excitation (whole frame) */
92 spx_mem_t mem_hp[2]; /**< High-pass filter memory */
93 spx_word32_t *pi_gain; /**< Gain of LPC filter at theta=pi (fe/2) */
94 spx_word16_t *innov_rms_save; /**< If non-NULL, innovation RMS is copied here */
120 } EncState; argument