/external/speex/libspeex/ |
H A D | stereo.c | 190 balance = DIV32(largest, ADD32(smallest, 1)); 210 e_ratio = DIV32(e_tot, e_left+e_right+1); 234 e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance)))); 261 e_right = DIV32(QCONST32(1., 22), spx_sqrt(MULT16_32_Q15(e_ratio, ADD32(QCONST32(1., 16), balance))));
|
H A D | filterbank.c | 62 df = DIV32(SHL32(sampling,15),MULT16_16(2,len)); 87 id1 = DIV32(mel,mel_interval);
|
H A D | ltp_bfin.h | 295 g = DIV32(corr[i-start], 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(energy[i-start])),6));
|
H A D | arch.h | 211 #define DIV32(a,b) (((spx_word32_t)(a))/(spx_word32_t)(b)) macro
|
H A D | fixed_generic.h | 107 #define DIV32(a,b) (((spx_word32_t)(a))/((spx_word32_t)(b))) macro
|
H A D | fixed_debug.h | 464 #define DIV32(a, b) _DIV32(a, b, __FILE__, __LINE__) macro 470 fprintf(stderr, "DIV32: divide by zero: %d/%d in %s: line %d\n", (int)a, (int)b, file, line); 476 fprintf (stderr, "DIV32: inputs are not int/short: %d %d in %s: line %d\n", (int)a, (int)b, file, line); 480 fprintf (stderr, "DIV32: output is not int: %d in %s: line %d\n", (int)res, file, line); 484 #define PDIV32(a,b) DIV32(ADD32((a),(b)>>1),b)
|
H A D | filters.c | 217 return EXTRACT16(PSHR32(SHL32(EXTEND32(spx_sqrt(DIV32(sum,len))),(sig_shift+3)),SIG_SHIFT)); 245 return SHL16(spx_sqrt(DIV32(sum,len)),4); 264 return SHL16(spx_sqrt(DIV32(sum,len)),3-sig_shift);
|
H A D | kiss_fftr.c | 67 kf_cexp2(st->super_twiddles+i, DIV32(SHL32(phase,16),nfft));
|
H A D | sb_celp.c | 254 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); 1087 exc_ener_sum = ADD32(exc_ener_sum, DIV32(MULT16_16(st->exc_rms[sub],st->exc_rms[sub]), st->nbSubframes)); 1258 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1);
|
H A D | kiss_fft.c | 486 kf_cexp2(st->twiddles+i, DIV32(SHL32(phase,17),nfft));
|
H A D | mdf.c | 379 prop[i] = DIV32(MULT16_16(QCONST16(.99f,15), prop[i]),prop_sum); 498 st->prop[i] = DIV32(MULT16_16(QCONST16(.8f,15), st->prop[i]),sum);
|
H A D | ltp.c | 298 g = DIV32(SHL32(EXTEND32(corr16[i-start]),cshift), 10+SHR32(MULT16_16(spx_sqrt(e0),spx_sqrt(SHL32(EXTEND32(ener16[i-start]),eshift))),6));
|
H A D | nb_celp.c | 175 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1); 1702 st->old_lsp[i]= DIV32(MULT16_16(QCONST16(3.1415927f, LSP_SHIFT), i+1), st->lpcSize+1);
|
/external/libopus/celt/ |
H A D | arch.h | 199 #define DIV32(a,b) (((opus_val32)(a))/(opus_val32)(b)) macro
|
H A D | fixed_generic.h | 132 #define DIV32(a,b) (((opus_val32)(a))/((opus_val32)(b))) macro
|
H A D | mdct.c | 86 trig[i] = TRIG_UPSCALE*celt_cos_norm(DIV32(ADD32(SHL32(EXTEND32(i),17),N2),N));
|
H A D | fixed_debug.h | 738 #define DIV32(a, b) DIV32_(a, b, __FILE__, __LINE__) macro 744 fprintf(stderr, "DIV32: divide by zero: %d/%d in %s: line %d\n", (int)a, (int)b, file, line); 753 fprintf (stderr, "DIV32: inputs are not int/short: %d %d in %s: line %d\n", (int)a, (int)b, file, line); 761 fprintf (stderr, "DIV32: output is not int: %d in %s: line %d\n", (int)res, file, line);
|
H A D | kiss_fft.c | 524 kf_cexp2(twiddles+i, DIV32(SHL32(phase,17),nfft));
|
H A D | celt_encoder.c | 412 mean_diff = DIV32(mean_diff, C*(end-3));
|