|
Blender V5.3
|
#include "util/defines.h"#include "util/math_float3.h"#include "util/types_base.h"#include "util/types_float3.h"#include <cstring>Go to the source code of this file.
Classes | |
| struct | PackedSphericalHarmonicsRest |
| ccl_device_forceinline uint8_t quantize_spherical_harmonics | ( | const float | value | ) |
Definition at line 52 of file types_spherical_harmonics.h.
References ccl_device_forceinline, float_to_byte(), quantize_spherical_harmonics(), and saturatef.
Referenced by quantize_spherical_harmonics(), spherical_harmonics_rest_fill_zero(), and spherical_harmonics_rest_set_coefficient().
| ccl_device_inline float3 spherical_harmonics_get | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
References ccl_device_inline, ccl_global, and spherical_harmonics_get().
Referenced by spherical_harmonics_evaluate_rest(), spherical_harmonics_get(), spherical_harmonics_get< 1, -1 >(), spherical_harmonics_get< 1, 0 >(), spherical_harmonics_get< 1, 1 >(), spherical_harmonics_get< 2, -1 >(), spherical_harmonics_get< 2, -2 >(), spherical_harmonics_get< 2, 0 >(), spherical_harmonics_get< 2, 1 >(), spherical_harmonics_get< 2, 2 >(), spherical_harmonics_get< 3, -1 >(), spherical_harmonics_get< 3, -2 >(), spherical_harmonics_get< 3, -3 >(), spherical_harmonics_get< 3, 0 >(), spherical_harmonics_get< 3, 1 >(), spherical_harmonics_get< 3, 2 >(), and spherical_harmonics_get< 3, 3 >().
| ccl_device_template_spec float3 spherical_harmonics_get< 1, -1 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 115 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 1, 0 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 120 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 1, 1 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 125 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 2, -1 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 137 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 2, -2 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 132 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 2, 0 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 142 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 2, 1 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 147 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 2, 2 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 152 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 3, -1 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 169 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 3, -2 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 164 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 3, -3 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 159 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 3, 0 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 174 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 3, 1 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 179 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 3, 2 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 184 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_template_spec float3 spherical_harmonics_get< 3, 3 > | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 189 of file types_spherical_harmonics.h.
References ccl_device_template_spec, ccl_global, spherical_harmonics_get(), and spherical_harmonics_rest_get_coefficient().
| ccl_device_forceinline void spherical_harmonics_rest_fill_zero | ( | ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest | ) |
Definition at line 64 of file types_spherical_harmonics.h.
References ccl_device_forceinline, ccl_global, PackedSphericalHarmonicsRest::MAX_COEFFICIENTS, quantize_spherical_harmonics(), and spherical_harmonics_rest_fill_zero().
Referenced by export_pointcloud_gsplat_attributes(), spherical_harmonics_rest_fill_zero(), TEST_F(), and Attribute::zero_data().
| ccl_device_forceinline float3 spherical_harmonics_rest_get_coefficient | ( | const ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest, |
| const int | index ) |
Definition at line 96 of file types_spherical_harmonics.h.
References ccl_device_forceinline, ccl_global, index, make_float3(), PackedSphericalHarmonicsRest::MAX_COEFFICIENTS, spherical_harmonics_rest_get_coefficient(), unquantize_spherical_harmonics(), and util_assert.
Referenced by spherical_harmonics_get< 1, -1 >(), spherical_harmonics_get< 1, 0 >(), spherical_harmonics_get< 1, 1 >(), spherical_harmonics_get< 2, -1 >(), spherical_harmonics_get< 2, -2 >(), spherical_harmonics_get< 2, 0 >(), spherical_harmonics_get< 2, 1 >(), spherical_harmonics_get< 2, 2 >(), spherical_harmonics_get< 3, -1 >(), spherical_harmonics_get< 3, -2 >(), spherical_harmonics_get< 3, -3 >(), spherical_harmonics_get< 3, 0 >(), spherical_harmonics_get< 3, 1 >(), spherical_harmonics_get< 3, 2 >(), spherical_harmonics_get< 3, 3 >(), spherical_harmonics_rest_get_coefficient(), and TEST_F().
| ccl_device_forceinline void spherical_harmonics_rest_set_coefficient | ( | ccl_global PackedSphericalHarmonicsRest & | packed_spherical_harmonics_rest, |
| const int | index, | ||
| const float3 | value ) |
Definition at line 82 of file types_spherical_harmonics.h.
References ccl_device_forceinline, ccl_global, index, PackedSphericalHarmonicsRest::MAX_COEFFICIENTS, quantize_spherical_harmonics(), spherical_harmonics_rest_set_coefficient(), util_assert, float3::x, float3::y, and float3::z.
Referenced by export_pointcloud_gsplat_attributes(), spherical_harmonics_rest_set_coefficient(), and TEST_F().
| ccl_device_forceinline float unquantize_spherical_harmonics | ( | const uint8_t | value | ) |
Definition at line 58 of file types_spherical_harmonics.h.
References byte_to_float(), ccl_device_forceinline, and unquantize_spherical_harmonics().
Referenced by spherical_harmonics_rest_get_coefficient(), and unquantize_spherical_harmonics().