|
Blender V5.0
|
Go to the source code of this file.
Macros | |
| #define | ROTL32(x, y) |
| #define | BIG_CONSTANT(x) |
Functions | |
| ccl_device_inline uint32_t | rotl32 (const uint32_t x, int8_t r) |
| CCL_NAMESPACE_BEGIN ccl_device_inline uint32_t | mm_hash_getblock32 (const uint32_t *p, const int i) |
| ccl_device_inline uint32_t | mm_hash_fmix32 (uint32_t h) |
| uint32_t | util_murmur_hash3 (const void *key, const int len, const uint32_t seed) |
| float | util_hash_to_float (const uint32_t hash) |
| #define BIG_CONSTANT | ( | x | ) |
Definition at line 27 of file murmurhash.cpp.
| ccl_device_inline uint32_t mm_hash_fmix32 | ( | uint32_t | h | ) |
Definition at line 40 of file murmurhash.cpp.
References ccl_device_inline.
Referenced by util_murmur_hash3().
| CCL_NAMESPACE_BEGIN ccl_device_inline uint32_t mm_hash_getblock32 | ( | const uint32_t * | p, |
| const int | i ) |
Definition at line 34 of file murmurhash.cpp.
References ccl_device_inline, and i.
Referenced by util_murmur_hash3().
| ccl_device_inline uint32_t rotl32 | ( | const uint32_t | x, |
| int8_t | r ) |
Definition at line 22 of file murmurhash.cpp.
References ccl_device_inline, and x.
| float util_hash_to_float | ( | const uint32_t | hash | ) |
Definition at line 102 of file murmurhash.cpp.
References hash, max, min, and sign().
Referenced by ShaderManager::device_update_common(), and ObjectManager::device_update_object_transform().
| uint32_t util_murmur_hash3 | ( | const void * | key, |
| const int | len, | ||
| const uint32_t | seed ) |
Definition at line 50 of file murmurhash.cpp.
References ATTR_FALLTHROUGH, data, i, len, mm_hash_fmix32(), mm_hash_getblock32(), ROTL32, and seed.
Referenced by add_cryptomatte_layer(), ShaderManager::device_update_common(), ObjectManager::device_update_object_transform(), ObjectManager::get_cryptomatte_assets(), ShaderManager::get_cryptomatte_materials(), and ObjectManager::get_cryptomatte_objects().