|
Blender V5.3
|
#include "util/defines.h"#include "util/math_base.h"#include "util/math_float4.h"#include "util/math_int4.h"#include "util/types_base.h"#include "util/types_float4.h"#include "util/types_int4.h"#include "util/types_uint4.h"Go to the source code of this file.
Classes | |
| class | half |
| struct | packed_half3 |
| struct | half4 |
| ccl_device_inline packed_half3 fallback_float3_to_packed_half3 | ( | const float3 | f | ) |
Definition at line 191 of file half.h.
References ccl_device_inline, fallback_float3_to_packed_half3(), fallback_float4_to_half4(), make_float4, half4::x, half4::y, and half4::z.
Referenced by fallback_float3_to_packed_half3(), and TEST().
| ccl_device_inline half4 fallback_float4_to_half4 | ( | const float4 | f | ) |
Definition at line 156 of file half.h.
References __float4_as_int4(), __int4_as_float4(), ccl_device_inline, fabs(), fallback_float4_to_half4(), make_int4(), select, srl(), int4::w, int4::x, int4::y, and int4::z.
Referenced by fallback_float3_to_packed_half3(), fallback_float4_to_half4(), float3_to_packed_half3(), float4_to_half4(), and TEST().
| ccl_device_inline half fallback_float_to_half | ( | const float | f | ) |
Definition at line 122 of file half.h.
References __float_as_uint, __int_as_float, __uint_as_float, ccl_device_inline, and fallback_float_to_half().
Referenced by fallback_float_to_half(), float_to_half(), and TEST().
| ccl_device_inline float4 fallback_half4_to_float4 | ( | const half4 | h | ) |
Definition at line 98 of file half.h.
References cast(), ccl_device_inline, fallback_half4_to_float4(), make_int4(), select, half4::w, half4::x, half4::y, and half4::z.
Referenced by fallback_half4_to_float4(), fallback_packed_half3_to_float3(), half4_to_float4(), packed_half3_to_float3(), TEST(), and TEST().
| ccl_device_inline float fallback_half_to_float | ( | const half | h | ) |
Definition at line 81 of file half.h.
References __float_as_uint, __int_as_float, ccl_device_inline, and fallback_half_to_float().
Referenced by fallback_half_to_float(), half_to_float(), TEST(), and TEST().
| ccl_device_inline float3 fallback_packed_half3_to_float3 | ( | const packed_half3 | h | ) |
Definition at line 117 of file half.h.
References ccl_device_inline, fallback_half4_to_float4(), fallback_packed_half3_to_float3(), make_float3(), packed_half3::x, packed_half3::y, and packed_half3::z.
Referenced by fallback_packed_half3_to_float3(), and TEST().
| ccl_device_inline packed_half3 float3_to_packed_half3 | ( | const float3 | f | ) |
Definition at line 279 of file half.h.
References ccl_device_inline, fallback_float4_to_half4(), float3_to_packed_half3(), float_to_half(), make_float4, float3::x, float3::y, and float3::z.
Referenced by float3_to_packed_half3(), SpectrumCompressedOnGPU::operator=(), SpectrumCompressedOnGPU::SpectrumCompressedOnGPU(), and TEST().
| ccl_device_inline half4 float4_to_half4 | ( | const float4 | f | ) |
Definition at line 233 of file half.h.
References __float2half, ccl_device_inline, fallback_float4_to_half4(), float4_to_half4(), float4::w, float4::x, float4::y, and float4::z.
Referenced by float4_to_half4(), float4_to_half4_display(), and TEST().
| ccl_device_inline half4 float4_to_half4_display | ( | const float4 | f | ) |
Definition at line 337 of file half.h.
References ccl_device_inline, clamp(), float4_to_half4(), float4_to_half4_display(), and make_float4.
Referenced by float4_to_half4_display(), and load_half_pixels().
| ccl_device_inline half float_to_half | ( | const float | f | ) |
Definition at line 218 of file half.h.
References __float2half, ccl_device_inline, fallback_float_to_half(), and float_to_half().
Referenced by float3_to_packed_half3(), float_to_half(), float_to_half_display(), float_to_half_image(), FloatCompressedOnGPU::FloatCompressedOnGPU(), FloatCompressedOnGPU::operator=(), and TEST().
| ccl_device_inline half float_to_half_display | ( | const float | f | ) |
Definition at line 332 of file half.h.
References ccl_device_inline, clamp(), float_to_half(), and float_to_half_display().
Referenced by float_to_half_display(), and PassAccessorCPU::PassAccessor().
| ccl_device_inline half float_to_half_image | ( | const float | f | ) |
Definition at line 316 of file half.h.
References ccl_device_inline, clamp(), float_to_half(), and float_to_half_image().
Referenced by float_to_half_image(), load_half_pixels(), util_image_cast_from_float(), and util_image_multiply_native().
| ccl_device_inline float4 half4_to_float4 | ( | const half4 | h | ) |
Definition at line 257 of file half.h.
References __half2float(), ccl_device_inline, fallback_half4_to_float4(), float, half4_to_float4(), half4::w, float4::x, half4::x, half4::y, and half4::z.
Referenced by half4_to_float4(), half4_to_float4_image(), TEST(), and TEST().
| ccl_device_inline float4 half4_to_float4_image | ( | const half4 | h | ) |
Definition at line 326 of file half.h.
References ccl_device_inline, half4_to_float4(), and half4_to_float4_image().
Referenced by half4_to_float4_image(), and CCL_NAMESPACE_BEGIN::ImageInterpolator< TexT, OutT >::read().
| ccl_device_inline float half_is_finite | ( | const half | h | ) |
Definition at line 343 of file half.h.
References ccl_device_inline, and half_is_finite().
Referenced by half_is_finite(), and util_image_is_finite().
| ccl_device_inline float half_to_float | ( | half | h | ) |
Definition at line 198 of file half.h.
References __half2float(), ccl_device_inline, fallback_half_to_float(), float, and half_to_float().
Referenced by half_to_float(), half_to_float_image(), FloatCompressedOnGPU::operator float(), packed_half3_to_float3(), TEST(), and TEST().
| ccl_device_inline float half_to_float_image | ( | half | h | ) |
Definition at line 321 of file half.h.
References ccl_device_inline, half_to_float(), and half_to_float_image().
Referenced by half_to_float_image(), CCL_NAMESPACE_BEGIN::ImageInterpolator< TexT, OutT >::read(), util_image_cast_to_float(), and util_image_multiply_native().
| ccl_device_inline float3 packed_half3_to_float3 | ( | const packed_half3 | h | ) |
Definition at line 298 of file half.h.
References ccl_device_inline, fallback_half4_to_float4(), half_to_float(), make_float3(), packed_half3_to_float3(), packed_half3::x, packed_half3::y, and packed_half3::z.
Referenced by SpectrumCompressedOnGPU::operator Spectrum(), packed_half3_to_float3(), and TEST().