Home
last modified time | relevance | path

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

/external/libopus/celt/
Dpitch.c173 x_lp[i] = SHR32(HALF32(HALF32(x[0][(2*i-1)]+x[0][(2*i+1)])+x[0][2*i]), shift); in pitch_downsample()
174 x_lp[0] = SHR32(HALF32(HALF32(x[0][1])+x[0][0]), shift); in pitch_downsample()
178 x_lp[i] += SHR32(HALF32(HALF32(x[1][(2*i-1)]+x[1][(2*i+1)])+x[1][2*i]), shift); in pitch_downsample()
179 x_lp[0] += SHR32(HALF32(HALF32(x[1][1])+x[1][0]), shift); in pitch_downsample()
444 x2y2 = 1+HALF32(MULT32_32_Q31(xx,yy)); in remove_doubling()
491 cont = HALF32(prev_gain); in remove_doubling()
Dfixed_generic.h93 #define HALF32(x) (SHR32(x,1)) macro
Darch.h171 #define HALF32(x) (.5f*(x)) macro
Dcelt_encoder.c447 out[i] = ADD32(HALF32(out[i]), HALF32(out[B*N+i])); in compute_mdcts()
1053 gain1 = HALF32(gain1); in run_prefilter()
1055 gain1 = HALF32(gain1); in run_prefilter()
1591 diff = HALF32(diff); in celt_encode_with_ec()
Dfixed_debug.h231 #define HALF32(x) (SHR32(x,1)) macro
Dcelt_decoder.c950 freq[i] = HALF32(ADD32(freq[i],freq[N+i]));
Dbands.c1484 norm[j] = HALF32(norm[j]+norm2[j]); in quant_all_bands()
/external/libopus/src/
Dopus_encoder.c422 diff = EXTRACT16(HALF32((opus_val32)in[i*channels] - (opus_val32)in[i*channels+1])); in stereo_fade()
430 diff = EXTRACT16(HALF32((opus_val32)in[i*channels] - (opus_val32)in[i*channels+1])); in stereo_fade()