signed char *ptr=cdbk;
const signed char *ptr=cdbk;
static int lsp_quant(spx_word16_t *x, signed char *cdbk, int nbVec, int nbDim){   int i,j;   spx_word32_t dist;   spx_word16_t tmp;   spx_word32_t best_dist=0;   int best_id=0;   signed char *ptr=cdbk;   for (i=0;i<nbVec;i++)   {      dist=0;      for (j=0;j<nbDim;j++)      {         tmp=SUB16(x[j],SHL((spx_word16_t)*ptr++,5));         dist=MAC16_16(dist,tmp,tmp);      }      if (dist<best_dist || i==0)      {         best_dist=dist;         best_id=i;      }   }   for (j=0;j<nbDim;j++)      x[j] -= SHL((spx_word16_t)cdbk[best_id*nbDim+j],5);       return best_id;}