Home
last modified time | relevance | path

Searched refs:attenuation (Results 1 - 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/oboe/src/flowgraph/resampler/
H A DKaiserWindow.h34 * @param attenuation typical values range from 30 to 90 dB
37 double setStopBandAttenuation(double attenuation) { in setStopBandAttenuation() argument
39 if (attenuation > 50) { in setStopBandAttenuation()
40 beta = 0.1102 * (attenuation - 8.7); in setStopBandAttenuation()
41 } else if (attenuation >= 21) { in setStopBandAttenuation()
42 double a21 = attenuation - 21; in setStopBandAttenuation()
H A DHyperbolicCosineWindow.h38 * @param attenuation typical values range from 30 to 90 dB
41 double setStopBandAttenuation(double attenuation) { in setStopBandAttenuation() argument
42 double alpha = ((-325.1e-6 * attenuation + 0.1677) * attenuation) - 3.149; in setStopBandAttenuation()
/third_party/mesa3d/src/mesa/main/
H A Drastpos.c163 GLfloat attenuation = 1.0; in shade_rastpos() local
171 attenuation = light->_VP_inf_spot_attenuation; in shade_rastpos()
188 attenuation = 1.0F / (lu->ConstantAttenuation + d * in shade_rastpos()
200 attenuation *= spot; in shade_rastpos()
205 if (attenuation < 1e-3F) in shade_rastpos()
211 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]); in shade_rastpos()
265 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib ); in shade_rastpos()
266 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib ); in shade_rastpos()
H A Dffvertex_prog.c954 struct ureg attenuation = undef; in calculate_light_attenuation() local
957 /* Calculate spot attenuation: in calculate_light_attenuation()
964 attenuation = register_param3(p, STATE_LIGHT, i, STATE_ATTENUATION); in calculate_light_attenuation()
970 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); in calculate_light_attenuation()
977 /* Calculate distance attenuation(See formula (2.4) at glspec 2.1 page 62): in calculate_light_attenuation()
985 if (is_undef(attenuation)) in calculate_light_attenuation()
986 attenuation = register_param3(p, STATE_LIGHT, i, STATE_ATTENUATION); in calculate_light_attenuation()
993 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist); in calculate_light_attenuation()
1196 * attenuation below. in build_lighting()
1203 /* Calculate attenuation in build_lighting()
[all...]
/third_party/ffmpeg/libavcodec/
H A Dspeexdata.h768 static const float attenuation[10] = { 1.f, 0.961f, 0.852f, 0.698f, 0.527f, variable

Completed in 6 milliseconds