|
Blender
V2.93
|
Go to the source code of this file.
Classes | |
| class | half |
| struct | half4 |
Functions | |
| ccl_device_inline void | float4_store_half (half *h, float4 f, float scale) |
| ccl_device_inline float | half_to_float (half h) |
| ccl_device_inline float4 | half4_to_float4 (half4 h) |
| ccl_device_inline half | float_to_half (float f) |
| ccl_device_inline void float4_store_half | ( | half * | h, |
| float4 | f, | ||
| float | scale | ||
| ) |
Definition at line 80 of file util_half.h.
References absolute(), Freestyle::Cast::cast(), max, min, result, x, and Z.
Referenced by kernel_film_convert_to_half_float().
| ccl_device_inline half float_to_half | ( | float | f | ) |
Definition at line 141 of file util_half.h.
References __float_as_uint().
| ccl_device_inline float4 half4_to_float4 | ( | half4 | h | ) |
Definition at line 129 of file util_half.h.
References half_to_float(), half4::w, half4::x, half4::y, and half4::z.
Referenced by CCL_NAMESPACE_BEGIN::TextureInterpolator< T >::read().
| ccl_device_inline float half_to_float | ( | half | h | ) |
Definition at line 120 of file util_half.h.
Referenced by half4_to_float4(), CCL_NAMESPACE_BEGIN::TextureInterpolator< T >::read(), and util_image_cast_to_float().