Searched refs:SHIFT_DOWN (Results 1 – 7 of 7) sorted by relevance
/external/srec/srec/cfront/ |
D | cheldsp4.c | 98 …rg[i] = (cepdata) SHIFT_DOWN((*cpt - *(cpt + mel_dim + 1)), 1 + COSINE_TABLE_SHIFT); /* Shift doe… in regress() 107 val += (d - j) * SHIFT_DOWN(*cpt, 5); /* note d-j from j-d */ in regress() 108 …rg[i] = (cepdata) SHIFT_DOWN((bigdata)(val / a), COSINE_TABLE_SHIFT - 5); /* scale down the deltas… in regress() 132 dd[i] = (cepdata) SHIFT_DOWN((bigdata)(dd[i]), COSINE_TABLE_SHIFT); in dd_regress() 143 val += deldel[j] * SHIFT_DOWN((*cpt), 4); /* Q2 frames forward, not around...? */ in dd_regress() 145 dd[i] = (cepdata) SHIFT_DOWN((bigdata)(val), COSINE_TABLE_SHIFT - 4); in dd_regress() 163 ASSERT((cepobj->melA_scale[i] *(float)SHIFT_DOWN(cep[i], COSINE_TABLE_SHIFT)) in scale_data() 165 ASSERT((cepobj->melA_scale[i] *(float)SHIFT_DOWN(cep[i], COSINE_TABLE_SHIFT)) in scale_data() 167 a = (bigdata)(SHIFT_DOWN((bigdata)cepobj->melA_scale[i] in scale_data() 168 * (bigdata) SHIFT_DOWN(cep[i], COSINE_TABLE_SHIFT) in scale_data() [all …]
|
D | chelfep.c | 128 ASSERT((cepobj->melA_scale[0] *(float)SHIFT_DOWN(val, COSINE_TABLE_SHIFT)) in smoothed_c0() 130 ASSERT((cepobj->melA_scale[0] *(float)SHIFT_DOWN(val, COSINE_TABLE_SHIFT)) in smoothed_c0() 133 scval = (bigdata)(SHIFT_DOWN((bigdata)cepobj->melA_scale[0] in smoothed_c0() 134 * (bigdata) SHIFT_DOWN(val, COSINE_TABLE_SHIFT) in smoothed_c0()
|
D | spec_anl.c | 179 data[i] = (fftdata)(SHIFT_DOWN(temp - (*last_sample), COEFDATA_SHIFT)); in preemph() 247 peak = (fftdata)(SHIFT_DOWN((bigdata)peak, COEFDATA_SHIFT) * (bigdata)bdecay); in peakpick() 260 peak = (fftdata)(SHIFT_DOWN((bigdata)peak, COEFDATA_SHIFT) * (bigdata)fdecay); in peakpick() 280 density[i] = SHIFT_DOWN(density[i], RAMP_SHIFT); in filtbank() 288 nxt += (bigdata) SHIFT_DOWN((bigdata)freqobj->framp[j] * (bigdata)density[j], RAMP_SHIFT); in filtbank() 305 … mom += (bigdata)(long) SHIFT_DOWN((bigdata)freqobj->framp[j] * (bigdata)density[j], RAMP_SHIFT); in filtbank() 313 + SHIFT_DOWN(freqobj->fcscl[i+1], HALF_RAMP_SHIFT + 1)) in filtbank() 314 / SHIFT_DOWN(freqobj->fcscl[i+1], HALF_RAMP_SHIFT)); in filtbank()
|
D | sh_down.h | 29 #define SHIFT_DOWN(X,S) ((S) > 0 ? shift_down_inline ((X), (S)) : (X)) macro 32 #define COND_SHIFT_DOWN(X,S) (SHIFT_DOWN(X,S))
|
D | chelmel4.c | 137 SHIFT_DOWN(cepobj->mel_offset[ii], channel->shift)), in mel_loglookup_with_offset()
|
/external/srec/srec/clib/ |
D | voicing.c | 86 chan->b1 += SHIFT_DOWN(B1_RATE * (SHIFT_UP(enval, 8) - chan->b1), 8); in voicing_analysis() 96 threshold = (chan->b1 + (SHIFT_DOWN( in voicing_analysis()
|
D | imeld_tr.c | 58 vec[ii] = (imeldata) SHIFT_DOWN((int)vec[ii], in linear_transform_frame() 99 vec[ii]= SHIFT_DOWN (vec[ii], prep->inv_shift); in inverse_transform_frame()
|