|
Blender V5.0
|
Go to the source code of this file.
Macros | |
| #define | __MATH_BITS_INLINE_C__ |
Functions | |
| MINLINE unsigned int | bitscan_forward_uint (unsigned int a) |
| MINLINE unsigned int | bitscan_forward_uint64 (unsigned long long a) |
| MINLINE int | bitscan_forward_i (int a) |
| MINLINE unsigned int | bitscan_forward_clear_uint (unsigned int *a) |
| MINLINE int | bitscan_forward_clear_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_i (int a) |
| MINLINE unsigned int | bitscan_reverse_clear_uint (unsigned int *a) |
| MINLINE int | bitscan_reverse_clear_i (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 i) |
| MINLINE int | count_bits_uint64 (const 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) |
| #define __MATH_BITS_INLINE_C__ |
Definition at line 10 of file math_bits_inline.cc.
| MINLINE int bitscan_forward_clear_i | ( | int * | a | ) |
Definition at line 55 of file math_bits_inline.cc.
References bitscan_forward_clear_uint(), and MINLINE.
Definition at line 48 of file math_bits_inline.cc.
References bitscan_forward_uint(), i, and MINLINE.
Referenced by bitscan_forward_clear_i(), DEG_stringify_recalc_flags(), and blender::deg::graph_id_tag_update().
| MINLINE int bitscan_forward_i | ( | int | a | ) |
Definition at line 43 of file math_bits_inline.cc.
References bitscan_forward_uint(), and MINLINE.
Referenced by blender::ed::transform::applyMirror(), BKE_subdiv_to_ccg(), and EDBM_selectmode_toggle_multi().
Definition at line 19 of file math_bits_inline.cc.
References BLI_assert, and MINLINE.
Referenced by bitscan_forward_clear_uint(), bitscan_forward_i(), and BLI_bitmap_find_first_unset().
Definition at line 31 of file math_bits_inline.cc.
References BLI_assert, and MINLINE.
Referenced by blender::bits::bits_to_index_ranges(), blender::bits::detail::foreach_1_index_expr(), and rna_def_property_boolean_sdna().
| MINLINE int bitscan_reverse_clear_i | ( | int * | a | ) |
Definition at line 96 of file math_bits_inline.cc.
References bitscan_reverse_clear_uint(), and MINLINE.
Definition at line 89 of file math_bits_inline.cc.
References bitscan_reverse_uint(), i, and MINLINE.
Referenced by bitscan_reverse_clear_i(), and TEST().
| MINLINE int bitscan_reverse_i | ( | int | a | ) |
Definition at line 84 of file math_bits_inline.cc.
References bitscan_reverse_uint(), and MINLINE.
Referenced by blf_batch_draw().
Definition at line 60 of file math_bits_inline.cc.
References BLI_assert, and MINLINE.
Referenced by bitscan_reverse_clear_uint(), bitscan_reverse_i(), and highest_order_bit_uint().
Definition at line 72 of file math_bits_inline.cc.
References BLI_assert, and MINLINE.
Definition at line 119 of file math_bits_inline.cc.
Referenced by blender::ed::transform::applyMirror(), blf_get_sample_text(), count_bits_uint64(), edbm_vert_connect_path_exec(), blender::eevee::DeferredLayer::material_add(), blender::eevee::DeferredProbePipeline::material_add(), blender::eevee::PlanarProbePipeline::material_add(), blender::eevee::DeferredLayerBase::normal_layer_count(), paint_proj_new_stroke(), TEST(), and blender::eevee::to_gbuffer_bin_count().
Definition at line 126 of file math_bits_inline.cc.
References count_bits_i(), and MINLINE.
Referenced by TEST().
Definition at line 132 of file math_bits_inline.cc.
Referenced by xor_fl().
Definition at line 142 of file math_bits_inline.cc.
Referenced by blender::draw::DebugDraw::draw_line(), blender::gpu::MTLRenderPipelineStateDescriptor::hash(), blender::ed::transform::initCurveShrinkFatten(), and object_mouse_select_menu().
Definition at line 109 of file math_bits_inline.cc.
References MINLINE.
Referenced by BM_mesh_uvselect_mode_flush_update(), and EDBM_selectmode_toggle_multi().
Definition at line 101 of file math_bits_inline.cc.
References bitscan_reverse_uint(), and MINLINE.
Definition at line 152 of file math_bits_inline.cc.
Referenced by xor_fl().
Definition at line 162 of file math_bits_inline.cc.
Referenced by blender::ed::transform::applyCurveShrinkFatten().
Definition at line 172 of file math_bits_inline.cc.
References float_as_int(), int_as_float(), MINLINE, x, and y.
Referenced by isect_ray_tri_watertight_v3().