Home
last modified time | relevance | path

Searched refs:scale_map (Results 1 – 23 of 23) sorted by relevance

/dports/games/widelands/widelands-build21/src/graphic/
H A Dminimap_renderer.cc92 const float multiplier = scale_map(map, zoom); in draw_view_window()
108 Vector2i(origin.x / kTriangleWidth, origin.y / kTriangleHeight) * scale_map(map, zoom); in draw_view_window()
113 const int width = map.get_width() * scale_map(map, zoom); in draw_view_window()
114 const int height = map.get_height() * scale_map(map, zoom); in draw_view_window()
164 Widelands::Coords(top_left.x + x / scale_map(map, layers & MiniMapLayer::Zoom2), in do_draw_minimap()
165 top_left.y + y / scale_map(map, layers & MiniMapLayer::Zoom2))); in do_draw_minimap()
216 const float multiplier = scale_map(map, zoom); in minimap_pixel_to_mappixel()
232 const int16_t map_w = map.get_width() * scale_map(map, layers & MiniMapLayer::Zoom2); in draw_minimap()
233 const int16_t map_h = map.get_height() * scale_map(map, layers & MiniMapLayer::Zoom2); in draw_minimap()
258 int scale_map(const Widelands::Map& map, bool zoom) { in scale_map() function
H A Dminimap_renderer.h82 int scale_map(const Widelands::Map& map, bool zoom);
/dports/emulators/fs-uae-launcher/fs-uae-launcher-3.0.5/amitools/util/
H A DByteSize.py6 scale_map = { variable
58 if scale in scale_map.keys():
59 factor = unit ** scale_map[scale]
/dports/games/widelands/widelands-build21/src/wui/
H A Dminimap.cc76 set_size(map.get_width() * scale_map(map, zoom), map.get_height() * scale_map(map, zoom)); in set_zoom()
82 if (scale_map(map, true) == 1 || map.get_height() * scale_map(map, true) > ibase_.get_h() - 60) { in can_zoom()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/xfeatures2d/src/
H A Ddaisy.cpp1251 scale_map = _scale_map; in MaxDoGInvoker()
1262 scale_map->at<float>(r,c) = (float) i; in operator ()()
1268 Mat* scale_map; member
1277 scale_map = _scale_map; in RoundingInvoker()
1284 scale_map->at<float>(r,c) = (float) cvRound( scale_map->at<float>(r,c) ); in operator ()()
1288 Mat* scale_map; member
/dports/multimedia/mlt7-qt5/mlt-7.0.1/src/modules/frei0r/
H A Dfrei0r_helper.c110 mlt_properties scale_map = mlt_properties_get_data(prop, "_resolution_scale", NULL); in process_frei0r_item() local
200 double scale2 = mlt_properties_get_double(scale_map, name); in process_frei0r_item()
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/frei0r/
H A Dfrei0r_helper.c110 mlt_properties scale_map = mlt_properties_get_data(prop, "_resolution_scale", NULL); in process_frei0r_item() local
200 double scale2 = mlt_properties_get_double(scale_map, name); in process_frei0r_item()
/dports/multimedia/mlt7/mlt-7.0.1/src/modules/frei0r/
H A Dfrei0r_helper.c110 mlt_properties scale_map = mlt_properties_get_data(prop, "_resolution_scale", NULL); in process_frei0r_item() local
200 double scale2 = mlt_properties_get_double(scale_map, name); in process_frei0r_item()
/dports/multimedia/py-mlt6/mlt-6.26.1/src/modules/frei0r/
H A Dfrei0r_helper.c110 mlt_properties scale_map = mlt_properties_get_data(prop, "_resolution_scale", NULL); in process_frei0r_item() local
200 double scale2 = mlt_properties_get_double(scale_map, name); in process_frei0r_item()
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/frei0r/
H A Dfrei0r_helper.c110 mlt_properties scale_map = mlt_properties_get_data(prop, "_resolution_scale", NULL); in process_frei0r_item() local
200 double scale2 = mlt_properties_get_double(scale_map, name); in process_frei0r_item()
/dports/misc/vxl/vxl-3.3.2/contrib/brl/bseg/bvxm/
H A Dbvxm_voxel_world.h420 std::map<unsigned, bvxm_voxel_grid_base_sptr > scale_map; in get_grid() local
421 scale_map.insert(std::make_pair((unsigned)scale, grid)); in get_grid()
424 bin_map.insert(std::make_pair((unsigned)bin_idx ,scale_map)); in get_grid()
441 std::map<unsigned, bvxm_voxel_grid_base_sptr> scale_map; in get_grid() local
464 scale_map.insert(std::make_pair(scale_idx, grid)); in get_grid()
466 grid_map_[VOX_T].insert(std::make_pair(bin_index,scale_map)); in get_grid()
469 std::map<unsigned, bvxm_voxel_grid_base_sptr> scale_map = grid_map_[VOX_T][bin_index]; in get_grid() local
471 if (scale_map.find(scale_idx) == scale_map.end()) in get_grid()
/dports/games/pioneers/pioneers-15.6/editor/gtk/
H A Deditor.c637 static void scale_map(GuiMap * gmap) in scale_map() function
904 scale_map(gmap); in update_resize_buttons()
1506 scale_map(gmap); in load_game()
1607 scale_map(gmap); in load_game_menu_cb()
/dports/graphics/xfractint/xfractint-20.04p16/common/
H A Dfractint.c181 int scale_map[12] = {1,2,3,4,5,6,7,8,9,10,11,12}; /*RB, array for mapping notes to a (user defined)… variable
H A Dmiscovl.c1059 for(i=0;i<=11;i++) if(scale_map[i] != i+1) i=15; in write_batch_parms()
1063 if (scale_map[i] == -1) in write_batch_parms()
1066 put_parm("%d/", scale_map[i]); in write_batch_parms()
1068 if (scale_map[11] == -1) in write_batch_parms()
1071 put_parm("%d", scale_map[11]); in write_batch_parms()
H A Dcmdfiles.c822 for(i=0;i<=11;i++) scale_map[i]=i+1; /* straight mapping of notes in octave */ in initvars_fractal()
2426 scale_map[counter] = -1; in cmdarg()
2428 scale_map[counter] = intval[counter]; in cmdarg()
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/avformat/
H A Dfilter_avfilter.c123 mlt_properties scale_map = mlt_properties_get_data(filter_properties, "_resolution_scale", NULL); in set_avfilter_options() local
135 double scale2 = mlt_properties_get_double(scale_map, opt->name); in set_avfilter_options()
/dports/multimedia/mlt7/mlt-7.0.1/src/modules/avformat/
H A Dfilter_avfilter.c122 mlt_properties scale_map = mlt_properties_get_data(filter_properties, "_resolution_scale", NULL); in set_avfilter_options() local
134 double scale2 = mlt_properties_get_double(scale_map, opt->name); in set_avfilter_options()
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/avformat/
H A Dfilter_avfilter.c123 mlt_properties scale_map = mlt_properties_get_data(filter_properties, "_resolution_scale", NULL); in set_avfilter_options() local
135 double scale2 = mlt_properties_get_double(scale_map, opt->name); in set_avfilter_options()
/dports/multimedia/py-mlt6/mlt-6.26.1/src/modules/avformat/
H A Dfilter_avfilter.c123 mlt_properties scale_map = mlt_properties_get_data(filter_properties, "_resolution_scale", NULL); in set_avfilter_options() local
135 double scale2 = mlt_properties_get_double(scale_map, opt->name); in set_avfilter_options()
/dports/multimedia/mlt7-qt5/mlt-7.0.1/src/modules/avformat/
H A Dfilter_avfilter.c122 mlt_properties scale_map = mlt_properties_get_data(filter_properties, "_resolution_scale", NULL); in set_avfilter_options() local
134 double scale2 = mlt_properties_get_double(scale_map, opt->name); in set_avfilter_options()
/dports/misc/openvdb/openvdb-9.0.0/openvdb/openvdb/unittest/
H A DTestGradient.cc247 math::ScaleMap::Ptr scale_map = StaticPtrCast<math::ScaleMap, math::MapBase>(base_map); in TEST_F() local
250 result = math::Gradient<math::ScaleMap, math::CD_2ND>::result(*scale_map, inAccessor, xyz); in TEST_F()
/dports/graphics/xfractint/xfractint-20.04p16/headers/
H A Dexterns.h486 extern int scale_map[];
/dports/astro/py-astropy/astropy-5.0/astropy/wcs/
H A Dwcs.py2954 scale_map = {
2970 subresult['scale'] = scale_map[scale]