Searched refs:HALF16 (Results 1 - 8 of 8) sorted by relevance

/external/libopus/celt/
H A Darch.h205 #define HALF16(x) (.5f*(x)) macro
H A Dfixed_generic.h108 #define HALF16(x) (SHR16(x,1)) macro
H A Dcelt_encoder.c792 logXC2 = MAX16(HALF16(logXC), celt_log2(QCONST32(1.001f, 20)-MULT16_16(minXC, minXC)));
800 *stereo_saving = MIN16(*stereo_saving + QCONST16(0.25f, 8), -HALF16(logXC2));
1005 follower[i] = HALF16(MAX16(0, bandLogE[i]-follower[i]) + MAX16(0, bandLogE[nbEBands+i]-follower[nbEBands+i]));
1019 follower[i] = HALF16(follower[i]);
1030 follower[i] = HALF16(follower[i]);
1616 bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT));
1654 mask = HALF16(mask);
1715 opus_val16 offset = shortBlocks?HALF16(SHL16(LM, DB_SHIFT)):0;
1750 bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT));
H A Dvq.c84 theta = HALF16(MULT16_16_Q15(gain,gain));
H A Dpitch.c517 cont = HALF16(prev_gain);
H A Dfixed_debug.h230 #define HALF16(x) (SHR16(x,1)) macro
/external/libopus/src/
H A Dopus_multistream_encoder.c333 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1)));
H A Dopus_encoder.c1558 mask = HALF16(mask);

Completed in 126 milliseconds