Lines Matching refs:temp

143     int i, scale, temp;
153 temp = ff_dot_product(vector, vector, LPC_FRAME);
156 temp += temp >> 10;
159 scale = ff_g723_1_normalize_bits(temp, 31);
160 autocorr[0] = av_clipl_int32((int64_t) (temp << scale) +
168 temp = ff_dot_product(vector, vector + i, LPC_FRAME - i);
169 temp = MULL2((temp << scale), binomial_window[i - 1]);
170 autocorr[i] = av_clipl_int32((int64_t) temp + (1 << 15)) >> 16;
187 int i, j, temp;
193 temp = 0;
195 temp -= lpc[j] * autocorr[i - j - 1];
196 temp = ((autocorr[i] << 13) + temp) << 3;
198 if (FFABS(temp) >= (error << 16))
201 partial_corr = temp / (error << 1);
207 temp = MULL2(temp, partial_corr);
208 error = av_clipl_int32((int64_t) (error << 16) - temp +
213 temp = partial_corr * vector[i - j - 1] << 1;
214 lpc[j] = av_clipl_int32((int64_t) (lpc[j] << 16) - temp +
251 int64_t temp;
287 temp = 0;
289 temp += f[2 * i] * G723_1_COS_TAB_FIRST_ELEMENT;
290 prev_val = av_clipl_int32(temp << 1);
294 temp = 0;
296 temp += f[LPC_ORDER - 2 * j + p] * ff_g723_1_cos_tab[i * j % COS_TBL_SIZE];
297 cur_val = av_clipl_int32(temp << 1);
317 temp = 0;
319 temp += f[LPC_ORDER - 2 * j + p] *
321 cur_val = av_clipl_int32(temp << 1);
340 int16_t temp[4]; \
345 temp[j] = (weight[j + (offset)] * ff_g723_1_lsp_band##num[i][j] + \
348 error = ff_g723_1_dot_product(lsp + (offset), temp, size) << 1; \
349 error -= ff_g723_1_dot_product(ff_g723_1_lsp_band##num[i], temp, size); \
475 int diff, temp;
496 temp = ff_g723_1_normalize_bits(ccr, 31);
497 ccr = ccr << temp >> 16;
498 exp += temp;
500 temp = ff_g723_1_normalize_bits(orig_eng, 31);
501 eng = av_clipl_int32((int64_t) (orig_eng << temp) + (1 << 15)) >> 16;
502 exp -= temp;
516 temp = max_ccr >> 1;
518 temp = max_ccr;
520 diff = ccr_eng - eng * temp;
617 int64_t temp = hf->gain * src[i - hf->index] << 1;
618 dest[i] = av_clipl_int32((src[i] << 16) - temp + (1 << 15)) >> 16;
626 int64_t temp = hf->gain * src[i - hf->index] << 1;
627 dest[i] = av_clipl_int32(((dest[i] - src[i]) << 16) + temp +
655 int64_t temp = 0;
657 temp -= qnt_lpc[j - 1] * bptr_16[i - j];
659 buf[i] = (src[i] << 15) + (temp << 3);
702 int64_t temp;
715 temp = 0;
717 temp += residual[PITCH_ORDER - 1 + k] * impulse_resp[j - k];
718 flt_buf[PITCH_ORDER - 1][j] = av_clipl_int32((temp << 1) +
725 temp = (flt_buf[j + 1][k - 1] << 15) +
727 flt_buf[j][k] = av_clipl_int32((temp << 1) + (1 << 15)) >> 16;
733 temp = ff_dot_product(buf, flt_buf[j], SUBFRAME_LEN);
734 ccr_buf[count++] = av_clipl_int32(temp << 1);
745 temp = ff_dot_product(flt_buf[j], flt_buf[k], SUBFRAME_LEN);
746 ccr_buf[count++] = av_clipl_int32(temp << 2);
756 temp = ff_g723_1_normalize_bits(max, 31);
759 ccr_buf[i] = av_clipl_int32((int64_t) (ccr_buf[i] << temp) +
772 temp = 0;
774 temp += ccr_buf[20 * i + l] * cb_tbl[k + l];
775 temp = av_clipl_int32(temp);
777 if (temp > max) {
778 max = temp;
807 int64_t temp = buf[i] << 14;
809 temp -= residual[j] * impulse_resp[i - j];
811 buf[i] = av_clipl_int32((temp << 2) + (1 << 15)) >> 16;
833 int64_t temp;
847 temp = ff_g723_1_dot_product(temp_corr, temp_corr, SUBFRAME_LEN);
849 scale = ff_g723_1_normalize_bits(temp, 31);
850 impulse_corr[0] = av_clipl_int32((temp << scale) + (1 << 15)) >> 16;
853 temp = ff_g723_1_dot_product(temp_corr + i, temp_corr,
855 impulse_corr[i] = av_clipl_int32((temp << scale) + (1 << 15)) >> 16;
861 temp = ff_g723_1_dot_product(buf + i, impulse_r, SUBFRAME_LEN - i);
863 ccr1[i] = temp >> -scale;
865 ccr1[i] = av_clipl_int32(temp << scale);
873 temp = FFABS(ccr1[j]);
874 if (temp >= max) {
875 max = temp;
885 temp = av_clipl_int32((int64_t) ff_g723_1_fixed_cb_gain[j] *
887 temp = FFABS(temp - amp);
888 if (temp < min) {
889 min = temp;
912 temp = impulse_corr[FFABS(l - param.pulse_pos[k - 1])];
913 temp = av_clipl_int32((int64_t) temp *
915 ccr2[l] -= temp;
916 temp = FFABS(ccr2[l]);
917 if (temp > max) {
918 max = temp;
935 temp = 0;
939 temp = av_clipl_int32(temp + prod);
941 temp_corr[k] = temp << 2 >> 16;
1046 int i, temp;
1063 temp = p->subframe[i].ad_cb_gain * GAIN_LEVELS +
1066 temp += p->subframe[i].dirac_train << 11;
1067 put_bits(&pb, 12, temp);
1079 temp = (p->subframe[0].pulse_pos >> 16) * 810 +
1083 put_bits(&pb, 13, temp);