Home | History | Annotate | Download | only in decoder

Lines Matching refs:diff

515         WORD32 diff = final_e - noise_e;
517 ixheaacd_noise_level_rescaling(noise_level_mant, diff, bands, 2);
952 WORD32 diff;
961 diff = (gain_e - filt_buf_exp);
963 if (diff >= 0) {
966 *ptr_filt_buf = (WORD16)(*ptr_filt_buf >> diff);
971 if ((diff + reserve) >= 0) {
972 *ptr_filt_buf = (WORD16)(filt_buf_mant << -diff);
973 *(ptr_filt_buf + 1) = (WORD16)(filt_buf_exp + diff);
981 diff);
1012 VOID ixheaacd_noise_level_rescaling(WORD16 *noise_level_mant, WORD32 diff,
1017 if (diff > 0) {
1019 *noise_level_mant = *noise_level_mant >> diff;
1022 } else if (diff < 0) {
1023 diff = -diff;
1025 *noise_level_mant = *noise_level_mant << diff;