/external/libopus/celt/ |
mathops.h | 181 return SHL16(i-13,DB_SHIFT)+SHR16(frac,14-DB_SHIFT); 206 integer = SHR16(x,10); 247 return SHR16(celt_atan01(EXTRACT16(arg)),1); 253 return 25736-SHR16(celt_atan01(EXTRACT16(arg)),1);
|
vq.c | 390 m = ADD16(SHR16(X[i],1),SHR16(Y[i],1)); 391 s = SUB16(SHR16(X[i],1),SHR16(Y[i],1));
|
fixed_generic.h | 68 #define SHR16(a,shift) ((a) >> (shift)) 92 #define HALF16(x) (SHR16(x,1))
|
quant_bands.c | 149 opus_val16 d = SUB16(SHR16(eBands[i+c*len], 3), SHR16(oldEBands[i+c*len], 3)); 209 qi += (int)SHR16(SUB16(decay_bound,x), DB_SHIFT); 416 offset = SHR16(SHL16(q2,DB_SHIFT)-QCONST16(.5f,DB_SHIFT),fine_quant[i]+1); 532 offset = SHR16(SHL16(q2,DB_SHIFT)-QCONST16(.5f,DB_SHIFT),fine_quant[i]+1);
|
arch.h | 156 #define SHR16(a,shift) (a)
|
fixed_debug.h | 137 #define SHR16(a, shift) SHR16_(a, shift, __FILE__, __LINE__) 143 fprintf (stderr, "SHR16: inputs are not short: %d >> %d in %s: line %d\n", a, shift, file, line); 151 fprintf (stderr, "SHR16: output is not short: %d in %s: line %d\n", res, file, line); 230 #define HALF16(x) (SHR16(x,1))
|
pitch.c | 335 x_lp4[j] = SHR16(x_lp4[j], shift); 337 y_lp4[j] = SHR16(y_lp4[j], shift);
|
celt_encoder.c | 590 tmp[j] = ADD16(SHR16(tmp[j], 1),SHR16(X[N0+j+(m->eBands[i]<<LM)], 1));*/ 830 trim -= MAX16(-QCONST16(2.f, 8), MIN16(QCONST16(2.f, 8), SHR16(diff+QCONST16(1.f, DB_SHIFT),DB_SHIFT-8)/6 )); 831 trim -= SHR16(surround_trim, DB_SHIFT-8); 832 trim -= 2*SHR16(tf_estimate, 14-8); [all...] |
bands.c | 320 r = SHR16(MIN16(thresh, r),1); 871 lowband_out[0] = SHR16(X[0],4); [all...] |
/external/speex/libspeex/ |
filters.c | 239 sum2 = MAC16_16(sum2,SHR16(x[i],1),SHR16(x[i],1)); 240 sum2 = MAC16_16(sum2,SHR16(x[i+1],1),SHR16(x[i+1],1)); 241 sum2 = MAC16_16(sum2,SHR16(x[i+2],1),SHR16(x[i+2],1)); 242 sum2 = MAC16_16(sum2,SHR16(x[i+3],1),SHR16(x[i+3],1)); 457 x[i+M-1]=SHR16(xx[i],1); 459 mem[i]=SHR16(xx[N-i-1],1) [all...] |
math_approx.h | 254 integer = SHR16(x,11); 294 return SHR16(spx_atan01(x),1); 300 return SUB16(25736, SHR16(spx_atan01(x),1));
|
fixed_generic.h | 45 #define SHR16(a,shift) ((a) >> (shift)) 49 #define PSHR16(a,shift) (SHR16((a)+((1<<((shift))>>1)),shift))
|
ltp.h | 46 #define gain_3tap_to_1tap(g) (ABS(g[1]) + (g[0]>0 ? g[0] : -SHR16(g[0],1)) + (g[2]>0 ? g[2] : -SHR16(g[2],1)))
|
ltp.c | 226 sw[i]=SHR16(sw[i],1); 412 e[j] = SHR16(e[j],1); 414 new_target[j] = SHR16(new_target[j],1); 432 e0 = SHR16(e0,1); 704 spx_word16_t tmp = count_lost < 4 ? last_pitch_gain : SHR16(last_pitch_gain,1);
|
fixed_debug.h | 103 #define SHR16(a, shift) _SHR16(a, shift, __FILE__, __LINE__) 109 fprintf (stderr, "SHR16: inputs are not short: %d >> %d in %s: line %d\n", a, shift, file, line); 113 fprintf (stderr, "SHR16: output is not short: %d in %s: line %d\n", res, file, line); 163 #define PSHR16(a,shift) (SHR16(ADD16((a),((1<<((shift))>>1))),shift))
|
arch.h | 165 #define SHR16(a,shift) (a)
|
stereo.c | 168 data[i] = SHR16(data[2*i],1)+PSHR16(data[2*i+1],1);
|
lsp.c | 609 lsp[i]= SHR16(lsp[i],1) + SHR16(lsp[i+1]-m,1);
|
nb_celp.c | [all...] |
/external/valgrind/VEX/priv/ |
host_generic_simd64.c | 348 static inline UShort shr16 ( UShort v, UInt n ) function 1052 shr16( sel16x4_3(xx), nn ), 1053 shr16( sel16x4_2(xx), nn ), 1054 shr16( sel16x4_1(xx), nn ), 1055 shr16( sel16x4_0(xx), nn ) [all...] |