Lines Matching defs:cur_diff
74 static inline void s_zero(int cur_diff, struct G722Band *band)
81 d*((band->diff_mem[k]^cur_diff) < 0 ? -128 : 128); \
85 if (cur_diff) {
91 ACCUM(0, cur_diff * 2, 1);
98 ACCUM(0, cur_diff * 2, 0);
107 * @param cur_diff the dequantized and scaled delta calculated from the
110 static void do_adaptive_prediction(struct G722Band *band, const int cur_diff)
114 const int cur_part_reconst = band->s_zero + cur_diff < 0;
127 s_zero(cur_diff, band);
129 cur_qtzd_reconst = av_clip_int16((band->s_predictor + cur_diff) * 2);