Home
last modified time | relevance | path

Searched refs:mx (Results 1 – 25 of 273) sorted by relevance

1234567891011

/third_party/ffmpeg/libavcodec/mips/
Dvp8dsp_mips.h42 int h, int mx, int my);
45 int h, int mx, int my);
48 int h, int mx, int my);
51 int h, int mx, int my);
54 int h, int mx, int my);
57 int h, int mx, int my);
60 int h, int mx, int my);
63 int h, int mx, int my);
67 int h, int mx, int my);
70 int h, int mx, int my);
[all …]
Dvp8dsp_mmi.c1591 ptrdiff_t srcstride, int h, int mx, int my) in ff_put_vp8_epel16_h4_mmi() argument
1594 const uint64_t *filter = fourtap_subpel_filters[mx - 1]; in ff_put_vp8_epel16_h4_mmi()
1654 const uint8_t *filter = subpel_filters[mx - 1]; in ff_put_vp8_epel16_h4_mmi()
1668 ptrdiff_t srcstride, int h, int mx, int my) in ff_put_vp8_epel8_h4_mmi() argument
1671 const uint64_t *filter = fourtap_subpel_filters[mx - 1]; in ff_put_vp8_epel8_h4_mmi()
1715 const uint8_t *filter = subpel_filters[mx - 1]; in ff_put_vp8_epel8_h4_mmi()
1729 ptrdiff_t srcstride, int h, int mx, int my) in ff_put_vp8_epel4_h4_mmi() argument
1732 const uint64_t *filter = fourtap_subpel_filters[mx - 1]; in ff_put_vp8_epel4_h4_mmi()
1770 const uint8_t *filter = subpel_filters[mx - 1]; in ff_put_vp8_epel4_h4_mmi()
1784 ptrdiff_t srcstride, int h, int mx, int my) in ff_put_vp8_epel16_h6_mmi() argument
[all …]
Dvp9dsp_mips.h28 int h, int mx, int my); \
33 int h, int mx, int my); \
38 int h, int mx, int my); \
43 int h, int mx, int my); \
48 int h, int mx, int my); \
53 int h, int mx, int my);
58 int h, int mx, int my); \
62 int h, int mx, int my); \
66 int h, int mx, int my); \
70 int h, int mx, int my); \
[all …]
/third_party/musl/porting/liteos_a/kernel/src/math/
Dfmodl.c38 uint64_t i, mx, my; in fmodl() local
39 mx = ux.i.m; in fmodl()
42 i = mx - my; in fmodl()
43 if (mx >= my) { in fmodl()
46 mx = 2*i; in fmodl()
47 } else if (2*mx < mx) { in fmodl()
48 mx = 2*mx - my; in fmodl()
50 mx = 2*mx; in fmodl()
53 i = mx - my; in fmodl()
54 if (mx >= my) { in fmodl()
[all …]
Dremquol.c40 uint64_t i, mx, my; in remquol() local
41 mx = ux.i.m; in remquol()
44 i = mx - my; in remquol()
45 if (mx >= my) { in remquol()
46 mx = 2*i; in remquol()
49 } else if (2*mx < mx) { in remquol()
50 mx = 2*mx - my; in remquol()
54 mx = 2*mx; in remquol()
58 i = mx - my; in remquol()
59 if (mx >= my) { in remquol()
[all …]
/third_party/musl/src/math/
Dfmodl.c38 uint64_t i, mx, my; in fmodl() local
39 mx = ux.i.m; in fmodl()
42 i = mx - my; in fmodl()
43 if (mx >= my) { in fmodl()
46 mx = 2*i; in fmodl()
47 } else if (2*mx < mx) { in fmodl()
48 mx = 2*mx - my; in fmodl()
50 mx = 2*mx; in fmodl()
53 i = mx - my; in fmodl()
54 if (mx >= my) { in fmodl()
[all …]
Dremquol.c40 uint64_t i, mx, my; in remquol() local
41 mx = ux.i.m; in remquol()
44 i = mx - my; in remquol()
45 if (mx >= my) { in remquol()
46 mx = 2*i; in remquol()
49 } else if (2*mx < mx) { in remquol()
50 mx = 2*mx - my; in remquol()
54 mx = 2*mx; in remquol()
58 i = mx - my; in remquol()
59 if (mx >= my) { in remquol()
[all …]
/third_party/musl/porting/uniproton/kernel/src/math/
Dfmodl.c38 uint64_t i, mx, my; in fmodl() local
39 mx = ux.i.m; in fmodl()
42 i = mx - my; in fmodl()
43 if (mx >= my) { in fmodl()
46 mx = 2*i; in fmodl()
47 } else if (2*mx < mx) { in fmodl()
48 mx = 2*mx - my; in fmodl()
50 mx = 2*mx; in fmodl()
53 i = mx - my; in fmodl()
54 if (mx >= my) { in fmodl()
[all …]
/third_party/musl/porting/liteos_m/kernel/src/math/
Dfmodl.c38 uint64_t i, mx, my; in fmodl() local
39 mx = ux.i.m; in fmodl()
42 i = mx - my; in fmodl()
43 if (mx >= my) { in fmodl()
46 mx = 2*i; in fmodl()
47 } else if (2*mx < mx) { in fmodl()
48 mx = 2*mx - my; in fmodl()
50 mx = 2*mx; in fmodl()
53 i = mx - my; in fmodl()
54 if (mx >= my) { in fmodl()
[all …]
/third_party/musl/libc-test/src/math/gen/
Dmp.c145 MPFR_DECL_INIT(mx, 24); in mpf1()
149 mpfr_set_flt(mx, p->x, MPFR_RNDN); in mpf1()
150 tn = fmp(my, mx, r); in mpf1()
160 MPFR_DECL_INIT(mx, 24); in mpf2()
165 mpfr_set_flt(mx, p->x, MPFR_RNDN); in mpf2()
167 tn = fmp(my, mx, mx2, r); in mpf2()
199 MPFR_DECL_INIT(mx, 53); in mpd1()
203 mpfr_set_d(mx, p->x, MPFR_RNDN); in mpd1()
204 tn = fmp(my, mx, r); in mpd1()
214 MPFR_DECL_INIT(mx, 53); in mpd2()
[all …]
/third_party/boost/libs/multiprecision/test/
Dtest_native_integer.cpp55 H mx = (std::numeric_limits<H>::max)(); in test() local
57 BOOST_CHECK_EQUAL(multiply(i, mx, mx), static_cast<I>(mx) * static_cast<I>(mx)); in test()
58 BOOST_CHECK_EQUAL(add(i, mx, mx), static_cast<I>(mx) + static_cast<I>(mx)); in test()
61 … BOOST_CHECK_EQUAL(subtract(i, mx, static_cast<H>(-mx)), static_cast<I>(mx) - static_cast<I>(-mx)); in test()
62 …BOOST_CHECK_EQUAL(add(i, static_cast<H>(-mx), static_cast<H>(-mx)), static_cast<I>(-mx) + static_c… in test()
/third_party/openssl/crypto/
Dex_data.c210 int mx, i; in CRYPTO_new_ex_data() local
221 mx = sk_EX_CALLBACK_num(ip->meth); in CRYPTO_new_ex_data()
222 if (mx > 0) { in CRYPTO_new_ex_data()
223 if (mx < (int)OSSL_NELEM(stack)) in CRYPTO_new_ex_data()
226 storage = OPENSSL_malloc(sizeof(*storage) * mx); in CRYPTO_new_ex_data()
228 for (i = 0; i < mx; i++) in CRYPTO_new_ex_data()
233 if (mx > 0 && storage == NULL) { in CRYPTO_new_ex_data()
237 for (i = 0; i < mx; i++) { in CRYPTO_new_ex_data()
256 int mx, j, i; in CRYPTO_dup_ex_data() local
269 mx = sk_EX_CALLBACK_num(ip->meth); in CRYPTO_dup_ex_data()
[all …]
/third_party/flutter/skia/src/core/
DSkMatrixPriv.h47 static bool SK_WARN_UNUSED_RESULT InverseMapRect(const SkMatrix& mx, in InverseMapRect() argument
49 if (mx.getType() <= SkMatrix::kTranslate_Mask) { in InverseMapRect()
50 SkScalar tx = mx.getTranslateX(); in InverseMapRect()
51 SkScalar ty = mx.getTranslateY(); in InverseMapRect()
60 if (mx.invert(&inverse)) { in InverseMapRect()
85 static void MapPointsWithStride(const SkMatrix& mx, SkPoint pts[], size_t stride, int count) { in MapPointsWithStride() argument
89 SkMatrix::TypeMask tm = mx.getType(); in MapPointsWithStride()
95 const SkScalar tx = mx.getTranslateX(); in MapPointsWithStride()
96 const SkScalar ty = mx.getTranslateY(); in MapPointsWithStride()
107 SkMatrix::MapXYProc proc = mx.getMapXYProc(); in MapPointsWithStride()
[all …]
DSkDraw_atlas.cpp72 SkMatrix mx; in drawAtlas() local
73 mx.setRSXform(xform[i]); in drawAtlas()
74 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
75 mx.postConcat(*fMatrix); in drawAtlas()
76 draw.fMatrix = &mx; in drawAtlas()
108 SkMatrix mx; in drawAtlas() local
109 mx.setRSXform(xform[i]); in drawAtlas()
110 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
111 mx.postConcat(*fMatrix); in drawAtlas()
113 updator->update(mx, nullptr); in drawAtlas()
[all …]
/third_party/skia/src/core/
DSkMarkerStack.cpp10 void SkMarkerStack::setMarker(uint32_t id, const SkM44& mx, void* boundary) { in setMarker() argument
14 SkAssertResult(mx.invert(&inv)); in setMarker()
23 it->fMatrix = mx; in setMarker()
29 fStack.push_back({boundary, mx, inv, id}); in setMarker()
32 bool SkMarkerStack::findMarker(uint32_t id, SkM44* mx) const { in findMarker()
36 if (mx) { in findMarker()
37 *mx = it->fMatrix; in findMarker()
45 bool SkMarkerStack::findMarkerInverse(uint32_t id, SkM44* mx) const { in findMarkerInverse()
49 if (mx) { in findMarkerInverse()
50 *mx = it->fMatrixInverse; in findMarkerInverse()
DSkMatrixPriv.h47 static bool SK_WARN_UNUSED_RESULT InverseMapRect(const SkMatrix& mx, in InverseMapRect() argument
49 if (mx.getType() <= SkMatrix::kTranslate_Mask) { in InverseMapRect()
50 SkScalar tx = mx.getTranslateX(); in InverseMapRect()
51 SkScalar ty = mx.getTranslateY(); in InverseMapRect()
60 if (mx.invert(&inverse)) { in InverseMapRect()
85 static void MapPointsWithStride(const SkMatrix& mx, SkPoint pts[], size_t stride, int count) { in MapPointsWithStride() argument
89 SkMatrix::TypeMask tm = mx.getType(); in MapPointsWithStride()
95 const SkScalar tx = mx.getTranslateX(); in MapPointsWithStride()
96 const SkScalar ty = mx.getTranslateY(); in MapPointsWithStride()
107 SkMatrix::MapXYProc proc = mx.getMapXYProc(); in MapPointsWithStride()
[all …]
DSkDraw_atlas.cpp127 SkMatrix mx; in drawAtlas() local
128 mx.setRSXform(xform[i]); in drawAtlas()
129 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
130 SkPreConcatMatrixProvider matrixProvider(*fMatrixProvider, mx); in drawAtlas()
169 SkMatrix mx; in drawAtlas() local
170 mx.setRSXform(xform[i]); in drawAtlas()
171 mx.preTranslate(-textures[i].fLeft, -textures[i].fTop); in drawAtlas()
172 mx.postConcat(fMatrixProvider->localToDevice()); in drawAtlas()
174 if (updator->update(mx)) { in drawAtlas()
175 fill_rect(mx, *fRC, textures[i], blitter, &scratchPath); in drawAtlas()
[all …]
/third_party/ffmpeg/libavcodec/x86/
Dvp8dsp_init.c37 int height, int mx, int my);
40 int height, int mx, int my);
43 int height, int mx, int my);
46 int height, int mx, int my);
50 int height, int mx, int my);
53 int height, int mx, int my);
56 int height, int mx, int my);
59 int height, int mx, int my);
63 int height, int mx, int my);
66 int height, int mx, int my);
[all …]
Dhevcdsp.h41 …pt(int16_t *dst, uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int wid…
42 …, uint8_t *_src, ptrdiff_t _srcstride, int16_t *src2, int height, intptr_t mx, intptr_t my, int wi…
43 …ff_t _dststride, uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my, int wi…
44 …src, ptrdiff_t _srcstride, int height, int denom, int wx, int ox, intptr_t mx, intptr_t my, int wi…
45 …*src2, int height, int denom, int wx0, int wx1, int ox0, int ox1, intptr_t mx, intptr_t my, int wi…
97 …x2(int16_t *dst, uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int wid…
98 …x2(int16_t *dst, uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int wid…
99 …x2(int16_t *dst, uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int wid…
100 …x2(int16_t *dst, uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int wid…
101 …x2(int16_t *dst, uint8_t *_src, ptrdiff_t _srcstride, int height, intptr_t mx, intptr_t my,int wid…
[all …]
/third_party/musl/libc-test/src/regression/
Dpthread_cond_wait-cancel_ignored.c10 static pthread_mutex_t mx = PTHREAD_MUTEX_INITIALIZER; variable
18 pthread_mutex_unlock(&mx); in cleanup()
23 pthread_mutex_lock(&mx); in waiter()
27 while (waiting) pthread_cond_wait(&cv, &mx); in waiter()
37 pthread_mutex_lock(&mx); in main()
39 while (!waiting) pthread_cond_wait(&cv, &mx); in main()
46 while (waiting && !pthread_cond_timedwait(&cv, &mx, &ts)); in main()
49 pthread_mutex_unlock(&mx); in main()
/third_party/ffmpeg/libavcodec/
Dvp9recon.c307 int mx = mv->x, my = mv->y, th; in mc_luma_unscaled() local
310 x += mx >> 3; in mc_luma_unscaled()
312 mx &= 7; in mc_luma_unscaled()
322 if (x < !!mx * 3 || y < !!my * 3 || in mc_luma_unscaled()
323 x + !!mx * 4 > w - bw || y + !!my * 5 > h - bh) { in mc_luma_unscaled()
325 ref - !!my * 3 * ref_stride - !!mx * 3 * bytesperpixel, in mc_luma_unscaled()
327 bw + !!mx * 7, bh + !!my * 7, in mc_luma_unscaled()
328 x - !!mx * 3, y - !!my * 3, w, h); in mc_luma_unscaled()
329 ref = td->edge_emu_buffer + !!my * 3 * 160 + !!mx * 3 * bytesperpixel; in mc_luma_unscaled()
332 mc[!!mx][!!my](dst, dst_stride, ref, ref_stride, bh, mx << 1, my << 1); in mc_luma_unscaled()
[all …]
Dkmvc.c80 int mx, my; in kmvc_decode_intra_8x8() local
108 mx = val & 0xF; in kmvc_decode_intra_8x8()
110 … if ((l0x-mx) + 320*(l0y-my) < 0 || (l0x-mx) + 320*(l0y-my) > 320*197 - 4) { in kmvc_decode_intra_8x8()
116 BLK(ctx->cur, l0x + (j & 3) - mx, l0y + (j >> 2) - my); in kmvc_decode_intra_8x8()
133 mx = val & 0xF; in kmvc_decode_intra_8x8()
135 … if ((l1x-mx) + 320*(l1y-my) < 0 || (l1x-mx) + 320*(l1y-my) > 320*199 - 2) { in kmvc_decode_intra_8x8()
139 BLK(ctx->cur, l1x, l1y) = BLK(ctx->cur, l1x - mx, l1y - my); in kmvc_decode_intra_8x8()
141 BLK(ctx->cur, l1x + 1 - mx, l1y - my); in kmvc_decode_intra_8x8()
143 BLK(ctx->cur, l1x - mx, l1y + 1 - my); in kmvc_decode_intra_8x8()
145 BLK(ctx->cur, l1x + 1 - mx, l1y + 1 - my); in kmvc_decode_intra_8x8()
[all …]
Dmotion_est_template.c56 const int mx = *mx_ptr; in hpel_motion_search() local
60 int bx=2*mx, by=2*my; in hpel_motion_search()
77 dmin= cmp(s, mx, my, 0, 0, size, h, ref_index, src_index, cmp_sub, chroma_cmp_sub, flags); in hpel_motion_search()
78 if(mx || my || size>0) in hpel_motion_search()
79 dmin += (mv_penalty[2*mx - pred_x] + mv_penalty[2*my - pred_y])*penalty_factor; in hpel_motion_search()
82 if (mx > xmin && mx < xmax && in hpel_motion_search()
85 const int index = my * (1 << ME_MAP_SHIFT) + mx; in hpel_motion_search()
98 key = (my - 1) * (1 << ME_MAP_MV_BITS) + (mx) + map_generation; in hpel_motion_search()
100 key = (my + 1) * (1 << ME_MAP_MV_BITS) + (mx) + map_generation; in hpel_motion_search()
102 key = (my) * (1 << ME_MAP_MV_BITS) + (mx + 1) + map_generation; in hpel_motion_search()
[all …]
/third_party/pulseaudio/src/pulsecore/
Dmemtrap.c136 pa_mutex *mx; in pa_memtrap_add() local
151 mx = pa_static_mutex_get(&mutex, false, true); in pa_memtrap_add()
152 pa_mutex_lock(mx); in pa_memtrap_add()
160 pa_mutex_unlock(mx); in pa_memtrap_add()
167 pa_mutex *mx; in pa_memtrap_remove() local
173 mx = pa_static_mutex_get(&mutex, false, true); in pa_memtrap_remove()
174 pa_mutex_lock(mx); in pa_memtrap_remove()
182 pa_mutex_unlock(mx); in pa_memtrap_remove()
189 pa_mutex *mx; in pa_memtrap_update() local
201 mx = pa_static_mutex_get(&mutex, false, true); in pa_memtrap_update()
[all …]
/third_party/skia/third_party/externals/tint/test/bug/tint/
D922.wgsl.expected.hlsl2 float4 mx;
8 float4 mx;
13 float4 mx;
43 return float3(m1.mx.x, m1.my.x, m1.mz.x);
49 return float3(m3.mx.y, m3.my.y, m3.mz.y);
55 return float3(m5.mx.z, m5.my.z, m5.mz.z);
61 return float3(m7.mx.w, m7.my.w, m7.mz.w);
69 return float4(dot(m9.mx, v1), dot(m9.my, v1), dot(m9.mz, v1), dot(m9.mw, v1));
77 return float3(dot(m11.mx, v3), dot(m11.my, v3), dot(m11.mz, v3));
85 return float2(dot(m13.mx, v5), dot(m13.my, v5));
[all …]

1234567891011