HomeSort by relevance Sort by last modified time
    Searched refs:SHL16 (Results 1 - 14 of 14) sorted by null

  /external/speex/libspeex/
quant_lsp_bfin.h 91 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5));
161 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5));
quant_lsp.c 52 #define LSP_LINEAR(i) (SHL16(i+1,11))
54 #define LSP_DIV_256(x) (SHL16((spx_word16_t)x, 5))
55 #define LSP_DIV_512(x) (SHL16((spx_word16_t)x, 4))
56 #define LSP_DIV_1024(x) (SHL16((spx_word16_t)x, 3))
111 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5));
122 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5));
143 tmp=SUB16(x[j],SHL16((spx_word16_t)*ptr++,5));
154 x[j] = SUB16(x[j],SHL16((spx_word16_t)cdbk[best_id*nbDim+j],5));
ltp.c 255 sw[i]=SHL16(sw[i],1);
509 exc[j]=MAC16_16(exc[j],SHL16(gain[2-i],7),exc2[j-pp]);
514 exc[j]=MAC16_16(exc[j],SHL16(gain[2-i],7),exc2[j-pp-pitch]);
636 *cumul_gain = MULT16_32_Q13(SHL16(params->gain_cdbk[4*best_gain_index+3],8), MAX32(1024,*cumul_gain));
649 target[i]=SHL16(target[i],1);
729 gain[0] = SHL16(gain[0],7);
730 gain[1] = SHL16(gain[1],7);
731 gain[2] = SHL16(gain[2],7);
790 exc[i]=MULT16_16(SHL16(pitch_coef, 7),exc2[i-start]);
794 exc[i]=MULT16_32_Q15(SHL16(pitch_coef, 9),exc[i-start])
    [all...]
filters.c 140 y[i] = PSHR32(MULT16_16(scale_1, SHL16(x[i],2)),8);
150 y[i] = PSHR32(MULT16_16(scale_1, SHL16(x[i],2)),6);
245 return SHL16(spx_sqrt(DIV32(sum,len)),4);
258 sum2 = MAC16_16(sum2,SHL16(x[i],sig_shift),SHL16(x[i],sig_shift));
259 sum2 = MAC16_16(sum2,SHL16(x[i+1],sig_shift),SHL16(x[i+1],sig_shift));
260 sum2 = MAC16_16(sum2,SHL16(x[i+2],sig_shift),SHL16(x[i+2],sig_shift));
261 sum2 = MAC16_16(sum2,SHL16(x[i+3],sig_shift),SHL16(x[i+3],sig_shift))
    [all...]
math_approx.h 259 frac = SHL16(x-SHL16(integer,11),3);
arch.h 166 #define SHL16(a,shift) (a)
fixed_generic.h 46 #define SHL16(a,shift) ((a) << (shift))
stereo.c 290 stereo->balance = spx_exp(MULT16_16(sign, SHL16(dexp, 9)));
fftwrap.c 64 out[i] = SHL16(in[i], shift);
mdf.c 474 st->window[i] = (16383-SHL16(spx_cos(DIV32_16(MULT16_16(25736,i<<1),N)),1));
854 st->wtmp[i]=SHL16(st->wtmp[i],NORMALIZE_SCALEUP);
    [all...]
preprocess.c 491 st->post[i]=SHL16(1, SNR_SHIFT);
492 st->prior[i]=SHL16(1, SNR_SHIFT);
647 st->frame[i] = SHL16(st->frame[i], st->frame_shift);
    [all...]
fixed_debug.h 117 #define SHL16(a, shift) _SHL16(a, shift, __FILE__, __LINE__)
123 fprintf (stderr, "SHL16: inputs are not short: %d %d in %s: line %d\n", a, shift, file, line);
127 fprintf (stderr, "SHL16: output is not short: %d in %s: line %d\n", res, file, line);
lsp.c 104 #define ANGLE2X(a) (SHL16(spx_cos(a),2))
nb_celp.c 604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT));
    [all...]

Completed in 109 milliseconds