Blender V4.3
BLI_math_inline.h File Reference

Go to the source code of this file.

Macros

#define BLI_MATH_DO_INLINE   1
#define MINLINE   static inline
#define MALWAYS_INLINE   static inline __attribute__((always_inline)) __attribute__((unused))

Macro Definition Documentation

◆ BLI_MATH_DO_INLINE

#define BLI_MATH_DO_INLINE   1

Definition at line 17 of file BLI_math_inline.h.

◆ MALWAYS_INLINE

◆ MINLINE

#define MINLINE   static inline

Definition at line 24 of file BLI_math_inline.h.

Referenced by abs_v2(), abs_v2_v2(), abs_v3(), abs_v3_v3(), abs_v4(), abs_v4_v4(), add_newell_cross_v3_v3v3(), add_v2_fl(), add_v2_v2(), add_v2_v2_db(), add_v2_v2_int(), add_v2_v2v2(), add_v2_v2v2_int(), add_v3_fl(), add_v3_uchar_clamped(), add_v3_v3(), add_v3_v3_db(), add_v3_v3v3(), add_v3fl_v3fl_v3i(), add_v4_fl(), add_v4_v4(), add_v4_v4v4(), area_squared_tri_v2(), area_tri_signed_v2(), area_tri_v2(), axis_dominant_v3(), axis_dominant_v3_max(), axis_dominant_v3_ortho_single(), axis_dominant_v3_single(), bitscan_forward_clear_i(), bitscan_forward_clear_uint(), bitscan_forward_i(), bitscan_forward_uint(), bitscan_forward_uint64(), bitscan_reverse_clear_i(), bitscan_reverse_clear_uint(), bitscan_reverse_i(), bitscan_reverse_uint(), bitscan_reverse_uint64(), blend_color_add_alpha_byte(), blend_color_add_alpha_float(), blend_color_add_byte(), blend_color_add_float(), blend_color_burn_byte(), blend_color_burn_float(), blend_color_color_byte(), blend_color_color_float(), blend_color_darken_byte(), blend_color_darken_float(), blend_color_difference_byte(), blend_color_difference_float(), blend_color_dodge_byte(), blend_color_dodge_float(), blend_color_erase_alpha_byte(), blend_color_erase_alpha_float(), blend_color_exclusion_byte(), blend_color_exclusion_float(), blend_color_hardlight_byte(), blend_color_hardlight_float(), blend_color_hue_byte(), blend_color_hue_float(), blend_color_interpolate_byte(), blend_color_interpolate_float(), blend_color_lighten_byte(), blend_color_lighten_float(), blend_color_linearburn_byte(), blend_color_linearburn_float(), blend_color_linearlight_byte(), blend_color_linearlight_float(), blend_color_luminosity_byte(), blend_color_luminosity_float(), blend_color_mix_byte(), blend_color_mix_float(), blend_color_mul_byte(), blend_color_mul_float(), blend_color_overlay_byte(), blend_color_overlay_float(), blend_color_pinlight_byte(), blend_color_pinlight_float(), blend_color_saturation_byte(), blend_color_saturation_float(), blend_color_screen_byte(), blend_color_screen_float(), blend_color_softlight_byte(), blend_color_softlight_float(), blend_color_sub_byte(), blend_color_sub_float(), blend_color_vividlight_byte(), blend_color_vividlight_float(), ceil_to_multiple_u(), ceil_to_multiple_ul(), clamp_f(), clamp_i(), clamp_v2(), clamp_v2_v2v2(), clamp_v3(), clamp_v3_v3v3(), clamp_v4(), clamp_v4_v4v4(), clamp_z(), compare_ff(), compare_ff_relative(), compare_len_v3v3(), compare_rgb_uchar(), compare_size_v3v3(), compare_threshold_relative(), compare_v2v2(), compare_v2v2_relative(), compare_v3v3(), compare_v3v3_relative(), compare_v4v4(), compare_v4v4_relative(), compatible_signf(), copy_v2_fl(), copy_v2_fl2(), copy_v2_uchar(), copy_v2_v2(), copy_v2_v2_char(), copy_v2_v2_db(), copy_v2_v2_int(), copy_v2_v2_short(), copy_v2_v2_uchar(), copy_v2db_v2fl(), copy_v2fl_v2db(), copy_v2fl_v2i(), copy_v3_fl(), copy_v3_fl3(), copy_v3_uchar(), copy_v3_v3(), copy_v3_v3_char(), copy_v3_v3_db(), copy_v3_v3_int(), copy_v3_v3_short(), copy_v3_v3_uchar(), copy_v3db_v3fl(), copy_v3fl_v3db(), copy_v3fl_v3s(), copy_v4_fl(), copy_v4_fl4(), copy_v4_uchar(), copy_v4_v4(), copy_v4_v4_char(), copy_v4_v4_db(), copy_v4_v4_int(), copy_v4_v4_short(), copy_v4_v4_uchar(), copy_v4db_v4fl(), copy_v4fl_v4db(), count_bits_i(), count_bits_uint64(), cpack_cpy_3ub(), cross_tri_v2(), cross_v2v2(), cross_v2v2_db(), cross_v3_v3v3(), cross_v3_v3v3_db(), cross_v3_v3v3_hi_prec(), cube_d(), cube_f(), cube_i(), cube_s(), cube_uchar(), cube_uint(), dither_random_value(), divide_ceil_u(), divide_ceil_ul(), divide_floor_i(), divide_round_i(), dot_m3_v3_row_x(), dot_m3_v3_row_y(), dot_m3_v3_row_z(), dot_m4_v3_row_x(), dot_m4_v3_row_y(), dot_m4_v3_row_z(), dot_v2v2(), dot_v2v2_db(), dot_v3db_v3fl(), dot_v3v3(), dot_v3v3_db(), dot_v3v3v3(), dot_v4v4(), equals_v2v2(), equals_v2v2_int(), equals_v3v3(), equals_v3v3_int(), equals_v4v4(), equals_v4v4_int(), float_as_int(), float_as_uint(), float_to_byte_dither_v3(), float_to_byte_dither_v4(), floored_fmod(), fractf(), ftochar(), highest_order_bit_s(), highest_order_bit_uint(), int_as_float(), integer_digits_d(), integer_digits_f(), integer_digits_i(), interp_weights_poly_v2(), interpd(), interpf(), invert_v2(), invert_v3(), invert_v3_safe(), is_one_v3(), is_power_of_2_i(), is_zero_v2(), is_zero_v2_db(), is_zero_v3(), is_zero_v3_db(), is_zero_v4(), is_zero_v4_db(), len_manhattan_v2(), len_manhattan_v2_int(), len_manhattan_v2v2(), len_manhattan_v2v2_int(), len_manhattan_v3(), len_manhattan_v3v3(), len_squared_v2(), len_squared_v2v2(), len_squared_v2v2_db(), len_squared_v3(), len_squared_v3_db(), len_squared_v3v3(), len_squared_v4v4(), len_v2(), len_v2_db(), len_v2v2(), len_v2v2_db(), len_v2v2_int(), len_v3(), len_v3_db(), len_v3v3(), len_v4(), len_v4v4(), line_point_side_v2(), linearrgb_to_srgb_predivide_v4(), linearrgb_to_srgb_uchar3(), linearrgb_to_srgb_uchar4(), linearrgb_to_srgb_ushort4(), linearrgb_to_srgb_v4(), log2_ceil_u(), log2_floor_u(), madd_v2_v2db_db(), madd_v2_v2fl(), madd_v2_v2v2fl(), madd_v3_v3fl(), madd_v3_v3v3(), madd_v3_v3v3db_db(), madd_v3_v3v3fl(), madd_v3_v3v3v3(), madd_v3fl_v3fl_v3fl_v3i(), madd_v4_v4fl(), madd_v4_v4v4(), blender::draw::make_patch_coord(), max_axis_v3(), max_cc(), max_dd(), max_ddd(), max_ff(), max_fff(), max_ffff(), max_ii(), max_iii(), max_iiii(), max_ulul(), max_uu(), max_zz(), min_axis(), min_axis_v3(), min_cc(), min_dd(), min_ddd(), min_ff(), min_fff(), min_ffff(), min_ii(), min_iii(), min_iiii(), min_ulul(), min_uu(), min_zz(), mod_i(), mul_project_m4_v3_zfac(), mul_v2_fl(), mul_v2_v2(), mul_v2_v2_ccw(), mul_v2_v2_cw(), mul_v2_v2fl(), mul_v2_v2v2(), mul_v3_fl(), mul_v3_v3(), mul_v3_v3db_db(), mul_v3_v3fl(), mul_v3_v3v3(), mul_v3db_db(), mul_v4_fl(), mul_v4_v4(), mul_v4_v4fl(), negate_v2(), negate_v2_v2(), negate_v3(), negate_v3_db(), negate_v3_short(), negate_v3_v3(), negate_v4(), negate_v4_v4(), normal_float_to_short_v2(), normal_float_to_short_v3(), normal_float_to_short_v4(), normal_short_to_float_v3(), normalize_v2(), normalize_v2_length(), normalize_v2_v2(), normalize_v2_v2_length(), normalize_v3(), normalize_v3_db(), normalize_v3_length(), normalize_v3_length_db(), normalize_v3_v3(), normalize_v3_v3_db(), normalize_v3_v3_length(), normalize_v3_v3_length_db(), pingpongf(), plane_point_side_v3(), poly_to_tri_count(), pow2f(), pow3f(), pow4f(), pow5f(), pow7f(), power_of_2(), power_of_2_max_i(), power_of_2_max_u(), power_of_2_min_i(), power_of_2_min_u(), premul_float_to_straight_uchar(), premul_to_straight_v4(), premul_to_straight_v4_v4(), premul_ushort_to_straight_uchar(), ratiod(), ratiof(), rgb_to_grayscale(), rgb_to_grayscale_byte(), rgba_float_args_set(), rgba_uchar_args_set(), rgba_uchar_args_test_set(), round_db_to_char(), round_db_to_char_clamp(), round_fl_to_char(), round_fl_to_char_clamp(), round_to_even(), round_v2i_v2fl(), safe_acosf(), safe_asinf(), safe_divide(), safe_floored_modf(), safe_inverse_sqrtf(), safe_logf(), safe_modf(), safe_powf(), safe_sqrtf(), scalenorm(), scalenormd(), shell_angle_to_dist(), shell_v2v2_mid_normalized_to_dist(), shell_v2v2_normalized_to_dist(), shell_v3v3_mid_normalized_to_dist(), shell_v3v3_normalized_to_dist(), signf(), signum_i(), signum_i_ex(), smoothminf(), smoothstep(), sqr_db(), sqrt3d(), sqrt3f(), sqrtf_signed(), square_d(), square_f(), square_i(), square_s(), square_uchar(), square_uint(), srgb_to_linearrgb_predivide_v4(), srgb_to_linearrgb_uchar4(), srgb_to_linearrgb_uchar4_predivide(), srgb_to_linearrgb_v4(), star_m3_v3(), straight_to_premul_v4(), straight_to_premul_v4_v4(), straight_uchar_to_premul_float(), straight_uchar_to_premul_ushort(), sub_v2_v2(), sub_v2_v2_db(), sub_v2_v2v2(), sub_v2_v2v2_db(), sub_v2_v2v2_int(), sub_v2db_v2fl_v2fl(), sub_v3_v3(), sub_v3_v3v3(), sub_v3_v3v3_db(), sub_v3_v3v3_int(), sub_v3db_v3fl_v3fl(), sub_v4_v4(), sub_v4_v4v4(), swap_v2_v2(), swap_v3_v3(), swap_v4_v4(), to_srgb_table_lookup(), uint_as_float(), ulp_diff_ff(), unit_float_to_short(), unit_float_to_uchar_clamp(), unit_float_to_ushort_clamp(), unit_short_to_float(), unit_ushort_to_uchar(), ushort_to_byte_dither_v4(), ushort_to_byte_v4(), wrapf(), xor_fl(), zero_v2(), zero_v2_int(), zero_v3(), zero_v3_db(), zero_v3_int(), and zero_v4().