|
Blender
V2.93
|
Go to the source code of this file.
| ccl_device float fast_acosf | ( | float | x | ) |
Definition at line 278 of file util_math_fast.h.
References Freestyle::a, fabsf, M_PI_F, sqrtf, and x.
Referenced by bsdf_hair_reflection_eval_reflect(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_eval_transmit(), bsdf_hair_transmission_sample(), shift_cos_in(), triangle_light_pdf(), and triangle_light_sample().
| ccl_device float fast_asinf | ( | float | x | ) |
Definition at line 295 of file util_math_fast.h.
References Freestyle::a, copysignf, fabsf, M_PI_2_F, sqrtf, and x.
| ccl_device float fast_atan2f | ( | float | y, |
| float | x | ||
| ) |
Definition at line 329 of file util_math_fast.h.
References __float_as_uint(), Freestyle::a, copysignf, fabsf, M_PI_2_F, M_PI_F, madd(), r, t, x, and y.
Referenced by bsdf_hair_reflection_eval_reflect(), bsdf_hair_reflection_sample(), bsdf_hair_transmission_eval_transmit(), and bsdf_hair_transmission_sample().
| ccl_device float fast_atanf | ( | float | x | ) |
Definition at line 310 of file util_math_fast.h.
References Freestyle::a, copysignf, fabsf, M_PI_2_F, madd(), r, t, and x.
| ccl_device float fast_cosf | ( | float | x | ) |
Definition at line 131 of file util_math_fast.h.
References fabsf, fast_rint(), M_1_PI_F, M_PI_2_F, madd(), and x.
Referenced by bsdf_hair_reflection_eval_reflect(), bsdf_hair_reflection_sample(), and bsdf_hair_transmission_eval_transmit().
| ccl_device_inline float fast_coshf | ( | float | x | ) |
Definition at line 520 of file util_math_fast.h.
References e, fabsf, fast_expf(), and x.
| ccl_device_inline float fast_cospif | ( | float | x | ) |
Definition at line 273 of file util_math_fast.h.
References fast_sinpif(), and x.
| ccl_device_inline float fast_erfcf | ( | float | x | ) |
Definition at line 603 of file util_math_fast.h.
References fast_erff(), and x.
| ccl_device_inline float fast_erff | ( | float | x | ) |
Definition at line 579 of file util_math_fast.h.
References Freestyle::a, copysignf, fabsf, madd(), r, t, v, and x.
Referenced by fast_erfcf(), and microfacet_beckmann_sample_slopes().
| ccl_device_inline float fast_exp10 | ( | float | x | ) |
Definition at line 479 of file util_math_fast.h.
References fast_exp2f(), M_LN10_F, M_LN2_F, and x.
| ccl_device float fast_exp2f | ( | float | x | ) |
Definition at line 413 of file util_math_fast.h.
References __float_as_uint(), __uint_as_float(), clamp(), madd(), r, and x.
Referenced by fast_exp10(), fast_expf(), and fast_safe_powf().
| ccl_device_inline float fast_expf | ( | float | x | ) |
Definition at line 440 of file util_math_fast.h.
References fast_exp2f(), M_LN2_F, and x.
Referenced by fast_coshf(), fast_expf4(), fast_expm1f(), fast_sinhf(), fast_tanhf(), and kernel_filter_nlm_calc_weight().
| ccl_device_inline float4 fast_expf4 | ( | float4 | x | ) |
Definition at line 473 of file util_math_fast.h.
References fast_expf(), make_float4, and x.
Referenced by kernel_filter_nlm_calc_weight().
| ccl_device_inline float fast_expm1f | ( | float | x | ) |
Definition at line 487 of file util_math_fast.h.
References fabsf, fast_expf(), madd(), and x.
| ccl_device_inline float fast_ierff | ( | float | x | ) |
Definition at line 614 of file util_math_fast.h.
References Freestyle::a, fabsf, fast_logf(), madd(), sqrtf, w(), and x.
Referenced by microfacet_beckmann_sample_slopes().
| ccl_device_inline float fast_log10 | ( | float | x | ) |
Definition at line 396 of file util_math_fast.h.
References fast_log2f(), M_LN10_F, M_LN2_F, and x.
| ccl_device float fast_log2f | ( | float | x | ) |
Definition at line 362 of file util_math_fast.h.
References __float_as_uint(), __uint_as_float(), clamp(), madd(), and x.
Referenced by fast_log10(), fast_logf(), and fast_safe_powf().
| ccl_device float fast_logb | ( | float | x | ) |
Definition at line 404 of file util_math_fast.h.
References __float_as_uint(), clamp(), fabsf, and x.
| ccl_device_inline float fast_logf | ( | float | x | ) |
Definition at line 388 of file util_math_fast.h.
References fast_log2f(), M_LN2_F, and x.
Referenced by fast_ierff().
| ccl_device_inline int fast_rint | ( | float | x | ) |
Definition at line 83 of file util_math_fast.h.
References copysignf, float_to_int(), and x.
Referenced by fast_cosf(), fast_sincosf(), fast_sinf(), and fast_tanf().
| ccl_device float fast_safe_powf | ( | float | x, |
| float | y | ||
| ) |
Definition at line 539 of file util_math_fast.h.
References __float_as_int(), __int_as_float(), fabsf, fast_exp2f(), fast_log2f(), KDL::sign(), x, and y.
| ccl_device void fast_sincosf | ( | float | x, |
| float * | sine, | ||
| float * | cosine | ||
| ) |
Definition at line 159 of file util_math_fast.h.
References fabsf, fast_rint(), M_1_PI_F, M_PI_2_F, madd(), and x.
Referenced by bsdf_hair_reflection_sample(), bsdf_hair_transmission_sample(), and triangle_light_sample().
| ccl_device float fast_sinf | ( | float | x | ) |
Definition at line 95 of file util_math_fast.h.
References fabsf, fast_rint(), M_1_PI_F, M_PI_2_F, madd(), and x.
Referenced by triangle_light_sample().
| ccl_device float fast_sinhf | ( | float | x | ) |
Definition at line 498 of file util_math_fast.h.
References Freestyle::a, copysignf, e, fabsf, fast_expf(), madd(), r, and x.
| ccl_device float fast_sinpif | ( | float | x | ) |
Definition at line 237 of file util_math_fast.h.
References fabsf, P(), x, y, and z.
Referenced by fast_cospif().
| ccl_device float fast_tanf | ( | float | x | ) |
Definition at line 202 of file util_math_fast.h.
References fast_rint(), M_1_PI_F, M_PI_4_F, madd(), and x.
| ccl_device_inline float fast_tanhf | ( | float | x | ) |
Definition at line 529 of file util_math_fast.h.
References copysignf, e, fabsf, fast_expf(), and x.
| CCL_NAMESPACE_BEGIN ccl_device_inline float madd | ( | const float | a, |
| const float | b, | ||
| const float | c | ||
| ) |
Definition at line 50 of file util_math_fast.h.
References Freestyle::a, and Freestyle::c.
Referenced by fast_atan2f(), fast_atanf(), fast_cosf(), fast_erff(), fast_exp2f(), fast_expm1f(), fast_ierff(), fast_log2f(), fast_sincosf(), fast_sinf(), fast_sinhf(), and fast_tanf().
| ccl_device_inline float4 madd4 | ( | const float4 | a, |
| const float4 | b, | ||
| const float4 | c | ||
| ) |
Definition at line 61 of file util_math_fast.h.
References Freestyle::a, and Freestyle::c.