Home | History | Annotate | Download | only in libspeex

Lines Matching refs:spx_word16_t

54 #define LSP_DIV_256(x) (SHL16((spx_word16_t)x, 5))
55 #define LSP_DIV_512(x) (SHL16((spx_word16_t)x, 4))
56 #define LSP_DIV_1024(x) (SHL16((spx_word16_t)x, 3))
71 static void compute_quant_weights(spx_lsp_t *qlsp, spx_word16_t *quant_weight, int order)
74 spx_word16_t tmp1, tmp2;
98 static int lsp_quant(spx_word16_t *x, const signed char *cdbk, int nbVec, int nbDim)
102 spx_word16_t tmp;
111 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5));
122 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5));
130 static int lsp_weight_quant(spx_word16_t *x, spx_word16_t *weight, const signed char *cdbk, int nbVec, int nbDim)
134 spx_word16_t tmp;
143 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5));
154 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5));
163 spx_word16_t quant_weight[10];
246 spx_word16_t quant_weight[10];
323 spx_word16_t quant_weight[10];