Home
last modified time | relevance | path

Searched refs:one_minus_alpha (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/rtc_base/numerics/
Devent_based_exponential_moving_average.cc59 double one_minus_alpha = 1 - alpha; in AddSample() local
61 value_ = one_minus_alpha * value_ + alpha * sample; in AddSample()
63 (one_minus_alpha * one_minus_alpha) * estimator_variance_ + in AddSample()
69 double new_variance = one_minus_alpha * sample_variance_ + in AddSample()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_quad_blend.c624 float one_minus_alpha[TGSI_QUAD_SIZE]; in blend_quad() local
625 VEC4_SUB(one_minus_alpha, one, quadColor[3]); in blend_quad()
626 VEC4_MUL(blend_dest[0], blend_dest[0], one_minus_alpha); /* R */ in blend_quad()
627 VEC4_MUL(blend_dest[1], blend_dest[1], one_minus_alpha); /* G */ in blend_quad()
628 VEC4_MUL(blend_dest[2], blend_dest[2], one_minus_alpha); /* B */ in blend_quad()
687 float one_minus_alpha[TGSI_QUAD_SIZE]; in blend_quad() local
688 VEC4_SUB(one_minus_alpha, one, quadColor2[3]); in blend_quad()
689 VEC4_MUL(blend_dest[0], blend_dest[0], one_minus_alpha); /* R */ in blend_quad()
690 VEC4_MUL(blend_dest[1], blend_dest[1], one_minus_alpha); /* G */ in blend_quad()
691 VEC4_MUL(blend_dest[2], blend_dest[2], one_minus_alpha); /* B */ in blend_quad()
[all …]
/external/libxaac/decoder/
Dixheaacd_mps_pre_mix.c607 WORD32 one_minus_alpha = 1073741824 - alpha; in ixheaacd_mps_upmix_interp() local
610 one_minus_alpha) + in ixheaacd_mps_upmix_interp()
619 WORD32 one_minus_alpha = 1073741824 - alpha; in ixheaacd_mps_upmix_interp() local
622 one_minus_alpha) + in ixheaacd_mps_upmix_interp()
Dixheaacd_env_calc.c145 WORD16 one_minus_alpha, alpha = deg_patched[k]; in ixheaacd_alias_reduction() local
151 one_minus_alpha = 0x7fff - alpha; in ixheaacd_alias_reduction()
159 tmp_gain_mant = (one_minus_alpha * tmp_gain_mant) >> 15; in ixheaacd_alias_reduction()