Blender
V3.3
|
Go to the source code of this file.
Classes | |
class | half |
struct | half4 |
Functions | |
ccl_device_inline half | float_to_half_image (float f) |
ccl_device_inline float | half_to_float_image (half h) |
ccl_device_inline float4 | half4_to_float4_image (const half4 h) |
ccl_device_inline half | float_to_half_display (const float f) |
ccl_device_inline half4 | float4_to_half4_display (const float4 f) |
ccl_device_inline half4 float4_to_half4_display | ( | const float4 | f | ) |
Definition at line 155 of file half.h.
References absolute(), Freestyle::Cast::cast(), float_to_half_display(), max, min, result, x, and Z.
ccl_device_inline half float_to_half_display | ( | const float | f | ) |
Definition at line 139 of file half.h.
References __float2half, __float_as_int(), absolute(), min, result, x, and Z.
Referenced by float4_to_half4_display().
ccl_device_inline half float_to_half_image | ( | float | f | ) |
Definition at line 74 of file half.h.
References __float2half, __float_as_uint(), and min.
Referenced by BlenderImageLoader::load_pixels(), and util_image_multiply_native().
ccl_device_inline float4 half4_to_float4_image | ( | const half4 | h | ) |
Definition at line 116 of file half.h.
References half_to_float_image(), make_float4, half4::w, half4::x, x, half4::y, and half4::z.
Referenced by CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::read().
ccl_device_inline float half_to_float_image | ( | half | h | ) |
Definition at line 102 of file half.h.
References __half2float(), __int_as_float(), float(), and x.
Referenced by half4_to_float4_image(), CCL_NAMESPACE_BEGIN::TextureInterpolator< TexT, OutT >::read(), util_image_cast_to_float(), and util_image_multiply_native().