- gbuf1[0] = dec2(gbuf2[0], ractx->lpc_refl_old, ractx->lpc_coef_old, ractx->old_energy, ractx->lpc_coef, 3);
- if (ractx->old_energy < energy) {
- gbuf1[1] = dec2(gbuf2[1], ractx->lpc_refl, ractx->lpc_coef, a, ractx->lpc_coef_old, 2);
- } else {
- gbuf1[1] = dec2(gbuf2[1], ractx->lpc_refl_old, ractx->lpc_coef_old, a, ractx->lpc_coef, 2);
- }
- gbuf1[2] = dec2(gbuf2[2], ractx->lpc_refl, ractx->lpc_coef, energy, ractx->lpc_coef_old, 3);
- gbuf1[3] = dec1(gbuf2[3], ractx->lpc_refl, ractx->lpc_coef, energy);
+ refl_rms[0] = interp(ractx, block_coefs[0], 0, 1, ractx->old_energy);
+ refl_rms[1] = interp(ractx, block_coefs[1], 1, energy <= ractx->old_energy,
+ t_sqrt(energy*ractx->old_energy) >> 12);
+ refl_rms[2] = interp(ractx, block_coefs[2], 2, 0, energy);
+ refl_rms[3] = rescale_rms(ractx->lpc_refl_rms[0], energy);