|
Blender V4.3
|
#include "BLI_build_config.h"#include "BLI_math_inline.h"#include "BLI_utildefines.h"#include "intern/math_bits_inline.c"Go to the source code of this file.
Functions | |
| MINLINE int | bitscan_forward_i (int a) |
| MINLINE unsigned int | bitscan_forward_uint (unsigned int a) |
| MINLINE unsigned int | bitscan_forward_uint64 (unsigned long long a) |
| MINLINE int | bitscan_forward_clear_i (int *a) |
| MINLINE unsigned int | bitscan_forward_clear_uint (unsigned int *a) |
| MINLINE int | bitscan_reverse_i (int a) |
| MINLINE unsigned int | bitscan_reverse_uint (unsigned int a) |
| MINLINE unsigned int | bitscan_reverse_uint64 (unsigned long long a) |
| MINLINE int | bitscan_reverse_clear_i (int *a) |
| MINLINE unsigned int | bitscan_reverse_clear_uint (unsigned int *a) |
| MINLINE unsigned int | highest_order_bit_uint (unsigned int n) |
| MINLINE unsigned short | highest_order_bit_s (unsigned short n) |
| MINLINE int | count_bits_i (unsigned int n) |
| MINLINE int | count_bits_uint64 (uint64_t a) |
| MINLINE int | float_as_int (float f) |
| MINLINE unsigned int | float_as_uint (float f) |
| MINLINE float | int_as_float (int i) |
| MINLINE float | uint_as_float (unsigned int i) |
| MINLINE float | xor_fl (float x, int y) |
Definition at line 54 of file math_bits_inline.c.
References bitscan_forward_clear_uint().
Definition at line 47 of file math_bits_inline.c.
References bitscan_forward_uint().
Referenced by bitscan_forward_clear_i(), and blender::deg::graph_id_tag_update().
Definition at line 42 of file math_bits_inline.c.
References bitscan_forward_uint().
Referenced by applyMirror(), and BKE_subdiv_to_ccg().
Definition at line 18 of file math_bits_inline.c.
References BLI_assert.
Referenced by bitscan_forward_clear_uint(), bitscan_forward_i(), BLI_bitmap_find_first_unset(), and DRW_view_update().
Definition at line 30 of file math_bits_inline.c.
References BLI_assert.
Referenced by blender::bits::bits_to_index_ranges(), and blender::bits::detail::foreach_1_index_expr().
Definition at line 95 of file math_bits_inline.c.
References bitscan_reverse_clear_uint().
Definition at line 88 of file math_bits_inline.c.
References bitscan_reverse_uint().
Referenced by bitscan_reverse_clear_i(), and TEST().
Definition at line 83 of file math_bits_inline.c.
References bitscan_reverse_uint().
Referenced by blf_batch_draw().
Definition at line 59 of file math_bits_inline.c.
References BLI_assert.
Referenced by bitscan_reverse_clear_uint(), bitscan_reverse_i(), and highest_order_bit_uint().
Definition at line 71 of file math_bits_inline.c.
References BLI_assert.
Definition at line 118 of file math_bits_inline.c.
Referenced by applyMirror(), blf_get_sample_text(), blender::eevee::DeferredLayerBase::closure_layer_count(), count_bits_uint64(), blender::eevee::DeferredLayer::material_add(), blender::eevee::DeferredProbePipeline::material_add(), blender::eevee::PlanarProbePipeline::material_add(), blender::eevee::ShaderModule::material_create_info_amend(), blender::eevee::DeferredLayerBase::normal_layer_count(), paint_proj_new_stroke(), and TEST().
Definition at line 131 of file math_bits_inline.c.
References v.
Referenced by _bli_math_fastpow(), isect_ray_tri_watertight_v3(), and xor_fl().
Definition at line 141 of file math_bits_inline.c.
Referenced by initCurveShrinkFatten(), and object_mouse_select_menu().
| MINLINE unsigned short highest_order_bit_s | ( | unsigned short | n | ) |
Definition at line 108 of file math_bits_inline.c.
Referenced by EDBM_selectmode_toggle_multi().
Definition at line 100 of file math_bits_inline.c.
References bitscan_reverse_uint(), and int.
Definition at line 151 of file math_bits_inline.c.
Referenced by blender::eevee::ShadowPunctual::end_sync(), render_result_from_bake(), and xor_fl().
Definition at line 161 of file math_bits_inline.c.
Referenced by applyCurveShrinkFatten().
Definition at line 171 of file math_bits_inline.c.
References float_as_int(), and int_as_float().
Referenced by isect_ray_tri_watertight_v3().