Home
last modified time | relevance | path

Searched refs:scale_factor (Results 1 – 25 of 2995) sorted by relevance

12345678910>>...120

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/geometry/
H A Ddip_util.cc18 Insets ConvertInsetsToDIP(float scale_factor, in ConvertInsetsToDIP() argument
20 if (scale_factor == 1.f) in ConvertInsetsToDIP()
26 if (scale_factor == 1.f) in ConvertPointToDIP()
32 if (scale_factor == 1.f) in ConvertPointToDIP()
38 if (scale_factor == 1.f) in ConvertSizeToDIP()
44 if (scale_factor == 1.f) in ConvertRectToDIP()
52 if (scale_factor == 1.f) in ConvertInsetsToPixel()
58 if (scale_factor == 1.f) in ConvertPointToPixel()
64 if (scale_factor == 1.f) in ConvertPointToPixel()
70 if (scale_factor == 1.f) in ConvertSizeToPixel()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/platform/graphics/
H A Dplaceholder_image_test.cc84 float scale_factor) { in DrawImageExpectingIconOnly() argument
132 description.SetComputedSize(scale_factor * 14.0f); in GetExpectedPlaceholderTextWidth()
150 scale_factor * in DrawImageExpectingIconAndTextLTR()
194 scale_factor * kBaseFontSize, in DrawImageExpectingIconAndTextLTR()
305 image->SetIconAndTextScaleFactor(scale_factor); in TEST_F()
321 scale_factor); in TEST_F()
352 image->GetTextForTesting(), scale_factor); in TEST_F()
354 scale_factor * in TEST_F()
363 scale_factor); in TEST_F()
368 scale_factor); in TEST_F()
[all …]
/dports/comms/gnuradio/gnuradio-3.8.4.0/gnuradio-runtime/python/gnuradio/
H A Deng_notation.py29 scale_factor = {} variable
30 scale_factor['E'] = 1e18
31 scale_factor['P'] = 1e15
32 scale_factor['T'] = 1e12
33 scale_factor['G'] = 1e9
34 scale_factor['M'] = 1e6
35 scale_factor['k'] = 1e3
36 scale_factor['m'] = 1e-3
37 scale_factor['u'] = 1e-6
38 scale_factor['n'] = 1e-9
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/app_list/arc/
H A Darc_app_icon.cc51 scale_factor(scale_factor), in ReadResult()
275 {scale_factor, base::Time::Now()}); in ArcAppIcon()
277 {scale_factor, base::Time::Now()}); in ArcAppIcon()
298 LoadForScaleFactor(scale_factor.first); in LoadSupportedScaleFactors()
401 ui::ScaleFactor scale_factor, in ReadOnBackgroundThread() argument
422 ui::ScaleFactor scale_factor, in ReadSingleIconFile() argument
451 ui::ScaleFactor scale_factor, in ReadAdaptiveIconFiles() argument
488 ui::ScaleFactor scale_factor, in ReadDefaultAppAdaptiveIconFiles() argument
533 ui::ScaleFactor scale_factor, in ReadFile() argument
561 ui::ScaleFactor scale_factor, in ReadFiles() argument
[all …]
H A Darc_app_icon_descriptor.cc14 int GetScalePercent(ui::ScaleFactor scale_factor) { in GetScalePercent() argument
15 return roundf(100.0f * ui::GetScaleForScaleFactor(scale_factor)); in GetScalePercent()
27 ui::ScaleFactor scale_factor) in ArcAppIconDescriptor() argument
28 : dip_size(dip_size), scale_factor(scale_factor) { in ArcAppIconDescriptor()
30 DCHECK_GT(scale_factor, ui::ScaleFactor::SCALE_FACTOR_NONE); in ArcAppIconDescriptor()
31 DCHECK_LE(scale_factor, ui::ScaleFactor::SCALE_FACTOR_300P); in ArcAppIconDescriptor()
35 return roundf(dip_size * ui::GetScaleForScaleFactor(scale_factor)); in GetSizeInPixels()
45 GetScalePercent(scale_factor), dip_size); in GetForegroundIconName()
50 GetScalePercent(scale_factor), dip_size); in GetBackgroundIconName()
54 return scale_factor == other.scale_factor && dip_size == other.dip_size; in operator ==()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/platform/graphics/
H A Dplaceholder_image_test.cc84 float scale_factor) { in DrawImageExpectingIconOnly() argument
132 description.SetComputedSize(scale_factor * 14.0f); in GetExpectedPlaceholderTextWidth()
150 scale_factor * in DrawImageExpectingIconAndTextLTR()
194 scale_factor * kBaseFontSize, in DrawImageExpectingIconAndTextLTR()
318 image->SetIconAndTextScaleFactor(scale_factor); in TEST_F()
334 scale_factor); in TEST_F()
365 image->GetTextForTesting(), scale_factor); in TEST_F()
367 scale_factor * in TEST_F()
376 scale_factor); in TEST_F()
381 scale_factor); in TEST_F()
[all …]
/dports/misc/ncnn/ncnn-20211208/tools/pnnx/tests/
H A Dtest_F_interpolate.py25 x = F.interpolate(x, scale_factor=2, mode='nearest')
27 x = F.interpolate(x, scale_factor=(4), mode='nearest')
29 x = F.interpolate(x, scale_factor=2, mode='linear')
38 y = F.interpolate(y, scale_factor=2, mode='nearest')
40 y = F.interpolate(y, scale_factor=(4,4), mode='nearest')
42 y = F.interpolate(y, scale_factor=(2,3), mode='nearest')
44 y = F.interpolate(y, scale_factor=2, mode='bilinear')
50 y = F.interpolate(y, scale_factor=2, mode='bicubic')
63 z = F.interpolate(z, scale_factor=2, mode='nearest')
65 z = F.interpolate(z, scale_factor=(4,4,4), mode='nearest')
[all …]
H A Dtest_F_upsample.py25 x = F.upsample(x, scale_factor=2, mode='nearest')
27 x = F.upsample(x, scale_factor=(4), mode='nearest')
29 x = F.upsample(x, scale_factor=2, mode='linear')
34 y = F.upsample(y, scale_factor=2, mode='nearest')
36 y = F.upsample(y, scale_factor=(4,4), mode='nearest')
38 y = F.upsample(y, scale_factor=(2,3), mode='nearest')
40 y = F.upsample(y, scale_factor=2, mode='bilinear')
46 y = F.upsample(y, scale_factor=2, mode='bicubic')
53 z = F.upsample(z, scale_factor=2, mode='nearest')
55 z = F.upsample(z, scale_factor=(4,4,4), mode='nearest')
[all …]
/dports/comms/uhd/uhd-90ce6062b6b5df2eddeee723777be85108e4e7c7/host/lib/convert/
H A Dconvert_common.hpp123 const double scale_factor) in xx_to_item32_sc16() argument
144 const double scale_factor) in xx_to_chdr_sc16() argument
156 const item32_t item, const double scale_factor) in item32_sc16_x1_to_xx() argument
172 const double scale_factor) in item32_sc16_to_xx() argument
182 const sc16_t item, const double scale_factor) in chdr_sc16_x1_to_xx() argument
185 T(item.real()) * T(scale_factor), T(item.imag()) * T(scale_factor)); in chdr_sc16_x1_to_xx()
192 const double scale_factor) in chdr_sc16_to_xx() argument
241 const double scale_factor) in xx_to_item32_sc8() argument
263 const double scale_factor) in item32_sc8_x1_to_xx() argument
266 T(int8_t(item >> 0) * float(scale_factor))); in item32_sc8_x1_to_xx()
[all …]
/dports/biology/garlic/garlic-1.6/
H A Ddraw_membranes.c77 double scale_factor; in DrawMembranes_() local
199 if (scale_factor < 0.0) scale_factor = 0.0; in DrawMembranes_()
200 if (scale_factor > 1.0) scale_factor = 1.0; in DrawMembranes_()
206 scale_factor, guiSP); in DrawMembranes_()
213 scale_factor, guiSP); in DrawMembranes_()
239 if (scale_factor < 0.0) scale_factor = 0.0; in DrawMembranes_()
240 if (scale_factor > 1.0) scale_factor = 1.0; in DrawMembranes_()
372 if (scale_factor < 0.0) scale_factor = 0.0; in DrawMembranes_()
373 if (scale_factor > 1.0) scale_factor = 1.0; in DrawMembranes_()
412 if (scale_factor < 0.0) scale_factor = 0.0; in DrawMembranes_()
[all …]
H A Ddraw_planes.c76 double scale_factor; in DrawPlanes_() local
188 scale_factor = (plane_delta_z + in DrawPlanes_()
191 if (scale_factor < 0.0) scale_factor = 0.0; in DrawPlanes_()
192 if (scale_factor > 1.0) scale_factor = 1.0; in DrawPlanes_()
198 scale_factor, guiSP); in DrawPlanes_()
205 scale_factor, guiSP); in DrawPlanes_()
219 scale_factor, guiSP); in DrawPlanes_()
231 if (scale_factor < 0.0) scale_factor = 0.0; in DrawPlanes_()
232 if (scale_factor > 1.0) scale_factor = 1.0; in DrawPlanes_()
241 scale_factor, guiSP); in DrawPlanes_()
[all …]
H A Dmix_colors.c45 double scale_factor, GUIS *guiSP) in MixColors_() argument
61 color = color1 + scale_factor * delta_color; in MixColors_()
68 color = color1 + scale_factor * delta_color; in MixColors_()
75 color = color1 + scale_factor * delta_color; in MixColors_()
84 color = color1 + scale_factor * delta_color; in MixColors_()
91 color = color1 + scale_factor * delta_color; in MixColors_()
98 color = color1 + scale_factor * delta_color; in MixColors_()
107 color = color1 + scale_factor * delta_color; in MixColors_()
114 color = color1 + scale_factor * delta_color; in MixColors_()
121 color = color1 + scale_factor * delta_color; in MixColors_()
[all …]
/dports/misc/ncnn/ncnn-20211208/tools/pnnx/src/pass_ncnn/
H A DF_interpolate.cpp47 std::vector<float> scale_factor; in write() local
64 if (scale_factor.size() == 1) in write()
67 op->params["2"] = scale_factor[0]; in write()
69 else if (scale_factor.size() == 2) in write()
71 op->params["1"] = scale_factor[0]; in write()
72 op->params["2"] = scale_factor[1]; in write()
111 std::vector<float> scale_factor; in write() local
128 if (scale_factor.size() == 1) in write()
131 op->params["2"] = scale_factor[0]; in write()
133 else if (scale_factor.size() == 2) in write()
[all …]
/dports/cad/uranium/Uranium-3ed9c4de/UM/Operations/
H A DScaleOperation.py54 scale_factor = Vector()
61 scale_factor = scale_factor.set(x=abs(self._node.getScale().x + self._scale.x))
63 scale_factor = scale_factor.set(x=-abs(self._node.getScale().x - self._scale.x))
65 scale_factor = scale_factor.set(y=abs(self._node.getScale().y + self._scale.y))
67 scale_factor = scale_factor.set(y=-abs(self._node.getScale().y - self._scale.y))
69 scale_factor = scale_factor.set(z=abs(self._node.getScale().z + self._scale.z))
71 scale_factor = scale_factor.set(z=-abs(self._node.getScale().z - self._scale.z))
75 if scale_factor.x != 0:
76 scale_factor = scale_factor.set(x=scale_factor.x / current_scale.x)
78 scale_factor = scale_factor.set(y=scale_factor.y / current_scale.y)
[all …]
/dports/cad/ngspice_rework/ngspice-35/src/xspice/icm/table/support/
H A Dgettokens.c133 double scale_factor; in cnv_get_spice_value() local
158 scale_factor = 1.0; in cnv_get_spice_value()
165 scale_factor = 1.0e12; in cnv_get_spice_value()
169 scale_factor = 1.0e9; in cnv_get_spice_value()
173 scale_factor = 1.0e3; in cnv_get_spice_value()
177 scale_factor = 1.0e-6; in cnv_get_spice_value()
181 scale_factor = 1.0e-9; in cnv_get_spice_value()
185 scale_factor = 1.0e-12; in cnv_get_spice_value()
189 scale_factor = 1.0e-15; in cnv_get_spice_value()
213 scale_factor = 1.0; in cnv_get_spice_value()
[all …]
/dports/audio/gsequencer/gsequencer-3.10.4/ags/audio/
H A Dags_char_buffer_util.c90 gdouble scale_factor; in ags_char_buffer_util_copy_s8_to_cbuffer() local
235 gdouble scale_factor; in ags_char_buffer_util_copy_s16_to_cbuffer() local
380 gdouble scale_factor; in ags_char_buffer_util_copy_s24_to_cbuffer() local
525 gdouble scale_factor; in ags_char_buffer_util_copy_s32_to_cbuffer() local
670 gdouble scale_factor; in ags_char_buffer_util_copy_s64_to_cbuffer() local
815 gdouble scale_factor; in ags_char_buffer_util_copy_float_to_cbuffer() local
964 gdouble scale_factor; in ags_char_buffer_util_copy_double_to_cbuffer() local
1113 gdouble scale_factor; in ags_char_buffer_util_copy_cbuffer_to_s8() local
1252 gdouble scale_factor; in ags_char_buffer_util_copy_cbuffer_to_s16() local
1391 gdouble scale_factor; in ags_char_buffer_util_copy_cbuffer_to_s24() local
[all …]
/dports/cad/uranium/Uranium-3ed9c4de/plugins/Tools/ScaleTool/
H A DScaleTool.py166 if scale_factor:
177 … scale_change = scale_change.set(x=scale_factor, y=scale_factor, z=scale_factor)
179 … scale_change = scale_change.set(x=scale_factor, y=scale_factor, z=scale_factor)
336 scale_factor = width / obj_width
340 scale_vector = Vector(scale_factor, scale_factor, scale_factor)
358 scale_vector = Vector(scale_factor, scale_factor, scale_factor)
373 scale_factor = depth / obj_depth
377 scale_vector = Vector(scale_factor, scale_factor, scale_factor)
395 scale_vector = Vector(scale_factor, scale_factor, scale_factor)
413 scale_vector = Vector(scale_factor, scale_factor, scale_factor)
[all …]
/dports/misc/ncnn/ncnn-20211208/tools/pnnx/tests/ncnn/
H A Dtest_F_interpolate.py25 x = F.interpolate(x, scale_factor=2, mode='nearest')
27 x = F.interpolate(x, scale_factor=(4), mode='nearest')
29 x = F.interpolate(x, scale_factor=2, mode='linear')
31 x = F.interpolate(x, scale_factor=(3), mode='linear', align_corners=True)
38 y = F.interpolate(y, scale_factor=2, mode='nearest')
40 y = F.interpolate(y, scale_factor=(4,4), mode='nearest')
42 y = F.interpolate(y, scale_factor=(2,3), mode='nearest')
44 y = F.interpolate(y, scale_factor=2, mode='bilinear')
48 y = F.interpolate(y, scale_factor=(2,3), mode='bilinear', align_corners=True)
50 y = F.interpolate(y, scale_factor=2, mode='bicubic')
[all …]
/dports/comms/yagiuda/yagiuda-1.19/src/
H A Dwrite_input_data.c7 …ements,int driven,int parasitic, double angular_step, double **d, double **p, double scale_factor) in write_input_data_to_disk() argument
22 …10.5f %10.5f %10.5f %10.5f", d[i][1]/scale_factor, d[i][2]/scale_factor, d[i][3]/scale_factor, d[i… in write_input_data_to_disk()
28 …10.5f %10.5f reflector\n", p[i][X]/scale_factor, p[i][Y]/scale_factor, p[i][LENGTH]/scale_factor, … in write_input_data_to_disk()
30 …0.5f %10.5f %10.5f D%d\n", p[i][X]/scale_factor, p[i][Y]/scale_factor, p[i][LENGTH]/scale_factor, … in write_input_data_to_disk()
/dports/games/openomf/openomf-c36c421/src/video/
H A Dvideo.c30 int size = NATIVE_W * state.scale_factor * NATIVE_H * state.scale_factor * 4; in reset_targets()
39 if(scale_factor <= 1) { in video_load_scaler()
56 int scale_factor) { in video_init() argument
71 state.scale_factor = 1; in video_init()
74 state.scale_factor = scale_factor; in video_init()
186 int scale_factor) { in video_reinit() argument
196 if(scale_factor != state.scale_factor) { in video_reinit()
239 state.scale_factor = 1; in video_reinit()
242 state.scale_factor = scale_factor; in video_reinit()
528 dst.w = NATIVE_W * state.scale_factor; in video_render_finish()
[all …]
/dports/cad/uranium/Uranium-3ed9c4de/UM/Mesh/
H A DReadMeshJob.py48 scale_factor = min(scale_factor_width, scale_factor_depth, scale_factor_height)
52 if 1 / scale_factor < ignore_factor:
53 … Logger.log("i", "Ignoring auto-scaling, because %.3d < %.3d" % (1 / scale_factor, ignore_factor))
54 scale_factor = 1
59scale_factor = math.pow(10, math.floor(math.log(scale_factor) / math.log(10)))
62 scale_factor = 1
64 scale_factor = 1
66 if scale_factor != 1:
67 scale_vector = Vector(scale_factor, scale_factor, scale_factor)
68 display_scale_factor = scale_factor * 100
/dports/misc/lastools/LAStools-8ff2694/LASlib/src/
H A Dlasreader_shp.cpp255 if (scale_factor) in set_scale_factor()
257 if (this->scale_factor == 0) this->scale_factor = new F64[3]; in set_scale_factor()
258 this->scale_factor[0] = scale_factor[0]; in set_scale_factor()
259 this->scale_factor[1] = scale_factor[1]; in set_scale_factor()
260 this->scale_factor[2] = scale_factor[2]; in set_scale_factor()
475 scale_factor = 0; in LASreaderSHP()
487 if (scale_factor) in ~LASreaderSHP()
507 if (scale_factor) in populate_scale_and_offset()
634 if (scale_factor[0] && (header.x_scale_factor != scale_factor[0])) in open()
638 if (scale_factor[1] && (header.y_scale_factor != scale_factor[1])) in open()
[all …]
/dports/math/py-sympy/sympy-1.9/sympy/physics/units/
H A Dquantities.py34 dimension, scale_factor, abbrev = abbrev, dimension, scale_factor
44 if scale_factor is not None:
69 if scale_factor is not None:
71 obj.set_scale_factor(scale_factor)
85 def set_scale_factor(self, scale_factor, unit_system="SI"): argument
94 unit_system.set_quantity_scale_factor(self, scale_factor)
104 scale_factor = sympify(scale_factor)
106 scale_factor = scale_factor.replace(
108 lambda x: x.scale_factor
110 scale_factor = sympify(scale_factor)
[all …]
/dports/graphics/py-gdal/gdal-3.3.3/data/
H A Decw_cs.wkt1 …rigin",0],PARAMETER["central_meridian",-114.9999999999725],PARAMETER["scale_factor",0.9992],PARAME…
570 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
571 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
572 …R["latitude_of_origin",0],PARAMETER["central_meridian",34],PARAMETER["scale_factor",1],PARAMETER["…
573 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
576 …R["latitude_of_origin",0],PARAMETER["central_meridian",90],PARAMETER["scale_factor",1],PARAMETER["…
589 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
590 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
591 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
989 …ER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",1],PARAMETER["…
[all …]
/dports/graphics/p5-Geo-GDAL/gdal-3.3.3/data/
H A Decw_cs.wkt1 …rigin",0],PARAMETER["central_meridian",-114.9999999999725],PARAMETER["scale_factor",0.9992],PARAME…
570 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
571 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
572 …R["latitude_of_origin",0],PARAMETER["central_meridian",34],PARAMETER["scale_factor",1],PARAMETER["…
573 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
576 …R["latitude_of_origin",0],PARAMETER["central_meridian",90],PARAMETER["scale_factor",1],PARAMETER["…
589 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
590 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
591 …ER["latitude_of_origin",0],PARAMETER["central_meridian",0],PARAMETER["scale_factor",1],PARAMETER["…
989 …ER["latitude_of_origin",0],PARAMETER["central_meridian",3],PARAMETER["scale_factor",1],PARAMETER["…
[all …]

12345678910>>...120