/external/speex/libspeex/ |
H A D | fixed_arm4.h | 64 #undef DIV32_16 macro 65 static inline short DIV32_16(int a, int b) function
|
H A D | fixed_arm5e.h | 92 #undef DIV32_16 macro 93 static inline short DIV32_16(int a, int b) function
|
H A D | fixed_bfin.h | 64 #undef DIV32_16 macro 65 static inline spx_word16_t DIV32_16(spx_word32_t a, spx_word16_t b) function
|
H A D | pseudofloat.h | 279 r.m = DIV32_16(a,b.m); 308 r.m = DIV32_16(a,b); 332 r.m = DIV32_16(num,b.m);
|
H A D | lpc.c | 97 r = DIV32_16(rr+PSHR32(error,1),ADD16(error,8));
|
H A D | preprocess.c | 144 return DIV32_16(a,b); 262 spx_word16_t x = DIV32_16(MULT16_16(32767,i),len); 264 spx_word16_t x = DIV32_16(MULT16_16(QCONST16(4.f,13),i),len); 309 return ADD32(EXTEND32(Q15_ONE),EXTEND32(DIV32_16(QCONST32(.1296,23), SHR32(xx,EXPIN_SHIFT-SNR_SHIFT)))); 311 return SHL32(DIV32_16(PSHR32(MULT16_16(Q15_ONE-frac,table[ind]) + MULT16_16(frac,table[ind+1]),7),(spx_sqrt(SHL32(xx,15)+6711))),7); 317 return DIV32_16(SHL32(EXTEND32(32767),9),ADD16(512,MULT16_16_Q15(QCONST16(.60f,15),DIV32_16(32767,x)))); 744 beta = MAX16(QCONST16(.03,15),DIV32_16(Q15_ONE,st->nb_adapt)); 825 Pframe = QCONST16(.1f,15)+MULT16_16_Q15(QCONST16(.899f,15),qcurve(DIV32_16(Zframe,st->nbands))); 866 st->gain2[i]=DIV32_16(SHL3 [all...] |
H A D | mdf.c | 434 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); 436 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); 437 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate); 474 st->window[i] = (16383-SHL16(spx_cos(DIV32_16(MULT16_16(25736,i<<1),N)),1)); 488 spx_word16_t decay = SHR32(spx_exp(NEG16(DIV32_16(QCONST16(2.4,11),M))),1); 715 ss=DIV32_16(11469,M); 1239 st->spec_average = DIV32_16(SHL32(EXTEND32(st->frame_size), 15), st->sampling_rate); 1241 st->beta0 = DIV32_16(SHL32(EXTEND32(st->frame_size), 16), st->sampling_rate); 1242 st->beta_max = DIV32_16(SHL32(EXTEND32(st->frame_size), 14), st->sampling_rate);
|
H A D | arch.h | 209 #define DIV32_16(a,b) (((spx_word32_t)(a))/(spx_word16_t)(b)) macro
|
H A D | filterbank.c | 96 val = DIV32_16(mel - id1*mel_interval,EXTRACT16(PSHR32(mel_interval,15)));
|
H A D | fixed_generic.h | 105 #define DIV32_16(a,b) ((spx_word16_t)(((spx_word32_t)(a))/((spx_word16_t)(b)))) macro
|
H A D | math_approx.h | 299 x = DIV32_16(SHL32(EXTEND32(32767),29-e), EXTRACT16(SHR32(x, e-14)));
|
H A D | fixed_debug.h | 437 #define DIV32_16(a, b) _DIV32_16(a, b, __FILE__, __LINE__) macro 444 fprintf(stderr, "DIV32_16: divide by zero: %d/%d in %s: line %d\n", (int)a, (int)b, file, line); 449 fprintf (stderr, "DIV32_16: inputs are not int/short: %d %d in %s: line %d\n", (int)a, (int)b, file, line); 454 fprintf (stderr, "DIV32_16: output is not short: %d / %d = %d in %s: line %d\n", (int)a,(int)b,(int)res, file, line); 485 #define PDIV32_16(a,b) DIV32_16(ADD32((a),(b)>>1),b)
|
H A D | quant_lsp.c | 88 quant_weight[i] = DIV32_16(81920,ADD16(300,tmp1));
|
H A D | lsp.c | 617 spx_word16_t tmp = DIV32_16(SHL32(EXTEND32(1 + subframe),14),nb_subframes);
|
H A D | filters.c | 137 scale_1 = DIV32_16(SHL32(EXTEND32(SIG_SCALING),3),scale); 147 scale_1 = DIV32_16(SHL32(EXTEND32(SIG_SCALING),3),scale);
|
H A D | ltp.c | 716 spx_word16_t fact = DIV32_16(SHL32(EXTEND32(tmp),14),gain_sum);
|
/external/libopus/celt/ |
H A D | arch.h | 251 #define DIV32_16(a,b) (((opus_val32)(a))/(opus_val16)(b)) macro
|
H A D | fixed_generic.h | 160 #define DIV32_16(a,b) ((opus_val16)(((opus_val32)(a))/((opus_val16)(b)))) macro
|
H A D | fixed_debug.h | 710 #define DIV32_16(a, b) DIV32_16_(a, b, __FILE__, __LINE__) macro 717 fprintf(stderr, "DIV32_16: divide by zero: %d/%d in %s: line %d\n", (int)a, (int)b, file, line); 725 fprintf (stderr, "DIV32_16: inputs are not int/short: %d %d in %s: line %d\n", (int)a, (int)b, file, line); 733 fprintf (stderr, "DIV32_16: output is not short: %d / %d = %d in %s: line %d\n", (int)a,(int)b,(int)res, file, line);
|
H A D | bands.c | 401 a1 = DIV32_16(SHL32(EXTEND32(left),14),norm); 402 a2 = DIV32_16(SHL32(EXTEND32(right),14),norm);
|
H A D | celt_encoder.c | 1277 max_frac = DIV32_16(MULT16_16(QCONST16(0.8f, 15), coded_stereo_dof), coded_bins); 1706 mask_avg = DIV32_16(mask_avg,count);
|