static void compute_weighted_codebook(const signed char *shape_cb, const spx_sig_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack)
static void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack)
static void compute_weighted_codebook(const signed char *shape_cb, const spx_sig_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack){   int i, j, k;   for (i=0;i<shape_cb_size;i++)   {      spx_word16_t *res;      const signed char *shape;      res = resp+i*subvect_size;      shape = shape_cb+i*subvect_size;      E[i]=0;      /* Compute codeword response using convolution with impulse response */      for(j=0;j<subvect_size;j++)      {         spx_word32_t resj=0;         for (k=0;k<=j;k++)            resj = MAC16_16(resj,shape[k],r[j-k]);#ifdef FIXED_POINT         resj = SHR(resj, 11);#else         resj *= 0.03125;#endif         /* Compute codeword energy */         E[i]=ADD32(E[i],MULT16_16(resj,resj));         res[j] = resj;         /*printf ("%d\n", (int)res[j]);*/      }   }}