35 if ((index[k]>=108)&&(index[k]<172)) {
37 }
else if (index[k]>=236) {
52 if ((index[k]>=44)&&(index[k]<108)) {
54 }
else if ((index[k]>=108)&&(index[k]<128)) {
89 (
float)fabs(gain[0]), 16);
93 (
float)fabs(gain[1]), 8);
99 getCBvec(cbvec, mem, index[0], lMem, veclen);
100 for (j=0;j<veclen;j++){
101 decvector[j] = gain[0]*cbvec[j];
104 for (k=1; k<nStages; k++) {
105 getCBvec(cbvec, mem, index[k], lMem, veclen);
106 for (j=0;j<veclen;j++) {
107 decvector[j] += gain[k]*cbvec[j];
void getCBvec(float *cbvec, float *mem, int index, int lMem, int cbveclen)
void iCBConstruct(float *decvector, int *index, int *gain_index, float *mem, int lMem, int veclen, int nStages)
float gaindequant(int index, float maxIn, int cblen)
void index_conv_enc(int *index)
void index_conv_dec(int *index)