Home
last modified time | relevance | path

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

/external/libopus/celt/
Dcelt_encoder.c826 logXC2 = MAX16(HALF16(logXC), celt_log2(QCONST32(1.001f, 20)-MULT16_16(minXC, minXC))); in alloc_trim_analysis()
834 *stereo_saving = MIN16(*stereo_saving + QCONST16(0.25f, 8), -HALF16(logXC2)); in alloc_trim_analysis()
1039 …follower[i] = HALF16(MAX16(0, bandLogE[i]-follower[i]) + MAX16(0, bandLogE[nbEBands+i]-follower[nb… in dynalloc_analysis()
1053 follower[i] = HALF16(follower[i]); in dynalloc_analysis()
1060 follower[i] = HALF16(follower[i]); in dynalloc_analysis()
1661 bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT)); in celt_encode_with_ec()
1699 mask = HALF16(mask); in celt_encode_with_ec()
1760 opus_val16 offset = shortBlocks?HALF16(SHL16(LM, DB_SHIFT)):0; in celt_encode_with_ec()
1795 bandLogE2[i] += HALF16(SHL16(LM, DB_SHIFT)); in celt_encode_with_ec()
Dfixed_generic.h111 #define HALF16(x) (SHR16(x,1)) macro
Darch.h220 #define HALF16(x) (.5f*(x)) macro
Dvq.c84 theta = HALF16(MULT16_16_Q15(gain,gain)); in exp_rotation()
Dpitch.c504 cont = HALF16(prev_gain); in remove_doubling()
Dfixed_debug.h240 #define HALF16(x) (SHR16(x,1)) macro
/external/libopus/src/
Dopus_multistream_encoder.c368 channel_offset = HALF16(celt_log2(QCONST32(2.f,14)/(channels-1))); in surround_analysis()
Dopus_encoder.c1715 mask = HALF16(mask); in opus_encode_native()