Searched defs:xy (Results 51 - 75 of 118) sorted by relevance

12345

/external/skia/src/pathops/
H A DSkPathOpsLine.cpp56 double SkDLine::exactPoint(const SkDPoint& xy) const {
57 if (xy == fPts[0]) { // do cheapest test first
60 if (xy == fPts[1]) {
66 double SkDLine::nearPoint(const SkDPoint& xy, bool* unequal) const { argument
67 if (!AlmostBetweenUlps(fPts[0].fX, xy.fX, fPts[1].fX)
68 || !AlmostBetweenUlps(fPts[0].fY, xy.fY, fPts[1].fY)) {
74 SkDVector ab0 = xy - fPts[0];
81 double dist = realPt.distance(xy); // OPTIMIZATION: can we compare against distSq instead ?
97 bool SkDLine::nearRay(const SkDPoint& xy) const {
101 SkDVector ab0 = xy
126 ExactPointH(const SkDPoint& xy, double left, double right, double y) argument
138 NearPointH(const SkDPoint& xy, double left, double right, double y) argument
161 ExactPointV(const SkDPoint& xy, double top, double bottom, double x) argument
173 NearPointV(const SkDPoint& xy, double top, double bottom, double x) argument
[all...]
H A DSkPathOpsPoint.h59 double xy = fX * a.fY; local
61 return AlmostEqualUlps(xy, yx) ? 0 : xy - yx;
H A DSkDCubicLineIntersection.cpp325 SkDPoint xy = fCubic.ptAtT(t); local
329 return (xy.fX - fLine[0].fX) / dx;
331 return (xy.fY - fLine[0].fY) / dy;
/external/webp/src/dsp/
H A Dlossless_mips32.c254 const uint32_t xy = X[i] + Y[i]; local
257 if (xy == xy_next) {
260 temp0 = (xy != 0);
265 const uint32_t xy = X[i] + Y[i]; local
267 temp0 = (xy != 0);
/external/webrtc/src/modules/audio_processing/aec/
H A Daec_resampler.c177 float xy = 0; local
216 xy += n * cumSum;
228 skew = (xy - xAvg*y) / denom;
/external/chromium_org/chrome/browser/themes/
H A Dbrowser_theme_pack_unittest.cc332 int xy = 0; local
333 SkColor color = rep3.sk_bitmap().getColor(xy, xy);
334 normal.push_back(std::make_pair(xy, color));
335 for (int xy = 0; xy < 40; ++xy) {
336 SkColor next_color = rep3.sk_bitmap().getColor(xy, xy);
339 normal.push_back(std::make_pair(xy, colo
353 int xy = 2 * normal[i].first; local
[all...]
/external/chromium_org/third_party/opus/src/celt/
H A Dpitch.c409 opus_val32 xy,xx,yy,xy2; local
429 dual_inner_prod(x, x, x-T0, N, &xx, &xy);
438 best_xy = xy;
447 g = g0 = VSHR32(MULT16_32_Q15(celt_rsqrt_norm(t), xy),sh+1);
450 g = g0 = xy/celt_sqrt(1+xx*yy);
473 dual_inner_prod(x, &x[-T1], &x[-T1b], N, &xy, &xy2);
474 xy += xy2;
483 g1 = VSHR32(MULT16_32_Q15(celt_rsqrt_norm(t), xy),sh+1);
486 g1 = xy/celt_sqrt(1+2.f*xx*1.f*yy);
503 best_xy = xy;
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkBitmapProcState_matrixProcs.cpp69 void ClampX_ClampY_nofilter_scale(const SkBitmapProcState& s, uint32_t xy[], argument
71 return NoFilterProc_Scale<ClampTileProcs, true>(s, xy, count, x, y);
73 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s, uint32_t xy[], argument
75 return NoFilterProc_Affine<ClampTileProcs>(s, xy, count, x, y);
318 static int nofilter_trans_preamble(const SkBitmapProcState& s, uint32_t** xy, argument
323 **xy = s.fIntTileProcY(SkScalarToFixed(pt.fY) >> 16,
325 *xy += 1; // bump the ptr
331 uint32_t xy[], int count, int x, int y) {
334 int xpos = nofilter_trans_preamble(s, &xy, x, y);
338 memset(xy,
330 clampx_nofilter_trans(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
378 repeatx_nofilter_trans(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
418 mirrorx_nofilter_trans(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
[all...]
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_matrix_neon.h26 uint32_t xy[], int count, int x, int y) {
41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY);
47 memset(xy, 0, count * sizeof(uint16_t));
56 decal_nofilter_scale_neon(xy, SkFractionalIntToFixed(fx),
70 int16_t *dst16 = (int16_t *)xy;
98 xy = (uint32_t *) dst16;
101 uint16_t* xx = (uint16_t*)xy;
109 uint32_t xy[], int count, int x, int y) {
136 int16_t *dst16 = (int16_t *) xy;
173 xy
25 SCALE_NOFILTER_NAME(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
108 AFFINE_NOFILTER_NAME(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
183 PERSP_NOFILTER_NAME(const SkBitmapProcState& s, uint32_t* SK_RESTRICT xy, int count, int x, int y) argument
288 SCALE_FILTER_NAME(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
353 AFFINE_FILTER_NAME(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
417 PERSP_FILTER_NAME(const SkBitmapProcState& s, uint32_t* SK_RESTRICT xy, int count, int x, int y) argument
[all...]
H A DSkBitmapProcState_opts_SSE2.cpp15 const uint32_t* xy,
24 uint32_t XY = *xy++;
54 uint32_t XX = *xy++; // x0:14 | 4 | x1:14
121 const uint32_t* xy,
130 uint32_t XY = *xy++;
164 uint32_t XX = *xy++; // x0:14 | 4 | x1:14
246 void ClampX_ClampY_filter_scale_SSE2(const SkBitmapProcState& s, uint32_t xy[], argument
263 *xy++ = ClampX_ClampY_pack_filter(fy, maxY, s.fFilterOneY);
272 while ((size_t(xy) & 0x0F) != 0) {
274 *xy
14 S32_opaque_D32_filter_DX_SSE2(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
120 S32_alpha_D32_filter_DX_SSE2(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
370 ClampX_ClampY_nofilter_scale_SSE2(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
490 ClampX_ClampY_filter_affine_SSE2(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
561 ClampX_ClampY_nofilter_affine_SSE2(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
640 S32_D16_filter_DX_SSE2(const SkBitmapProcState& s, const uint32_t* xy, int count, uint16_t* colors) argument
[all...]
H A DSkBitmapProcState_opts_SSSE3.cpp34 // @param xy is the location where the xy parameters for four pixels should be
48 inline void PrepareConstantsTwoPixelPairs(const uint32_t* xy, argument
57 const __m128i xx = _mm_loadu_si128(reinterpret_cast<const __m128i *>(xy));
80 // @param xy is the location where the xy parameters for four pixels should be
94 inline void PrepareConstantsTwoPixelPairsDXDY(const uint32_t* xy, argument
103 _mm_loadu_si128(reinterpret_cast<const __m128i *>(xy));
393 const uint32_t* xy,
407 const uint32_t XY = *xy
392 S32_generic_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
584 S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
710 S32_opaque_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
716 S32_alpha_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
722 S32_opaque_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
728 S32_alpha_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
736 S32_opaque_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
742 S32_alpha_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
748 S32_opaque_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
754 S32_alpha_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
[all...]
/external/chromium_org/third_party/skia/src/pathops/
H A DSkDCubicLineIntersection.cpp325 SkDPoint xy = fCubic.ptAtT(t); local
329 return (xy.fX - fLine[0].fX) / dx;
331 return (xy.fY - fLine[0].fY) / dy;
/external/clang/test/Analysis/
H A Dtaint-tester.c50 struct XYStruct xy = {2, 3, 11}; local
51 scanf("%d", &xy.y);
52 scanf("%d", &xy.x);
53 int tx = xy.x; // expected-warning + {{tainted}}
54 int ty = xy.y; // FIXME: This should be tainted as well.
55 char ntz = xy.z;// no warning
57 scanf("%d %d", &xy.y, &xy.x);
58 int ttx = xy.x; // expected-warning + {{tainted}}
59 int tty = xy
[all...]
/external/clang/test/SemaTemplate/
H A Dinstantiate-expr-2.cpp44 XY *xy = a1; local
/external/deqp/framework/common/
H A DtcuVector.hpp130 VecAccess<T, Size, 2> xy (void) { DE_ASSERT(Size >= 2); return VecAccess<T, Size, 2>(*this, 0, 1); } function in class:tcu::Vector
/external/libopus/celt/
H A Dpitch.c409 opus_val32 xy,xx,yy,xy2; local
429 dual_inner_prod(x, x, x-T0, N, &xx, &xy);
438 best_xy = xy;
447 g = g0 = VSHR32(MULT16_32_Q15(celt_rsqrt_norm(t), xy),sh+1);
450 g = g0 = xy/celt_sqrt(1+xx*yy);
473 dual_inner_prod(x, &x[-T1], &x[-T1b], N, &xy, &xy2);
474 xy += xy2;
483 g1 = VSHR32(MULT16_32_Q15(celt_rsqrt_norm(t), xy),sh+1);
486 g1 = xy/celt_sqrt(1+2.f*xx*1.f*yy);
503 best_xy = xy;
[all...]
/external/opencv/cv/src/
H A Dcvoptflowhs.cpp48 float xy; member in struct:__anon28090
261 II[address].xy = GradX * GradY;
284 II[address].xy = GradX * GradY;
308 II[address].xy = GradX * GradY;
371 II[address].xy * averageY + II[address].xt) * II[address].alpha;
374 (II[address].xy * averageX +
398 II[address].xy * averageY + II[address].xt) * II[address].alpha;
401 (II[address].xy * averageX +
427 II[address].xy * averageY + II[address].xt) * II[address].alpha;
430 (II[address].xy * average
[all...]
H A Dcvoptflowlk.cpp46 float xy; member in struct:__anon28091
317 II[address].xy = GradX * GradY;
337 II[address].xy = GradX * GradY;
360 II[address].xy = GradX * GradY;
378 WII[address].xy = 0;
388 WII[address].xy += II[address + jj].xy * Ker;
402 WII[address].xy = 0;
412 WII[address].xy += (II[address - jj].xy
[all...]
/external/skia/src/core/
H A DSkBitmapProcState_matrixProcs.cpp69 void ClampX_ClampY_nofilter_scale(const SkBitmapProcState& s, uint32_t xy[], argument
71 return NoFilterProc_Scale<ClampTileProcs, true>(s, xy, count, x, y);
73 void ClampX_ClampY_nofilter_affine(const SkBitmapProcState& s, uint32_t xy[], argument
75 return NoFilterProc_Affine<ClampTileProcs>(s, xy, count, x, y);
318 static int nofilter_trans_preamble(const SkBitmapProcState& s, uint32_t** xy, argument
323 **xy = s.fIntTileProcY(SkScalarToFixed(pt.fY) >> 16,
325 *xy += 1; // bump the ptr
331 uint32_t xy[], int count, int x, int y) {
334 int xpos = nofilter_trans_preamble(s, &xy, x, y);
338 memset(xy,
330 clampx_nofilter_trans(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
378 repeatx_nofilter_trans(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
418 mirrorx_nofilter_trans(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
[all...]
/external/skia/src/opts/
H A DSkBitmapProcState_matrix_neon.h26 uint32_t xy[], int count, int x, int y) {
41 *xy++ = TILEY_PROCF(SkFractionalIntToFixed(fx), maxY);
47 memset(xy, 0, count * sizeof(uint16_t));
56 decal_nofilter_scale_neon(xy, SkFractionalIntToFixed(fx),
70 int16_t *dst16 = (int16_t *)xy;
98 xy = (uint32_t *) dst16;
101 uint16_t* xx = (uint16_t*)xy;
109 uint32_t xy[], int count, int x, int y) {
136 int16_t *dst16 = (int16_t *) xy;
173 xy
25 SCALE_NOFILTER_NAME(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
108 AFFINE_NOFILTER_NAME(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
183 PERSP_NOFILTER_NAME(const SkBitmapProcState& s, uint32_t* SK_RESTRICT xy, int count, int x, int y) argument
288 SCALE_FILTER_NAME(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
353 AFFINE_FILTER_NAME(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
417 PERSP_FILTER_NAME(const SkBitmapProcState& s, uint32_t* SK_RESTRICT xy, int count, int x, int y) argument
[all...]
H A DSkBitmapProcState_opts_SSE2.cpp15 const uint32_t* xy,
24 uint32_t XY = *xy++;
54 uint32_t XX = *xy++; // x0:14 | 4 | x1:14
121 const uint32_t* xy,
130 uint32_t XY = *xy++;
164 uint32_t XX = *xy++; // x0:14 | 4 | x1:14
246 void ClampX_ClampY_filter_scale_SSE2(const SkBitmapProcState& s, uint32_t xy[], argument
263 *xy++ = ClampX_ClampY_pack_filter(fy, maxY, s.fFilterOneY);
272 while ((size_t(xy) & 0x0F) != 0) {
274 *xy
14 S32_opaque_D32_filter_DX_SSE2(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
120 S32_alpha_D32_filter_DX_SSE2(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
370 ClampX_ClampY_nofilter_scale_SSE2(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
490 ClampX_ClampY_filter_affine_SSE2(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
561 ClampX_ClampY_nofilter_affine_SSE2(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y) argument
640 S32_D16_filter_DX_SSE2(const SkBitmapProcState& s, const uint32_t* xy, int count, uint16_t* colors) argument
[all...]
H A DSkBitmapProcState_opts_SSSE3.cpp35 // @param xy is the location where the xy parameters for four pixels should be
49 inline void PrepareConstantsTwoPixelPairs(const uint32_t* xy, argument
58 const __m128i xx = _mm_loadu_si128(reinterpret_cast<const __m128i *>(xy));
81 // @param xy is the location where the xy parameters for four pixels should be
95 inline void PrepareConstantsTwoPixelPairsDXDY(const uint32_t* xy, argument
104 _mm_loadu_si128(reinterpret_cast<const __m128i *>(xy));
394 const uint32_t* xy,
408 const uint32_t XY = *xy
393 S32_generic_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
585 S32_generic_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
711 S32_opaque_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
717 S32_alpha_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
723 S32_opaque_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
729 S32_alpha_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
737 S32_opaque_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
743 S32_alpha_D32_filter_DX_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
749 S32_opaque_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
755 S32_alpha_D32_filter_DXDY_SSSE3(const SkBitmapProcState& s, const uint32_t* xy, int count, uint32_t* colors) argument
[all...]
/external/chromium_org/mojo/examples/sample_app/
H A Dspinning_cube.cc251 GLfloat xx, yy, zz, xy, yz, zx, xs, ys, zs; local
262 xy = x * y;
271 rotation.m[0][1] = (one_minus_cos * xy) - zs;
275 rotation.m[1][0] = (one_minus_cos * xy) + zs;
/external/chromium_org/ppapi/examples/compositor/
H A Dspinning_cube.cc235 GLfloat xx, yy, zz, xy, yz, zx, xs, ys, zs; local
246 xy = x * y;
255 rotation.m[0][1] = (one_minus_cos * xy) - zs;
259 rotation.m[1][0] = (one_minus_cos * xy) + zs;
/external/chromium_org/ppapi/examples/gles2_spinning_cube/
H A Dspinning_cube.cc251 GLfloat xx, yy, zz, xy, yz, zx, xs, ys, zs; local
262 xy = x * y;
271 rotation.m[0][1] = (one_minus_cos * xy) - zs;
275 rotation.m[1][0] = (one_minus_cos * xy) + zs;

Completed in 1076 milliseconds

12345