Searched refs:SHL16 (Results 26 - 42 of 42) sorted by relevance

12

/external/libopus/celt/
H A Dcelt_encoder.c290 tmp[i] = SHL16(tmp[i], shift);
911 +QCONST16(.5f,DB_SHIFT)+SHL16(9-lsb_depth,DB_SHIFT)-SHL16(eMeans[i],6)
1542 bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT));
1642 opus_val16 offset = shortBlocks?HALF16(SHL16(LM, DB_SHIFT)):0;
1678 bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT));
H A Dfixed_debug.h159 #define SHL16(a, shift) SHL16_(a, shift, __FILE__, __LINE__) macro
165 fprintf (stderr, "SHL16: inputs are not short: %d %d in %s: line %d\n", a, shift, file, line);
173 fprintf (stderr, "SHL16: output is not short: %d in %s: line %d\n", res, file, line);
H A Dbands.c216 lg = ADD16(bandLogE[i+c*m->nbEBands], SHL16((opus_val16)eMeans[i],6));
278 thresh32 = SHR32(celt_exp2(-SHL16(depth, 10-BITRES)),1);
/external/speex/libspeex/
H A Dfftwrap.c64 out[i] = SHL16(in[i], shift);
H A Dmdf.c474 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);
1101 st->leak_estimate = SHL16(st->leak_estimate,1);
1216 leak2 = SHL16(st->leak_estimate, 1);
H A Dpreprocess.c491 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);
H A Dfixed_debug.h117 #define SHL16(a, shift) _SHL16(a, shift, __FILE__, __LINE__) macro
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);
H A Dlsp.c104 #define ANGLE2X(a) (SHL16(spx_cos(a),2))
H A Dnb_celp.c604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT));
1043 pitch_gain = SHL16(pitch_gain, 9);
1266 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT));
/external/chromium_org/third_party/opus/src/src/
H A Dopus_multistream_encoder.c206 frac = SHL16(diff - SHL16(low, DB_SHIFT-1), 16-DB_SHIFT);
H A Dopus_encoder.c1755 g1 = g1==16384 ? Q15ONE : SHL16(g1,1);
1756 g2 = g2==16384 ? Q15ONE : SHL16(g2,1);
/external/libopus/src/
H A Dopus_multistream_encoder.c206 frac = SHL16(diff - SHL16(low, DB_SHIFT-1), 16-DB_SHIFT);
H A Dopus_encoder.c1755 g1 = g1==16384 ? Q15ONE : SHL16(g1,1);
1756 g2 = g2==16384 ? Q15ONE : SHL16(g2,1);
/external/chromium_org/third_party/opus/src/celt/
H A Dfixed_debug.h159 #define SHL16(a, shift) SHL16_(a, shift, __FILE__, __LINE__) macro
165 fprintf (stderr, "SHL16: inputs are not short: %d %d in %s: line %d\n", a, shift, file, line);
173 fprintf (stderr, "SHL16: output is not short: %d in %s: line %d\n", res, file, line);
H A Dbands.c216 lg = ADD16(bandLogE[i+c*m->nbEBands], SHL16((opus_val16)eMeans[i],6));
278 thresh32 = SHR32(celt_exp2(-SHL16(depth, 10-BITRES)),1);
/external/chromium_org/third_party/speex/libspeex/
H A Dlsp.c104 #define ANGLE2X(a) (SHL16(spx_cos(a),2))
H A Dnb_celp.c604 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT));
1043 pitch_gain = SHL16(pitch_gain, 9);
1266 ol_pitch_coef=MULT16_16_P15(QCONST16(0.066667,15),SHL16(quant,GAIN_SHIFT));

Completed in 337 milliseconds

12