Home
last modified time | relevance | path

Searched refs:y_scale (Results 1 – 25 of 2520) sorted by relevance

12345678910>>...101

/dports/games/odamex/odamex-src-0.7.0/client/src/
H A Dhu_drawers.cpp49 if (y_scale < 1) { in calculateOrigin()
50 y_scale = 1; in calculateOrigin()
73 y = y * y_scale; in calculateOrigin()
133 if (y_scale < 1) { in YSize()
134 y_scale = 1; in YSize()
147 int x_scale, y_scale; in Clear() local
160 int x_scale, y_scale; in Dim() local
182 int x_scale, y_scale; in DrawText() local
204 int x_scale, y_scale; in DrawPatch() local
234 int x_scale, y_scale; in DrawTranslatedPatch() local
[all …]
/dports/misc/vxl/vxl-3.3.2/core/vpgl/tests/
H A Dtest_calibration_matrix.cxx14 double y_scale = 2; in test_calibration_matrix() local
16 vpgl_calibration_matrix<double> K1(focal_length, principal_point, x_scale, y_scale, skew); in test_calibration_matrix()
22 M(1, 1) = scale_factor * y_scale * focal_length; in test_calibration_matrix()
36 vpgl_calibration_matrix<double> K2(focal_length, principal_point, x_scale, y_scale, skew); in test_calibration_matrix()
42 vpgl_calibration_matrix<double> K3(focal_length, principal_point, x_scale, y_scale, skew); in test_calibration_matrix()
48 vpgl_calibration_matrix<double> K4(focal_length, principal_point, x_scale, y_scale, skew); in test_calibration_matrix()
54 vpgl_calibration_matrix<double> K5(focal_length, principal_point, x_scale, y_scale, skew); in test_calibration_matrix()
59 y_scale = 6; in test_calibration_matrix()
60 vpgl_calibration_matrix<double> K6(focal_length, principal_point, x_scale, y_scale, skew); in test_calibration_matrix()
61 K1.set_y_scale(y_scale); in test_calibration_matrix()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/gfx/geometry/
H A Dinsets.cc26 Insets ScaleToCeiledInsets(const Insets& insets, float x_scale, float y_scale) { in ScaleToCeiledInsets() argument
27 if (x_scale == 1.f && y_scale == 1.f) in ScaleToCeiledInsets()
29 return ToCeiledInsets(ScaleInsets(gfx::InsetsF(insets), x_scale, y_scale)); in ScaleToCeiledInsets()
40 float y_scale) { in ScaleToFlooredInsets() argument
41 if (x_scale == 1.f && y_scale == 1.f) in ScaleToFlooredInsets()
43 return ToFlooredInsets(ScaleInsets(gfx::InsetsF(insets), x_scale, y_scale)); in ScaleToFlooredInsets()
54 float y_scale) { in ScaleToRoundedInsets() argument
55 if (x_scale == 1.f && y_scale == 1.f) in ScaleToRoundedInsets()
57 return ToRoundedInsets(ScaleInsets(gfx::InsetsF(insets), x_scale, y_scale)); in ScaleToRoundedInsets()
H A Drect.h286 if (x_scale == 1.f && y_scale == 1.f) in ScaleToEnclosingRect()
295 std::floor(rect.y() * y_scale))); in ScaleToEnclosingRect()
299 std::ceil(rect.bottom() * y_scale))); in ScaleToEnclosingRect()
320 if (x_scale == 1.f && y_scale == 1.f) in ScaleToEnclosingRectSafe()
323 int y = base::ClampFloor(rect.y() * y_scale); in ScaleToEnclosingRectSafe()
335 float y_scale) { in ScaleToEnclosedRect() argument
336 if (x_scale == 1.f && y_scale == 1.f) in ScaleToEnclosedRect()
341 std::ceil(rect.y() * y_scale))); in ScaleToEnclosedRect()
345 std::floor(rect.bottom() * y_scale))); in ScaleToEnclosedRect()
366 if (x_scale == 1.f && y_scale == 1.f) in ScaleToRoundedRect()
[all …]
H A Dpoint.cc69 Point ScaleToCeiledPoint(const Point& point, float x_scale, float y_scale) { in ScaleToCeiledPoint() argument
70 if (x_scale == 1.f && y_scale == 1.f) in ScaleToCeiledPoint()
72 return ToCeiledPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToCeiledPoint()
81 Point ScaleToFlooredPoint(const Point& point, float x_scale, float y_scale) { in ScaleToFlooredPoint() argument
82 if (x_scale == 1.f && y_scale == 1.f) in ScaleToFlooredPoint()
84 return ToFlooredPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToFlooredPoint()
93 Point ScaleToRoundedPoint(const Point& point, float x_scale, float y_scale) { in ScaleToRoundedPoint() argument
94 if (x_scale == 1.f && y_scale == 1.f) in ScaleToRoundedPoint()
96 return ToRoundedPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToRoundedPoint()
H A Dsize.cc86 Size ScaleToCeiledSize(const Size& size, float x_scale, float y_scale) { in ScaleToCeiledSize() argument
87 if (x_scale == 1.f && y_scale == 1.f) in ScaleToCeiledSize()
89 return ToCeiledSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToCeiledSize()
98 Size ScaleToFlooredSize(const Size& size, float x_scale, float y_scale) { in ScaleToFlooredSize() argument
99 if (x_scale == 1.f && y_scale == 1.f) in ScaleToFlooredSize()
101 return ToFlooredSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToFlooredSize()
110 Size ScaleToRoundedSize(const Size& size, float x_scale, float y_scale) { in ScaleToRoundedSize() argument
111 if (x_scale == 1.f && y_scale == 1.f) in ScaleToRoundedSize()
113 return ToRoundedSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToRoundedSize()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/gfx/geometry/
H A Drect.h285 float y_scale) { in ScaleToEnclosingRect() argument
286 if (x_scale == 1.f && y_scale == 1.f) in ScaleToEnclosingRect()
295 std::floor(rect.y() * y_scale))); in ScaleToEnclosingRect()
299 std::ceil(rect.bottom() * y_scale))); in ScaleToEnclosingRect()
318 if (x_scale == 1.f && y_scale == 1.f) in ScaleToEnclosingRectSafe()
333 float y_scale) { in ScaleToEnclosedRect() argument
334 if (x_scale == 1.f && y_scale == 1.f) in ScaleToEnclosedRect()
339 std::ceil(rect.y() * y_scale))); in ScaleToEnclosedRect()
343 std::floor(rect.bottom() * y_scale))); in ScaleToEnclosedRect()
364 if (x_scale == 1.f && y_scale == 1.f) in ScaleToRoundedRect()
[all …]
H A Dpoint.cc69 Point ScaleToCeiledPoint(const Point& point, float x_scale, float y_scale) { in ScaleToCeiledPoint() argument
70 if (x_scale == 1.f && y_scale == 1.f) in ScaleToCeiledPoint()
72 return ToCeiledPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToCeiledPoint()
81 Point ScaleToFlooredPoint(const Point& point, float x_scale, float y_scale) { in ScaleToFlooredPoint() argument
82 if (x_scale == 1.f && y_scale == 1.f) in ScaleToFlooredPoint()
84 return ToFlooredPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToFlooredPoint()
93 Point ScaleToRoundedPoint(const Point& point, float x_scale, float y_scale) { in ScaleToRoundedPoint() argument
94 if (x_scale == 1.f && y_scale == 1.f) in ScaleToRoundedPoint()
96 return ToRoundedPoint(ScalePoint(gfx::PointF(point), x_scale, y_scale)); in ScaleToRoundedPoint()
H A Dsize.cc87 Size ScaleToCeiledSize(const Size& size, float x_scale, float y_scale) { in ScaleToCeiledSize() argument
88 if (x_scale == 1.f && y_scale == 1.f) in ScaleToCeiledSize()
90 return ToCeiledSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToCeiledSize()
99 Size ScaleToFlooredSize(const Size& size, float x_scale, float y_scale) { in ScaleToFlooredSize() argument
100 if (x_scale == 1.f && y_scale == 1.f) in ScaleToFlooredSize()
102 return ToFlooredSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToFlooredSize()
111 Size ScaleToRoundedSize(const Size& size, float x_scale, float y_scale) { in ScaleToRoundedSize() argument
112 if (x_scale == 1.f && y_scale == 1.f) in ScaleToRoundedSize()
114 return ToRoundedSize(ScaleSize(gfx::SizeF(size), x_scale, y_scale)); in ScaleToRoundedSize()
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/spandsp/src/spandsp/
H A Dvector_float.h74 …ec_scaledxy_addf(float z[], const float x[], float x_scale, const float y[], float y_scale, int n);
76 …caledxy_add(double z[], const double x[], double x_scale, const double y[], double y_scale, int n);
79 …[], const long double x[], long double x_scale, const long double y[], long double y_scale, int n);
82 SPAN_DECLARE(void) vec_scaledy_addf(float z[], const float x[], const float y[], float y_scale, int…
84 SPAN_DECLARE(void) vec_scaledy_add(double z[], const double x[], const double y[], double y_scale, …
87 …dy_addl(long double z[], const long double x[], const long double y[], long double y_scale, int n);
98 …ec_scaledxy_subf(float z[], const float x[], float x_scale, const float y[], float y_scale, int n);
100 …caledxy_sub(double z[], const double x[], double x_scale, const double y[], double y_scale, int n);
114 SPAN_DECLARE(void) vec_scaledy_subf(float z[], const float x[], const float y[], float y_scale, int…
116 SPAN_DECLARE(void) vec_scaledy_sub(double z[], const double x[], const double y[], double y_scale, …
[all …]
/dports/comms/spandsp/spandsp-284fe91/src/spandsp/
H A Dvector_float.h74 …ec_scaledxy_addf(float z[], const float x[], float x_scale, const float y[], float y_scale, int n);
76 …caledxy_add(double z[], const double x[], double x_scale, const double y[], double y_scale, int n);
79 …[], const long double x[], long double x_scale, const long double y[], long double y_scale, int n);
82 SPAN_DECLARE(void) vec_scaledy_addf(float z[], const float x[], const float y[], float y_scale, int…
84 SPAN_DECLARE(void) vec_scaledy_add(double z[], const double x[], const double y[], double y_scale, …
87 …dy_addl(long double z[], const long double x[], const long double y[], long double y_scale, int n);
98 …ec_scaledxy_subf(float z[], const float x[], float x_scale, const float y[], float y_scale, int n);
100 …caledxy_sub(double z[], const double x[], double x_scale, const double y[], double y_scale, int n);
114 SPAN_DECLARE(void) vec_scaledy_subf(float z[], const float x[], const float y[], float y_scale, int…
116 SPAN_DECLARE(void) vec_scaledy_sub(double z[], const double x[], const double y[], double y_scale, …
[all …]
/dports/graphics/cegui/cegui-0.8.7/cegui/src/
H A DImage.cpp46 float& y_scale) in computeScalingFactors() argument
51 y_scale = 1.0f; in computeScalingFactors()
56 y_scale = x_scale; in computeScalingFactors()
61 y_scale = x_scale; in computeScalingFactors()
67 y_scale = x_scale; in computeScalingFactors()
73 y_scale = x_scale; in computeScalingFactors()
78 y_scale = display_size.d_height / native_display_size.d_height; in computeScalingFactors()
/dports/games/shockolate/systemshock-0.8.2-43-ga9eb1b93/src/Libraries/2D/Source/Flat8/
H A Dfl8mscl.c32 fix y_scale; /* y scale factor */ in flat8_mono_scale_ubitmap() local
45 y_scale = (bm->h << 16) / h; in flat8_mono_scale_ubitmap()
47 y_src = y_scale >> 1; in flat8_mono_scale_ubitmap()
67 y_src += y_scale; in flat8_mono_scale_ubitmap()
87 y_src += y_scale; in flat8_mono_scale_ubitmap()
94 fix y_scale; /* y scale factor */ in flat8_mono_scale_bitmap() local
112 y_scale = (bm->h << 16) / h; in flat8_mono_scale_bitmap()
127 y_src = y_scale * (grd_clip.top - y); in flat8_mono_scale_bitmap()
139 y_src += y_scale >> 1; in flat8_mono_scale_bitmap()
160 y_src += y_scale; in flat8_mono_scale_bitmap()
[all …]
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/relay/
H A Dtest_op_qnn_concatenate.py39 input_scales=(x_scale, y_scale),
41 output_scale=y_scale,
73 input_scales=(x_scale, y_scale),
75 output_scale=y_scale,
107 input_scales=(x_scale, y_scale),
109 output_scale=y_scale,
141 input_scales=(x_scale, y_scale),
143 output_scale=y_scale,
167 y_scale = relay.const(1, "float32")
174 input_scales=(x_scale, y_scale),
[all …]
/dports/misc/tvm/incubator-tvm-0.6.1/tests/python/relay/
H A Dtest_op_qnn_concatenate.py30 y_scale = (62 + 64) / (np.power(2, 32) - 1.0)
35 input_scales=[x_scale, y_scale],
37 output_scale=y_scale,
58 y_scale = (62 + 64) / (np.power(2, 32) - 1.0)
63 input_scales=[x_scale, y_scale],
65 output_scale=y_scale,
86 y_scale = (62 + 64) / (np.power(2, 32) - 1.0)
91 input_scales=[x_scale, y_scale],
93 output_scale=y_scale,
114 y_scale = (62 + 64) / (np.power(2, 32) - 1.0)
[all …]
/dports/misc/py-tvm/incubator-tvm-0.6.1/tests/python/relay/
H A Dtest_op_qnn_concatenate.py30 y_scale = (62 + 64) / (np.power(2, 32) - 1.0)
35 input_scales=[x_scale, y_scale],
37 output_scale=y_scale,
58 y_scale = (62 + 64) / (np.power(2, 32) - 1.0)
63 input_scales=[x_scale, y_scale],
65 output_scale=y_scale,
86 y_scale = (62 + 64) / (np.power(2, 32) - 1.0)
91 input_scales=[x_scale, y_scale],
93 output_scale=y_scale,
114 y_scale = (62 + 64) / (np.power(2, 32) - 1.0)
[all …]
/dports/print/libspectre/libspectre-0.2.9/libspectre/
H A Dspectre-render-context.c38 rc->y_scale = 1.0; in spectre_render_context_new()
63 double y_scale) in spectre_render_context_set_scale() argument
68 rc->y_scale = y_scale; in spectre_render_context_set_scale()
74 double *y_scale) in spectre_render_context_get_scale() argument
80 if (y_scale) in spectre_render_context_get_scale()
81 *y_scale = rc->y_scale; in spectre_render_context_get_scale()
/dports/print/harfbuzz-hb-view/harfbuzz-3.4.0/test/api/
H A Dtest-font.c465 int x_scale, y_scale; in test_font_properties() local
496 x_scale = y_scale = 13; in test_font_properties()
499 x_scale = y_scale = 13; in test_font_properties()
502 x_scale = y_scale = 13; in test_font_properties()
509 x_scale = y_scale = 13; in test_font_properties()
512 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
549 x_scale = y_scale = 13; in test_font_properties()
552 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
569 x_scale = y_scale = 13; in test_font_properties()
574 x_scale = y_scale = 13; in test_font_properties()
[all …]
/dports/print/harfbuzz/harfbuzz-3.4.0/test/api/
H A Dtest-font.c465 int x_scale, y_scale; in test_font_properties() local
496 x_scale = y_scale = 13; in test_font_properties()
499 x_scale = y_scale = 13; in test_font_properties()
502 x_scale = y_scale = 13; in test_font_properties()
509 x_scale = y_scale = 13; in test_font_properties()
512 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
549 x_scale = y_scale = 13; in test_font_properties()
552 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
569 x_scale = y_scale = 13; in test_font_properties()
574 x_scale = y_scale = 13; in test_font_properties()
[all …]
/dports/print/harfbuzz-icu/harfbuzz-3.4.0/test/api/
H A Dtest-font.c465 int x_scale, y_scale; in test_font_properties() local
496 x_scale = y_scale = 13; in test_font_properties()
499 x_scale = y_scale = 13; in test_font_properties()
502 x_scale = y_scale = 13; in test_font_properties()
509 x_scale = y_scale = 13; in test_font_properties()
512 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
549 x_scale = y_scale = 13; in test_font_properties()
552 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
569 x_scale = y_scale = 13; in test_font_properties()
574 x_scale = y_scale = 13; in test_font_properties()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/harfbuzz-ng/src/test/api/
H A Dtest-font.c465 int x_scale, y_scale; in test_font_properties() local
496 x_scale = y_scale = 13; in test_font_properties()
499 x_scale = y_scale = 13; in test_font_properties()
502 x_scale = y_scale = 13; in test_font_properties()
509 x_scale = y_scale = 13; in test_font_properties()
512 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
549 x_scale = y_scale = 13; in test_font_properties()
552 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
569 x_scale = y_scale = 13; in test_font_properties()
574 x_scale = y_scale = 13; in test_font_properties()
[all …]
/dports/graphics/mupdf/mupdf-1.18.0-source/thirdparty/harfbuzz/test/api/
H A Dtest-font.c465 int x_scale, y_scale; in test_font_properties() local
496 x_scale = y_scale = 13; in test_font_properties()
499 x_scale = y_scale = 13; in test_font_properties()
502 x_scale = y_scale = 13; in test_font_properties()
509 x_scale = y_scale = 13; in test_font_properties()
512 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
549 x_scale = y_scale = 13; in test_font_properties()
552 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
569 x_scale = y_scale = 13; in test_font_properties()
574 x_scale = y_scale = 13; in test_font_properties()
[all …]
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/harfbuzz-sys-0.3.4/harfbuzz/test/api/
H A Dtest-font.c465 int x_scale, y_scale; in test_font_properties() local
496 x_scale = y_scale = 13; in test_font_properties()
499 x_scale = y_scale = 13; in test_font_properties()
502 x_scale = y_scale = 13; in test_font_properties()
509 x_scale = y_scale = 13; in test_font_properties()
512 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
549 x_scale = y_scale = 13; in test_font_properties()
552 g_assert_cmpint (y_scale, ==, 19); in test_font_properties()
569 x_scale = y_scale = 13; in test_font_properties()
574 x_scale = y_scale = 13; in test_font_properties()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/deps/libvita2d/source/
H A Dvita2d_texture.c432 const float h = y_scale * vita2d_texture_get_height(texture); in draw_texture_scale_generic()
472 const float h = y_scale * vita2d_texture_get_height(texture); in draw_texture_tint_scale_generic()
517 draw_texture_scale_generic(texture, x, y, x_scale, y_scale); in vita2d_draw_texture_scale()
524 draw_texture_tint_scale_generic(texture, x, y, x_scale, y_scale, color); in vita2d_draw_texture_tint_scale()
602 tex_h *= y_scale; in draw_texture_part_scale_generic()
650 tex_h *= y_scale; in draw_texture_tint_part_scale_generic()
711 const float h = y_scale * vita2d_texture_get_height(texture); in draw_texture_scale_rotate_hotspot_generic()
713 const float center_y_scaled = y_scale * center_y; in draw_texture_scale_rotate_hotspot_generic()
797 const float h_half = (tex_h * y_scale) / 2.0f; in draw_texture_part_scale_rotate_generic()
851 tex_x, tex_y, tex_w, tex_h, x_scale, y_scale, rad); in vita2d_draw_texture_part_scale_rotate()
[all …]
/dports/net/iaxmodem/iaxmodem-1.2.0/lib/spandsp/src/
H A Dvector_float.c164 void vec_scaled_addf(float z[], const float x[], float x_scale, const float y[], float y_scale, int… in vec_scaled_addf() argument
169 z[i] = x[i]*x_scale + y[i]*y_scale; in vec_scaled_addf()
173 void vec_scaled_add(double z[], const double x[], double x_scale, const double y[], double y_scale,… in vec_scaled_add() argument
178 z[i] = x[i]*x_scale + y[i]*y_scale; in vec_scaled_add()
183 …z[], const long double x[], long double x_scale, const long double y[], long double y_scale, int n) in vec_scaled_addl() argument
188 z[i] = x[i]*x_scale + y[i]*y_scale; in vec_scaled_addl()
222 void vec_scaled_subf(float z[], const float x[], float x_scale, const float y[], float y_scale, int… in vec_scaled_subf() argument
227 z[i] = x[i]*x_scale - y[i]*y_scale; in vec_scaled_subf()
231 void vec_scaled_sub(double z[], const double x[], double x_scale, const double y[], double y_scale,… in vec_scaled_sub() argument
236 z[i] = x[i]*x_scale - y[i]*y_scale; in vec_scaled_sub()
[all …]

12345678910>>...101