Searched defs:attenuation (Results 1 - 6 of 6) sorted by relevance
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vb_lighttmp.h | 115 GLfloat attenuation; local 120 /* compute VP and attenuation */ 124 attenuation = light->_VP_inf_spot_attenuation; 138 attenuation = 1.0F / (light->ConstantAttenuation + d * 142 /* spotlight attenuation */ 151 attenuation *= spot; 156 if (attenuation < 1e-3) 164 ACC_SCALE_SCALAR_3V(sum[0], attenuation, light->_MatAmbient[0]); 175 ACC_SCALE_SCALAR_3V( sum[1], attenuation, light->_MatAmbient[1]); 184 ACC_SCALE_SCALAR_3V(sum[side], attenuation, contri 292 GLfloat attenuation = 1.0; local [all...] |
H A D | t_rasterpos.c | 132 GLfloat attenuation = 1.0; local 140 attenuation = light->_VP_inf_spot_attenuation; 157 attenuation = 1.0F / (light->ConstantAttenuation + d * 169 attenuation *= spot; 174 if (attenuation < 1e-3) 180 ACC_SCALE_SCALAR_3V(diffuseColor, attenuation, light->_MatAmbient[0]); 234 ACC_SCALE_SCALAR_3V( diffuseColor, attenuation, diffuseContrib ); 235 ACC_SCALE_SCALAR_3V( specularColor, attenuation, specularContrib );
|
/external/speex/libspeex/ |
H A D | nb_celp.c | 1014 const spx_word16_t attenuation[10] = {32767, 31483, 27923, 22861, 17278, 12055, 7764, 4616, 2533, 1283}; variable 1016 const spx_word16_t attenuation[10] = {1., 0.961, 0.852, 0.698, 0.527, 0.368, 0.237, 0.141, 0.077, 0.039}; variable 1031 fact = attenuation[st->count_lost];
|
/external/kernel-headers/original/uapi/sound/ |
H A D | sfnt_info.h | 136 unsigned char attenuation; /* attenuation (0.375dB) */ member in struct:soundfont_voice_info
|
/external/libopus/celt/ |
H A D | celt_decoder.c | 467 opus_val16 attenuation; local 557 attenuation = MULT16_16_Q15(fade, decay); 563 attenuation = MULT16_16_Q15(attenuation, decay); 566 SHL32(EXTEND32(MULT16_16_Q15(attenuation,
|
/external/mesa3d/src/mesa/main/ |
H A D | ffvertex_prog.c | 950 struct ureg attenuation = register_param3(p, STATE_LIGHT, i, local 954 /* Calculate spot attenuation: 966 emit_op2(p, OPCODE_POW, spot, 0, spot, swizzle1(attenuation, W)); 973 /* Calculate distance attenuation(See formula (2.4) at glspec 2.1 page 62): 985 emit_op2(p, OPCODE_DP3, dist, 0, attenuation, dist); 1141 * attenuation below. 1148 /* Calculate attenuation: 1525 * Point size attenuation computation.
|
Completed in 1223 milliseconds