Home
last modified time | relevance | path

Searched refs:vx (Results 1 – 25 of 111) sorted by relevance

12345

/third_party/flutter/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderVariable_test.cpp184 Varying vx; in TEST() local
185 vx.type = GL_FLOAT; in TEST()
186 vx.precision = GL_MEDIUM_FLOAT; in TEST()
187 vx.name = "vary"; in TEST()
188 vx.mappedName = "m_vary"; in TEST()
189 vx.staticUse = true; in TEST()
190 vx.isInvariant = true; in TEST()
202 EXPECT_FALSE(vx.isSameVaryingAtLinkTime(fx)); in TEST()
203 EXPECT_FALSE(vx.isSameVaryingAtLinkTime(fx, 100)); in TEST()
205 EXPECT_TRUE(vx.isSameVaryingAtLinkTime(fx, 300)); in TEST()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DShaderVariable_test.cpp184 ShaderVariable vx; in TEST() local
185 vx.type = GL_FLOAT; in TEST()
186 vx.precision = GL_MEDIUM_FLOAT; in TEST()
187 vx.name = "vary"; in TEST()
188 vx.mappedName = "m_vary"; in TEST()
189 vx.staticUse = true; in TEST()
190 vx.isInvariant = true; in TEST()
202 EXPECT_FALSE(vx.isSameVaryingAtLinkTime(fx)); in TEST()
203 EXPECT_FALSE(vx.isSameVaryingAtLinkTime(fx, 100)); in TEST()
205 EXPECT_TRUE(vx.isSameVaryingAtLinkTime(fx, 300)); in TEST()
[all …]
/third_party/pixman/test/
Dscaling-helpers-test.c21 int64_t vx = vx_; in bilinear_pad_repeat_get_scanline_bounds_ref() local
29 if (vx < 0) in bilinear_pad_repeat_get_scanline_bounds_ref()
31 if (vx + pixman_fixed_1 < 0) in bilinear_pad_repeat_get_scanline_bounds_ref()
36 else if (vx + pixman_fixed_1 >= pixman_int_to_fixed (source_image_width)) in bilinear_pad_repeat_get_scanline_bounds_ref()
38 if (vx >= pixman_int_to_fixed (source_image_width)) in bilinear_pad_repeat_get_scanline_bounds_ref()
47 vx += unit_x; in bilinear_pad_repeat_get_scanline_bounds_ref()
60 pixman_fixed_t vx = prng_rand_n(10000 << 16) - (3000 << 16); in main() local
67 vx, in main()
76 vx, in main()
/third_party/flutter/skia/third_party/externals/sdl/Xcode-iOS/Demos/src/
Daccelerometer.c25 float vx, vy; /* velocity of ship (in pixels per millesecond) */ member
54 shipData.vx += in render()
61 speed = sqrt(shipData.vx * shipData.vx + shipData.vy * shipData.vy); in render()
65 float dirx = shipData.vx / speed; /* normalized x velocity */ in render()
71 shipData.vx -= dirx * FRICTION * deltaMilliseconds; in render()
75 shipData.vx = 0.0f; in render()
81 shipData.x += shipData.vx * deltaMilliseconds; in render()
86 shipData.vx = -shipData.vx * DAMPING; in render()
89 shipData.vx = -shipData.vx * DAMPING; in render()
200 shipData.vx = 0.0f; in main()
/third_party/pixman/pixman/
Dpixman-inlines.h264 pixman_fixed_t vx, in pad_repeat_get_scanline_bounds() argument
272 if (vx < 0) in pad_repeat_get_scanline_bounds()
274 tmp = ((int64_t) unit_x - 1 - vx) / unit_x; in pad_repeat_get_scanline_bounds()
290 tmp = ((int64_t) unit_x - 1 - vx + max_vx) / unit_x - *left_pad; in pad_repeat_get_scanline_bounds()
334 pixman_fixed_t vx, \
352 x1 = pixman_fixed_to_int (vx); \
353 vx += unit_x; \
357 while (vx >= 0) \
358 vx -= src_width_fixed; \
362 x2 = pixman_fixed_to_int (vx); \
[all …]
Dpixman-mips-dspr2.h258 pixman_fixed_t vx, \
265 pixman_fixed_t vx, \
271 vx, unit_x); \
301 pixman_fixed_t vx, \
309 pixman_fixed_t vx, \
318 vx, unit_x); \
343 pixman_fixed_t vx, \
353 pixman_fixed_t vx, \
363 vx, unit_x); \
404 pixman_fixed_t vx, \
[all …]
Dpixman-arm-common.h238 pixman_fixed_t vx, \
246 pixman_fixed_t vx, \
252 vx, unit_x, \
276 pixman_fixed_t vx, \
286 pixman_fixed_t vx, \
294 vx, unit_x, \
341 pixman_fixed_t vx, \
349 dst, src_top, src_bottom, wt, wb, vx, unit_x, w); \
390 pixman_fixed_t vx, \
398 dst, mask, src_top, src_bottom, wt, wb, vx, unit_x, w); \
Dpixman-sse2.c5322 pixman_fixed_t vx, in scaled_nearest_scanline_sse2_8888_8888_OVER() argument
5341 s = combine1 (ps + pixman_fixed_to_int (vx), pm); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5342 vx += unit_x; in scaled_nearest_scanline_sse2_8888_8888_OVER()
5343 while (vx >= 0) in scaled_nearest_scanline_sse2_8888_8888_OVER()
5344 vx -= src_width_fixed; in scaled_nearest_scanline_sse2_8888_8888_OVER()
5357 tmp1 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
5358 vx += unit_x; in scaled_nearest_scanline_sse2_8888_8888_OVER()
5359 while (vx >= 0) in scaled_nearest_scanline_sse2_8888_8888_OVER()
5360 vx -= src_width_fixed; in scaled_nearest_scanline_sse2_8888_8888_OVER()
5361 tmp2 = *(ps + pixman_fixed_to_int (vx)); in scaled_nearest_scanline_sse2_8888_8888_OVER()
[all …]
/third_party/boost/libs/unordered/test/unordered/
Dswap_tests.cpp70 test::random_values<X> vx(1000, generator), vy(1000, generator); in swap_tests1() local
71 X x(vx.begin(), vx.end()), y(vy.begin(), vy.end()); in swap_tests1()
105 test::random_values<X> vx(100, generator), vy(50, generator); in swap_tests2() local
106 X x(vx.begin(), vx.end(), 0, hasher(1), key_equal(1)); in swap_tests2()
116 test::random_values<X> vx(50, generator), vy(100, generator); in swap_tests2() local
117 X x(vx.begin(), vx.end(), 0, hasher(), key_equal(), allocator_type(1)); in swap_tests2()
130 test::random_values<X> vx(100, generator), vy(100, generator); in swap_tests2() local
131 X x(vx.begin(), vx.end(), 0, hasher(1), key_equal(1), allocator_type(1)); in swap_tests2()
/third_party/skia/gm/
Druntimecolorfilter.cpp132 SkVector vx = pos[1] - pos[0]; variable
134 vx.setLength(vx.length()/3.f);
137 pos[0], pos[0] + vx, pos[1] - vx,
139 pos[2], pos[2] - vx, pos[3] + vx,
/third_party/boost/boost/geometry/arithmetic/
Ddeterminant.hpp42 , V const& vx, V const& vy) in apply() argument
44 return rt(ux) * rt(vy) - rt(uy) * rt(vx); in apply()
50 , V const& vx, V const& vy) in determinant() argument
55 >::apply(ux, uy, vx, vy); in determinant()
/third_party/boost/boost/math/special_functions/detail/
Dlanczos_sse2.hpp63 __m128d vx = _mm_load1_pd(&x); in lanczos_sum() local
67 __m128d vx2 = _mm_mul_pd(vx, vx); in lanczos_sum()
106 sum_odd = _mm_mul_pd(sum_odd, vx); in lanczos_sum()
157 __m128d vx = _mm_load1_pd(&x); in lanczos_sum_expG_scaled() local
161 __m128d vx2 = _mm_mul_pd(vx, vx); in lanczos_sum_expG_scaled()
200 sum_odd = _mm_mul_pd(sum_odd, vx); in lanczos_sum_expG_scaled()
/third_party/gstreamer/gstplugins_good/gst/goom2k1/
Dfilters.c149 register int vx, vy; in calculatePXandPY() local
163 vx = ((x - middleX) << 9) + hPlaneEffect * (y - middleY); in calculatePXandPY()
165 vx = (x - middleX) << 9; in calculatePXandPY()
175 ShiftRight (vx, 9) * ShiftRight (vx, 9) + ShiftRight (vy, in calculatePXandPY()
185 ShiftRight (vx, 9) * ShiftRight (vx, 9) + ShiftRight (vy, in calculatePXandPY()
191 ShiftRight (vx, 9) * ShiftRight (vx, 9) + ShiftRight (vy, in calculatePXandPY()
197 ShiftRight (vx, 9) * ShiftRight (vx, 9) + ShiftRight (vy, in calculatePXandPY()
202 if (vx < 0) in calculatePXandPY()
203 *px = (middleX << 4) - (-(vx * fvitesse) >> 16); in calculatePXandPY()
205 *px = (middleX << 4) + ((vx * fvitesse) >> 16); in calculatePXandPY()
/third_party/gstreamer/gstplugins_good/gst/effectv/
Dgstvertigo.c105 double vx, vy; in gst_vertigotv_set_parms() local
128 vx = (x * (x - dizz) + y * y) / t; in gst_vertigotv_set_parms()
132 vx = (x * (x + dizz) + y * y) / t; in gst_vertigotv_set_parms()
139 vx = (x * x + y * (y - dizz)) / t; in gst_vertigotv_set_parms()
143 vx = (x * x + y * (y + dizz)) / t; in gst_vertigotv_set_parms()
147 filter->dx = vx * 65536; in gst_vertigotv_set_parms()
149 filter->sx = (-vx * x + vy * y + x + cos (filter->phase * 5) * 2) * 65536; in gst_vertigotv_set_parms()
150 filter->sy = (-vx * y - vy * x + y + sin (filter->phase * 6) * 2) * 65536; in gst_vertigotv_set_parms()
/third_party/flutter/glfw/examples/
Dwave.c110 double vx[GRIDW][GRIDH], vy[GRIDW][GRIDH]; variable
137 vx[x][y] = 0.0; in init_grid()
242 vx[x][y] = vx[x][y] + ax[x][y] * time_step; in calc_grid()
254 p[x][y] = p[x][y] + (vx[x2][y] - vx[x][y] + vy[x][y2] - vy[x][y]) * time_step; in calc_grid()
/third_party/ffmpeg/libavcodec/
Dmpegvideodsp.c51 int y, vx, vy; in ff_gmc_c() local
60 vx = ox; in ff_gmc_c()
64 int src_x = vx >> 16; in ff_gmc_c()
102 vx += dxx; in ff_gmc_c()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiocheblimit.c233 gdouble es, vx; in generate_biquad_coefficients() local
237 vx = (1.0 / np) * asinh (1.0 / es); in generate_biquad_coefficients()
238 rp = rp * sinh (vx); in generate_biquad_coefficients()
239 ip = ip * cosh (vx); in generate_biquad_coefficients()
241 gdouble es, vx; in generate_biquad_coefficients() local
244 vx = (1.0 / np) * asinh (es); in generate_biquad_coefficients()
245 rp = rp * sinh (vx); in generate_biquad_coefficients()
246 ip = ip * cosh (vx); in generate_biquad_coefficients()
Daudiochebband.c241 gdouble es, vx; in generate_biquad_coefficients() local
245 vx = (1.0 / np) * asinh (1.0 / es); in generate_biquad_coefficients()
246 rp = rp * sinh (vx); in generate_biquad_coefficients()
247 ip = ip * cosh (vx); in generate_biquad_coefficients()
249 gdouble es, vx; in generate_biquad_coefficients() local
252 vx = (1.0 / np) * asinh (es); in generate_biquad_coefficients()
253 rp = rp * sinh (vx); in generate_biquad_coefficients()
254 ip = ip * cosh (vx); in generate_biquad_coefficients()
/third_party/mindspore/tests/ut/python/parallel/
Dtest_dynamic_shape.py73 vx = self.mul(weight, self.mul_weight)
74 return vx
107 vx = self.mul(weight, self.mul_weight)
108 return vx
/third_party/gstreamer/gstplugins_good/gst/goom/
Dflying_stars_fx.c76 float vx, vy; member
189 fs->stars[i].vx = ro * cos256[theta]; in addABomb()
208 s->x += s->vx; in updateStar()
210 s->vx += s->ax; in updateStar()
327 (int) (data->stars[i].x - data->stars[i].vx * 6), in fs_apply()
332 (int) (data->stars[i].x - data->stars[i].vx * 2), in fs_apply()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_setup_analysis.c80 make_vert(const float (*vx)[4], in make_vert()
84 out[0][0] = vx[0][0]; in make_vert()
86 out[0][2] = vx[0][2]; in make_vert()
87 out[0][3] = vx[0][3]; in make_vert()
88 out[1][0] = vx[1][0]; in make_vert()
/third_party/ffmpeg/libswscale/ppc/
Dyuv2rgb_altivec.c260 vector signed short vx, ux, uvx; in cvtyuvtoRGB() local
273 vx = vec_sl(V, c->CSHIFT); in cvtyuvtoRGB()
274 *R = vec_mradds(vx, c->CRV, Y); in cvtyuvtoRGB()
312 vector signed short vx, ux, uvx; \
386 vx = vec_sl(V, lCSHIFT); \
387 vx = vec_mradds(vx, lCRV, (vector signed short) { 0 }); \
388 vx0 = vec_mergeh(vx, vx); \
389 vx1 = vec_mergel(vx, vx); \
/third_party/boost/libs/core/test/
Daddressof_test2.cpp38 volatile T& vx = *px; in scalar_test() local
39 volatile T* pvx = boost::addressof(vx); in scalar_test()
Daddressof_test.cpp36 volatile T& vx = *px; in scalar_test() local
37 volatile T* pvx = boost::addressof(vx); in scalar_test()
/third_party/flutter/skia/src/opts/
DSkBitmapProcState_opts.h267 uint16x4_t vx, vconst16_16, v16_x, tmp, vscale; in filter_and_scale_by_alpha() local
283 vx = vdup_n_u16(x); // duplicate x into vx in filter_and_scale_by_alpha()
285 v16_x = vsub_u16(vconst16_16, vx); // v16_x = 16-x in filter_and_scale_by_alpha()
287 tmp = vmul_u16(vget_high_u16(tmp1), vx); // tmp = a01 * x in filter_and_scale_by_alpha()
288 tmp = vmla_u16(tmp, vget_high_u16(tmp2), vx); // tmp += a11 * x in filter_and_scale_by_alpha()

12345