Home
last modified time | relevance | path

Searched refs:wx (Results 1 – 25 of 90) sorted by relevance

1234

/third_party/mesa3d/src/asahi/compiler/test/
Dtest-optimizer.cpp51 wx = agx_register(0, AGX_SIZE_32); in Optimizer()
64 agx_index wx, wy, wz, hx; member in Optimizer
69 CASE(agx_fadd_to(b, wz, agx_fmov(b, agx_abs(wx)), wy), in TEST_F()
70 agx_fadd_to(b, wz, agx_abs(wx), wy)); in TEST_F()
72 CASE(agx_fmul_to(b, wz, wx, agx_fmov(b, agx_neg(agx_abs(wx)))), in TEST_F()
73 agx_fmul_to(b, wz, wx, agx_neg(agx_abs(wx)))); in TEST_F()
78 CASE(agx_fmul_to(b, wz, wx, agx_mov(b, wy)), agx_fmul_to(b, wz, wx, wy)); in TEST_F()
79 CASE(agx_fmul_to(b, wz, agx_mov(b, wx), agx_mov(b, wy)), agx_fmul_to(b, wz, wx, wy)); in TEST_F()
84 NEGCASE(agx_p_combine_to(b, wx, agx_mov_imm(b, AGX_SIZE_32, 0), wy, wz, wz)); in TEST_F()
89 CASE(agx_fadd_to(b, wz, agx_abs(agx_mov(b, wx)), wy), in TEST_F()
[all …]
Dtest-lower-pseudo.cpp36 wx = agx_register(0, AGX_SIZE_32); in LowerPseudo()
46 agx_index wx, wy, wz; member in LowerPseudo
50 CASE(agx_mov_to(b, wx, wy), agx_bitop_to(b, wx, wy, agx_zero(), 0xA)); in TEST_F()
54 CASE(agx_not_to(b, wx, wy), agx_bitop_to(b, wx, wy, agx_zero(), 0x5)); in TEST_F()
58 CASE(agx_and_to(b, wx, wy, wz), agx_bitop_to(b, wx, wy, wz, 0x8)); in TEST_F()
59 CASE(agx_xor_to(b, wx, wy, wz), agx_bitop_to(b, wx, wy, wz, 0x6)); in TEST_F()
60 CASE(agx_or_to(b, wx, wy, wz), agx_bitop_to(b, wx, wy, wz, 0xE)); in TEST_F()
/third_party/ffmpeg/tests/checkasm/
Dhevc_pel.c162 const int *denom, *wx, *ox; in checkasm_check_hevc_qpel_uni_w() local
164 … int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width); in checkasm_check_hevc_qpel_uni_w()
182 for (wx = weights; *wx >= 0; wx++) { in checkasm_check_hevc_qpel_uni_w()
185 …e] * SIZEOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, sizes[size], *denom, *wx, *ox, i, j, sizes[si… in checkasm_check_hevc_qpel_uni_w()
186 …e] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], *denom, *wx, *ox, i, j, sizes[si… in checkasm_check_hevc_qpel_uni_w()
189 …e] * SIZEOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, sizes[size], *denom, *wx, *ox, i, j, sizes[si… in checkasm_check_hevc_qpel_uni_w()
256 const int *denom, *wx, *ox; in checkasm_check_hevc_qpel_bi_w() local
278 for (wx = weights; *wx >= 0; wx++) { in checkasm_check_hevc_qpel_bi_w()
281 …EOF_PIXEL, src0, sizes[size] * SIZEOF_PIXEL, ref0, sizes[size], *denom, *wx, *wx, *ox, *ox, i, j, … in checkasm_check_hevc_qpel_bi_w()
282 …EOF_PIXEL, src1, sizes[size] * SIZEOF_PIXEL, ref1, sizes[size], *denom, *wx, *wx, *ox, *ox, i, j, … in checkasm_check_hevc_qpel_bi_w()
[all …]
/third_party/skia/src/opts/
DSkBitmapProcState_opts.h58 skvx::Vec<8,uint32_t> x0,x1,wx; in S32_alpha_D32_filter_DX() local
59 decode_packed_coordinates_and_weight(packed_x_coordinates, &x0, &x1, &wx); in S32_alpha_D32_filter_DX()
62 wx = (wx << 0) in S32_alpha_D32_filter_DX()
63 | (wx << 8) in S32_alpha_D32_filter_DX()
64 | (wx << 16) in S32_alpha_D32_filter_DX()
65 | (wx << 24); in S32_alpha_D32_filter_DX()
90 wr = skvx::bit_pun<__m256i>(wx), in S32_alpha_D32_filter_DX()
136 lerp(to_16x4(tr), to_16x4(br), wy), to_16x4(wx)); in S32_alpha_D32_filter_DX()
247 __m128i wx; in S32_alpha_D32_filter_DX() local
253 wx = _mm_and_si128(_mm_srli_epi32(packed, 14), _mm_set1_epi32(0xf)); // [0,15] in S32_alpha_D32_filter_DX()
[all …]
/third_party/skia/third_party/externals/libpng/contrib/tools/
Dgenpng.c326 double wx = bicubic[abs(dx)][0]; in alpha_calc() local
328 if (wx != 0 && arg->inside_fn(arg, x+dx/16, y+dy/16)) in alpha_calc()
329 alphay += wx; in alpha_calc()
387 double wx = fabs(arg->x1-arg->x2)/2; in square_check_line() local
391 if (square_check(x, y, cx-wx-w, cy-wy-w, cx+wx+w, cy+wy+w)) in square_check_line()
396 wx -= w; in square_check_line()
398 if (wx > 0 && wy > 0 && square_check(x, y, cx-wx, cy-wy, cx+wx, cy+wy)) in square_check_line()
496 double wx = fabs(arg->x1-arg->x2)/2; in circle_check_line() local
500 if (circle_check(x, y, cx-wx-w, cy-wy-w, cx+wx+w, cy+wy+w)) in circle_check_line()
505 wx -= w; in circle_check_line()
[all …]
/third_party/flutter/skia/third_party/externals/libpng/contrib/tools/
Dgenpng.c326 double wx = bicubic[abs(dx)][0]; in alpha_calc() local
328 if (wx != 0 && arg->inside_fn(arg, x+dx/16, y+dy/16)) in alpha_calc()
329 alphay += wx; in alpha_calc()
387 double wx = fabs(arg->x1-arg->x2)/2; in square_check_line() local
391 if (square_check(x, y, cx-wx-w, cy-wy-w, cx+wx+w, cy+wy+w)) in square_check_line()
396 wx -= w; in square_check_line()
398 if (wx > 0 && wy > 0 && square_check(x, y, cx-wx, cy-wy, cx+wx, cy+wy)) in square_check_line()
496 double wx = fabs(arg->x1-arg->x2)/2; in circle_check_line() local
500 if (circle_check(x, y, cx-wx-w, cy-wy-w, cx+wx+w, cy+wy+w)) in circle_check_line()
505 wx -= w; in circle_check_line()
[all …]
/third_party/flutter/skia/src/opts/
DSkBitmapProcState_opts.h127 __m128i wx; in S32_alpha_D32_filter_DX() local
128 decode_packed_coordinates_and_weight(xx, x0, x1, &wx); in S32_alpha_D32_filter_DX()
132 __m128i wx1 = _mm_shuffle_epi8(wx, _mm_setr_epi8(0,0,0,0,4,4,4,4,8,8,8,8,12,12,12,12)), in S32_alpha_D32_filter_DX()
164 int x0, x1, wx; in S32_alpha_D32_filter_DX() local
165 decode_packed_coordinates_and_weight(*xy++, &x0, &x1, &wx); in S32_alpha_D32_filter_DX()
168 __m128i wx1 = _mm_set1_epi8(wx), // This splats it out 16 times, but that's fine. in S32_alpha_D32_filter_DX()
208 int x0, x1, wx; in S32_alpha_D32_filter_DX() local
209 decode_packed_coordinates_and_weight(*xy++, &x0, &x1, &wx); in S32_alpha_D32_filter_DX()
223 a00a10 = _mm_mullo_epi16(a00a10, _mm_set1_epi16(16-wx)); in S32_alpha_D32_filter_DX()
232 a01a11 = _mm_mullo_epi16(a01a11, _mm_set1_epi16(wx)); in S32_alpha_D32_filter_DX()
[all …]
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-golang/parse-number-fxx-test-data/slowstrconv/
Dslowstrconv.go242 wx := 0
272 if wx < hpdPrecision {
273 h.digits[wx] = newDigit
274 wx++
280 h.numDigits = uint16(wx)
295 wx := int(h.numDigits - 1 + numNewDigits)
304 if wx < hpdPrecision {
305 h.digits[wx] = uint8(rem)
311 wx--
/third_party/vk-gl-cts/framework/opengl/
DgluTextureTestUtil.cpp296 static inline float triDerivateX (const tcu::Vec3& s, const tcu::Vec3& w, float wx, float width, fl… in triDerivateX() argument
298 float d = w[1]*w[2]*(width*(ny - 1.0f) + wx) - w[0]*(w[2]*width*ny + w[1]*wx); in triDerivateX()
309 …iLod (LodMode mode, const tcu::Vec3& u, const tcu::Vec3& projection, float wx, float wy, float wid… in computeProjectedTriLod() argument
312 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod()
313 float dudy = triDerivateY(u, projection, wy, height, wx/width); in computeProjectedTriLod()
319 …const tcu::Vec3& u, const tcu::Vec3& v, const tcu::Vec3& projection, float wx, float wy, float wid… in computeProjectedTriLod() argument
322 float dudx = triDerivateX(u, projection, wx, width, wy/height); in computeProjectedTriLod()
323 float dvdx = triDerivateX(v, projection, wx, width, wy/height); in computeProjectedTriLod()
324 float dudy = triDerivateY(u, projection, wy, height, wx/width); in computeProjectedTriLod()
325 float dvdy = triDerivateY(v, projection, wy, height, wx/width); in computeProjectedTriLod()
[all …]
/third_party/libwebsockets/minimal-examples/api-tests/api-test-cose/
Dkeys.c681 lws_lec_pctx_t wx; in test_cose_keys()
684 lws_lec_init(&wx, buf, sizeof(buf)); in test_cose_keys()
686 if (lws_lec_printf(&wx, in test_cose_keys()
697 lws_hex_from_byte_array(buf, wx.used, (char *)dump, sizeof(dump)); in test_cose_keys()
701 lws_lec_pctx_t wx; in test_cose_keys()
704 lws_lec_init(&wx, buf, sizeof(buf)); in test_cose_keys()
706 if (lws_lec_printf(&wx, in test_cose_keys()
714 lws_hex_from_byte_array(buf, wx.used, (char *)dump, sizeof(dump)); in test_cose_keys()
/third_party/python/Objects/
Dfloatobject.c610 double vx, wx; in float_rem() local
613 CONVERT_TO_DOUBLE(w, wx); in float_rem()
614 if (wx == 0.0) { in float_rem()
619 mod = fmod(vx, wx); in float_rem()
622 if ((wx < 0) != (mod < 0)) { in float_rem()
623 mod += wx; in float_rem()
630 mod = copysign(0.0, wx); in float_rem()
636 _float_div_mod(double vx, double wx, double *floordiv, double *mod) in _float_div_mod() argument
639 *mod = fmod(vx, wx); in _float_div_mod()
646 div = (vx - *mod) / wx; in _float_div_mod()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_ciescope.c1189 int wx, wy; in plot_white_point() local
1194 wx = (w - 1) * wup; in plot_white_point()
1199 wx = (w - 1) * wu; in plot_white_point()
1202 wx = (w - 1) * cs->xWhite; in plot_white_point()
1209 wx + Sz(3), wy, wx + Sz(10), wy, in plot_white_point()
1212 wx - Sz(3), wy, wx - Sz(10), wy, in plot_white_point()
1215 wx, wy + Sz(3), wx, wy + Sz(10), in plot_white_point()
1218 wx, wy - Sz(3), wx, wy - Sz(10), in plot_white_point()
1390 int wx, wy; in filter_frame() local
1406 wx = (w - 1) * cx; in filter_frame()
[all …]
Dvf_shear.c139 const int wx = vsub * shx * height * 0.5f / hsub; \
150 int sx = x + vsub * shx * y / hsub - wx; \
186 const float wx = vsub * shx * height * 0.5f / hsub; \
197 const float sx = x + vsub * shx * y / hsub - wx; \
/third_party/flutter/flutter/packages/flutter/lib/src/painting/
Dmatrix_utils.dart254 // (wx,wy) = delta transform of the (w, 0) width relative vector
268 // corner2 = corner1 + dTransformed width vector = (rx+wx, ry+wy)
270 // corner4 = corner1 + both dTransformed vectors = (rx+wx+hx, ry+wy+hy)
297 // wx and hx have the same sign, then the limiting point in the bounding
311 // | ---- >(+wx,+wy)
316 // +---------------(+wx+hx,+wy+hy)----------+
320 // wx would be a positive number
324 // As a result, wx pushes out the right wall, hx pushes out the left wall,
326 // wx,hx pair (of opposite signs) worked on opposite walls and the final
333 // conditionally adding wx, wy, hx, and hy to either the left or top
[all …]
/third_party/node/deps/npm/node_modules/lockfile/
Dlockfile.js3 var wx = 'wx' variable
6 wx = c.O_TRUNC | c.O_CREAT | c.O_WRONLY | c.O_EXCL
167 fs.open(path, wx, function (er, fd) {
277 var fd = fs.openSync(path, wx)
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_sdl.cpp233 int wx, wy; in ImGui_ImplSDL2_UpdateMousePosAndButtons() local
234 SDL_GetWindowPosition(focused_window, &wx, &wy); in ImGui_ImplSDL2_UpdateMousePosAndButtons()
236 mx -= wx; in ImGui_ImplSDL2_UpdateMousePosAndButtons()
/third_party/ffmpeg/libavcodec/
Dhevcdsp_template.c555 … int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width) in FUNC()
572 dst[x] = av_clip_pixel((((src[x] << (14 - BIT_DEPTH)) * wx + offset) >> shift) + ox); in FUNC()
872 int height, int denom, int wx, int ox, in FUNC()
891 … dst[x] = av_clip_pixel((((QPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox); in FUNC()
927 int height, int denom, int wx, int ox, in FUNC()
946 …dst[x] = av_clip_pixel((((QPEL_FILTER(src, srcstride) >> (BIT_DEPTH - 8)) * wx + offset) >> shift)… in FUNC()
982 int height, int denom, int wx, int ox, in FUNC()
1015 … dst[x] = av_clip_pixel((((QPEL_FILTER(tmp, MAX_PB_SIZE) >> 6) * wx + offset) >> shift) + ox); in FUNC()
1314 … int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width) in FUNC()
1332 … dst[x] = av_clip_pixel((((EPEL_FILTER(src, 1) >> (BIT_DEPTH - 8)) * wx + offset) >> shift) + ox); in FUNC()
[all …]
Dhevcdsp.h79 … int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width);
94 … int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int width);
/third_party/skia/include/third_party/skcms/
Dskcms.h357 SKCMS_API bool skcms_AdaptToXYZD50(float wx, float wy,
365 float wx, float wy,
/third_party/ltp/testcases/network/nfs/nfs_stress/
Dnfs02.sh45 ROD chmod a-wx ascii.sm
/third_party/skia/tests/sksl/shared/
DSwizzleOpt.glsl15 v = vec4(1.0, 1.0, v.wx);
DSwizzleOpt.metal25 v = half4(1.0h, 1.0h, v.wx);
/third_party/gstreamer/gstplugins_bad/gst/dvbsuboverlay/
Dgstdvbsuboverlay.c912 gint width, height, dw, dh, wx, wy; in gst_dvbsub_overlay_subs_to_comp() local
928 wx = subs->display_def.window_x; in gst_dvbsub_overlay_subs_to_comp()
932 wx, wy); in gst_dvbsub_overlay_subs_to_comp()
934 wx = 0; in gst_dvbsub_overlay_subs_to_comp()
977 rx = gst_util_uint64_scale (wx + srect->x, width, dw); in gst_dvbsub_overlay_subs_to_comp()
/third_party/vk-gl-cts/modules/gles2/accuracy/
Des2aVaryingInterpolationTests.cpp78 float wx = (float)px + 0.5f; in renderReference() local
80 float nx = wx / dstW; in renderReference()
/third_party/vk-gl-cts/modules/gles3/accuracy/
Des3aVaryingInterpolationTests.cpp80 float wx = (float)px + 0.5f; in renderReference() local
82 float nx = wx / dstW; in renderReference()

1234