Searched refs:inv_alpha (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/gallium/drivers/softpipe/ |
D | sp_quad_blend.c | 372 float inv_alpha[4]; in blend_quad() local 373 VEC4_SUB(inv_alpha, one, quadColor[3]); in blend_quad() 374 VEC4_MUL(source[0], quadColor[0], inv_alpha); /* R */ in blend_quad() 375 VEC4_MUL(source[1], quadColor[1], inv_alpha); /* G */ in blend_quad() 376 VEC4_MUL(source[2], quadColor[2], inv_alpha); /* B */ in blend_quad() 381 float inv_alpha[4]; in blend_quad() local 382 VEC4_SUB(inv_alpha, one, dest[3]); in blend_quad() 383 VEC4_MUL(source[0], quadColor[0], inv_alpha); /* R */ in blend_quad() 384 VEC4_MUL(source[1], quadColor[1], inv_alpha); /* G */ in blend_quad() 385 VEC4_MUL(source[2], quadColor[2], inv_alpha); /* B */ in blend_quad() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | random_poisson_op.cc | 197 const CT inv_alpha = CT(1.1239) + CT(1.1328) / (b - CT(3.4)); in operator ()() local 237 CT s = log(v * inv_alpha / (a / (u_shifted * u_shifted) + b)); in operator ()()
|