#include "xbrz.hpp"
#include "config.hpp"
#include <cassert>
#include <cmath>
#include <algorithm>
#include "utils/functional.hpp"
Go to the source code of this file.
Macros | |
#define | FORCE_INLINE inline |
#define | DEF_GETTER(x) template <RotationDegree rotDeg> uint32_t inline get_##x(const Kernel_3x3& ker) { return ker.x; } |
#define | DEF_GETTER(x, y) template <> inline uint32_t get_##x<ROT_90>(const Kernel_3x3& ker) { return ker.y; } |
#define | DEF_GETTER(x, y) template <> inline uint32_t get_##x<ROT_180>(const Kernel_3x3& ker) { return ker.y; } |
#define | DEF_GETTER(x, y) template <> inline uint32_t get_##x<ROT_270>(const Kernel_3x3& ker) { return ker.y; } |
#define | a get_a<rotDeg>(ker) |
#define | b get_b<rotDeg>(ker) |
#define | c get_c<rotDeg>(ker) |
#define | d get_d<rotDeg>(ker) |
#define | e get_e<rotDeg>(ker) |
#define | f get_f<rotDeg>(ker) |
#define | g get_g<rotDeg>(ker) |
#define | h get_h<rotDeg>(ker) |
#define | i get_i<rotDeg>(ker) |
Enumerations | |
enum | RotationDegree |
enum | BlendType |
Definition at line 12743 of file glew.h.
Referenced by terrain_builder::add_constraints(), ai::lua_goal::add_targets(), BOOST_AUTO_TEST_CASE(), cave_map_generator::cave_map_generator_job::cave_map_generator_job(), ai::config_value_translator< terrain_filter >::cfg_to_value(), tokenizer::char_type(), characterization_distance_direction(), config::clear(), config::clear_children(), mp::chat::color_message(), help::convert_to_wml(), events::menu_handler::custom_command(), default_map_generator_job::default_generate_map(), font::escape_text(), gui2::tgame_load::evaluate_summary_string(), ai::find_component(), find_ref(), buffered_istream::get(), replay::get_data_range(), replay::get_last_real_command(), get_noise(), gamemap::get_terrain(), getcached(), GPU_GetPixel(), GPU_MakeColor(), GPU_Multiply4x4(), GPU_Rotate(), GPU_SetColor(), GPU_SetRGB(), GPU_SetRGBA(), GPU_SetTargetRGB(), GPU_SetTargetRGBA(), gui2::team_mode_controller::handle_stuff_list_selection(), campaignd::server::handle_upload(), config::hash(), intf_debug_ai(), theme::label::label(), llex(), ai_testing::log_turn(), luaF_newCclosure(), luaF_newLclosure(), luaL_loadfilex(), luaV_arith(), main(), MakeCurrent(), preferences::manager::manager(), markov_generate_name(), palette(), help::parse_text(), gui2::tformula_debugger::pre_show(), ai::component_manager::print_component_tree(), preprocessor_data::put(), rank_castle_location(), preprocessor_data::read_line(), preprocessor_data::read_rest_of_line(), read_string(), preprocessor_data::read_word(), events::map_command_handler< chat_command_handler >::register_command(), ai::typesafe_known_aspect< T >::set(), font::ttext::set_markup_helper(), team::set_objectives_changed(), editor::editor_map::set_starting_position_labels(), mp::options::manager::set_values(), events::menu_handler::show_chat_log(), skipBOM(), theme::status_item::status_item(), string2rgb(), t_translation::string_to_layer_(), attack_type::to_config(), tokenizer::tokenizer(), MD5::transform(), replay::undo_cut(), utils::urlencode(), and ai::variant_value_translator< terrain_filter >::variant_to_value().
#define d get_d<rotDeg>(ker) |
Referenced by statistics_dialog::action(), BOOST_AUTO_TEST_CASE(), preprocessor_data::get_chunk(), display::get_terrain_images(), font::ttext::get_token(), getfield(), lua_common::impl_gettext(), lua_rng::impl_rng_destroy(), lua_cpp::intf_cleanup(), lua_map_location::intf_get_direction(), lua_map_location::intf_parse_direction(), lua_cpp::intf_tostring(), lua_map_location::intf_write_direction(), lua_round3(), luaL_checkinteger(), luaL_checknumber(), luaL_checkunsigned(), preferences::manager::manager(), math_max(), math_min(), config::attribute_value::string_visitor::operator()(), config::attribute_value::operator=(), gui2::tformula_debugger::pre_show(), gui2::tcampaign_difficulty::pre_show(), image::precache_file_existence_internal(), game_config::config_cache::read_cache(), read_number(), ng::create_engine::select_campaign_difficulty(), gui::show_dialog(), dialogs::show_file_chooser_dialog(), dialogs::show_file_chooser_dialog_save(), simple_wml::document::stats(), submerge_alpha(), gui2::implementation::tbuilder_multi_page::tbuilder_multi_page(), MD5::transform(), unarchive_dir(), unit_animation::unit_animation(), editor::mouse_action_map_label::up_left(), vadd(), vdup_n(), vld(), vmul(), and vshr().
#define DEF_GETTER | ( | x | ) | template <RotationDegree rotDeg> uint32_t inline get_##x(const Kernel_3x3& ker) { return ker.x; } |
#define e get_e<rotDeg>(ker) |
Referenced by ai::lua_goal::add_targets(), editor::context_manager::apply_mask_dialog(), assignment(), wesnothd::async_send_doc(), wesnothd::ban_manager::ban(), wesnothd::server::bans_handler(), preferences::base_manager::base_manager(), BOOST_AUTO_TEST_CASE(), play_controller::check_time_over(), char_block_map::compress(), lua_map_generator::create_map(), editor::context_manager::create_mask_to_dialog(), ai::formula_ai::create_optional_formula(), lua_map_generator::create_scenario(), savegame::save_index_class::data(), decode(), do_gameloop(), do_interpolation(), ai::stage_unit_formulas::do_play_stage(), ai::stage_side_formulas::do_play_stage(), editor::editor_controller::do_screenshot(), wesnothd::server::dul_handler(), unit_abilities::effect::effect(), encode(), sp::enter_create_mode(), ai::formula_ai::evaluate(), game_logic::move_candidate_action::evaluate(), game_logic::attack_candidate_action::evaluate(), gui2::tlua_interpreter::lua_model::execute(), game_logic::base_candidate_action::execute_formula(), exp1(), savegame::savegame::finish_save_game(), forlist(), editor::editor_map::from_string(), game_info::game_info(), help::generate_contents(), editor::context_manager::generate_map_dialog(), get_addon_install_info(), get_addon_pbl_info(), mp::options::manager::get_component_cfg(), gui2::tminimap::get_image(), ai::register_engine_factory< ENGINE >::get_new_instance(), gmatch_aux(), GPU_PopErrorCode(), gui::scrollbar::handle_event(), wesnothd::server::handle_login(), wesnothd::server::handle_nickserv(), wesnothd::server::handle_player_in_game(), handle_preprocess_command(), ng::create_engine::init_all_levels(), ng::create_engine::init_generated_level_data(), game_launcher::init_lua_script(), basic_unit_filter_impl::internal_matches_filter(), game_launcher::launch_game(), wesnothd::ban_manager::list_bans(), wesnothd::ban_manager::list_deleted_bans(), ai::formula_ai::load_candidate_action_from_config(), font::load_font_config(), game_launcher::load_game(), game_config_manager::load_game_config(), image::load_image_sub_file(), editor::context_manager::load_map(), editor::map_context::load_scenario(), gui2::load_settings(), localstat(), lua_strx2number(), luaB_tonumber(), luaK_storevar(), luaL_findtable(), luaO_fb2int(), luaO_int2fb(), luaO_pushvfstring(), luaS_newudata(), luaW_pcall(), main(), editor::editor_controller::main_loop(), ng::depcheck::MAKE_ENUM(), editor::map_context::map_context(), side_filter::match_internal(), terrain_filter::match_internal(), matchbalance(), matches_simple_filter(), math_frexp(), gui2::tlobby_main::network_handler(), ai::formula_ai::on_create(), playsingle_controller::on_replay_end(), savegame::savegame::open_save_game(), wesnothd::handle_receive_doc< Handler, ErrorHandler >::operator()(), filesystem::ostream_file(), simple_wml::document::output(), wesnothd::ban_manager::parse_time(), campaign_controller::play_game(), game_launcher::play_multiplayer(), game_launcher::play_render_image_mode(), game_launcher::play_replay(), playsingle_controller::play_scenario(), mp::gamebrowser::populate_game_item_map_info(), wesnothd::server::process_command(), lobby_info::process_gamelist_diff(), mp::ui::process_network_data(), actions::undo_list::read(), gamemap::read(), wesnothd::ban_manager::read(), game_config::config_cache::read_cache(), wesnothd::server::read_config(), schema_validation::schema_validator::read_config_file(), savegame::read_save_file(), network::receive_data(), display::refresh_report(), retstat(), lua_kernel_base::run(), wesnothd::server::run(), campaignd::server::run(), savegame::savegame::save_game(), events::menu_handler::save_map(), editor::map_context::save_map(), wesnothd::game::save_replay(), editor::map_context::save_scenario(), scale_surface(), gui2::tlua_interpreter::input_model::search(), wesnothd::game::send_history(), wesnothd::server::send_password_request(), help::help_text_area::set_items(), ng::scenario::set_metadata(), help::show_help(), editor::start(), str_gsub(), SYNCED_COMMAND_HANDLER_FUNCTION(), gui2::tgame_version::tgame_version(), tinsert(), ai::readonly_context_impl::to_readonly_context_config(), wesnothd::ban_manager::unban(), unit::unit(), game_launcher::unit_test(), unpack(), lua_map_generator::user_config(), game_events::WML_HANDLER_FUNCTION(), editor::context_manager::write_map(), savegame::save_index_class::write_save_index(), editor::context_manager::write_scenario(), halo::halo_record::~halo_record(), save_blocker::~save_blocker(), and unit::~unit().
Definition at line 12730 of file glew.h.
Referenced by adjust_surface_alpha(), adjust_surface_alpha_add(), adjust_surface_color(), lobby_info::apply_game_filter(), Blit(), BlitTransformX(), brighten_image(), unit_type::build_help_index(), closegoto(), create_cursor(), display::drawing_buffer_key::drawing_buffer_key(), ai::ai_default_rca::goto_phase::evaluate(), findlabel(), getPixel(), gotostat(), GPU_BlitBatch(), GPU_BlitBatchSeparate(), GPU_MakeColor(), GPU_SetRGB(), GPU_SetRGBA(), GPU_SetTargetRGB(), GPU_SetTargetRGBA(), greyscale_image(), instanciate_idiv(), theme::label::label(), light_surface(), lua_gc(), lua_newstate(), mask_surface(), monochrome_image(), negative_image(), help::topic_text::operator=(), gui2::taddon_uninstall_list::post_show(), preinit_state(), reports::register_generator(), scale_surface_sharp(), sepia_image(), image::set_color_adjustment(), theme::status_item::status_item(), submerge_alpha(), gui2::teditor_edit_label::teditor_edit_label(), test_add(), test_assign(), test_divide(), test_divide_range_optimizations(), test_equal_to(), test_greater_than(), test_greater_than_equal_to(), test_less_than(), test_less_than_equal_to(), test_multiply(), test_not_equal_to(), test_subtract(), test_to_double(), test_unary(), and gui2::tlobby_main::user_dialog_callback().
#define h get_h<rotDeg>(ker) |
Referenced by Blit(), BlitRotate(), BlitScale(), BlitTransform(), BlitTransformX(), wb::move::calculate_new_route(), game_lua_kernel::cfun_wml_action(), CopyImage(), create(), sdl::create_rect(), CreateImage(), createstrobj(), CreateUninitializedImage(), footsteps_images(), ai::formula_ai::get_keeps(), terrain_filter::get_locations(), editor::location_palette::handler_members(), gui::scrollarea::handler_members(), mp::wait::leader_preview_pane::handler_members(), editor::editor_palette< Item >::handler_members(), gui::scrollbar::handler_members(), gui::dialog_image::handler_members(), dialogs::unit_preview_pane::handler_members(), gui::dialog_textbox::handler_members(), hash_str(), hash_value(), if(), sdl::intersect_rects(), gui::dialog_frame::layout(), luaS_hash(), luaS_resize(), luaV_execute(), modify(), open_connection(), terrain_builder::reload_map(), editor::context_manager::resize_map_dialog(), rgb2highlight(), rgb2highlight_pango(), scale_surface(), scale_surface_nn(), scale_surface_sharp(), gui::scrollarea::set_full_size(), gui::scrollbar::set_full_size(), font::floating_label::set_height(), gui::scrollarea::set_shown_size(), gui::scrollbar::set_shown_size(), SetClip(), SetVirtualResolution(), ai::formula_ai::shortest_path_calculator(), stretch_surface_vertical(), tile_surface(), and ToggleFullscreen().
#define i get_i<rotDeg>(ker) |
enum RotationDegree |