Searched refs:nx (Results 1 - 25 of 101) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A D3d-morph.js27 var nx = 120
31 var PI2nx = Math.PI * 8/nx
36 for (var j = 0; j < nx; ++j) {
37 a[3*(i*nx+j)+1] = sin((j-1) * PI2nx ) * -f30
44 for (var i=0; i < nx*nz*3; ++i)
52 for (var i = 0; i < nx; i++)
53 testOutput += a[3*(i*nx+i)+1];
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A D3d-morph.js27 var nx = 120
31 var PI2nx = Math.PI * 8/nx
36 for (var j = 0; j < nx; ++j) {
37 a[3*(i*nx+j)+1] = sin((j-1) * PI2nx ) * -f30
44 for (var i=0; i < nx*nz*3; ++i)
52 for (var i = 0; i < nx; i++)
53 testOutput += a[3*(i*nx+i)+1];
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
H A D3d-morph.js27 var nx = 120
31 var PI2nx = Math.PI * 8/nx
36 for (var j = 0; j < nx; ++j) {
37 a[3*(i*nx+j)+1] = sin((j-1) * PI2nx ) * -f30
44 for (var i=0; i < nx*nz*3; ++i)
52 for (var i = 0; i < nx; i++)
53 testOutput += a[3*(i*nx+i)+1];
/external/opencv/cxcore/src/
H A Dcxdxt.cpp439 int n0 = n, f_idx, nx;
552 nx = n;
563 v1 = v0 + nx*2;
566 r1 = v0[nx].re; i1 = v0[nx].im;
571 i3 = v1[nx].re; r3 = v1[nx].im;
579 v0[nx].re = r2 + r3; v0[nx].im = i2 + i3;
580 v1[nx]
[all...]
/external/chromium_org/third_party/skia/src/effects/
H A DSkEmbossMask.cpp109 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)]; local
112 SkFixed numer = lx * nx + ly * ny + lz_dot_nz;
118 int denom = SkSqrt32(nx * nx + ny * ny + kDelta*kDelta);
126 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20;
/external/skia/src/effects/
H A DSkEmbossMask.cpp109 int nx = alpha[x + neq_to_one(x, maxx)] - alpha[x - nonzero_to_one(x)]; local
112 SkFixed numer = lx * nx + ly * ny + lz_dot_nz;
118 int denom = SkSqrt32(nx * nx + ny * ny + kDelta*kDelta);
126 SkFixed dot = (unsigned)(numer >> 4) * gInvSqrtTable[(SkAbs32(nx) >> 1 << 7) | (SkAbs32(ny) >> 1)] >> 20;
/external/chromium_org/third_party/skia/src/core/
H A DSkStrokerPriv.cpp27 SkScalar nx = normal.fX; local
29 SkScalar sx = SkScalarMul(nx, CUBIC_ARC_FACTOR);
32 path->cubicTo(px + nx + CWX(sx, sy), py + ny + CWY(sx, sy),
33 px + CWX(nx, ny) + sx, py + CWY(nx, ny) + sy,
34 px + CWX(nx, ny), py + CWY(nx, ny));
35 path->cubicTo(px + CWX(nx, ny) - sx, py + CWY(nx, ny) - sy,
36 px - nx
[all...]
/external/skia/src/core/
H A DSkStrokerPriv.cpp27 SkScalar nx = normal.fX; local
29 SkScalar sx = SkScalarMul(nx, CUBIC_ARC_FACTOR);
32 path->cubicTo(px + nx + CWX(sx, sy), py + ny + CWY(sx, sy),
33 px + CWX(nx, ny) + sx, py + CWY(nx, ny) + sy,
34 px + CWX(nx, ny), py + CWY(nx, ny));
35 path->cubicTo(px + CWX(nx, ny) - sx, py + CWY(nx, ny) - sy,
36 px - nx
[all...]
/external/opencv/cv/src/
H A Dcvcamshift.cpp97 int dx, dy, nx, ny; local
111 nx = cur_rect.x + dx;
114 if( nx < 0 )
115 nx = 0;
116 else if( nx + cur_rect.width > mat->cols )
117 nx = mat->cols - cur_rect.width;
124 dx = nx - cur_rect.x;
126 cur_rect.x = nx;
/external/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicSubDivide.cpp85 double nx = fx * 27 - ax - dx * 8; local
87 /* bx = */ dst[1].x = (mx * 2 - nx) / 18;
89 /* cx = */ dst[2].x = (nx * 2 - mx) / 18;
101 double nx = fx * 27 - a.x - d.x * 8; local
103 /* bx = */ dst[0].x = (mx * 2 - nx) / 18;
105 /* cx = */ dst[1].x = (nx * 2 - mx) / 18;
/external/skia/experimental/Intersection/
H A DCubicSubDivide.cpp85 double nx = fx * 27 - ax - dx * 8; local
87 /* bx = */ dst[1].x = (mx * 2 - nx) / 18;
89 /* cx = */ dst[2].x = (nx * 2 - mx) / 18;
101 double nx = fx * 27 - a.x - d.x * 8; local
103 /* bx = */ dst[0].x = (mx * 2 - nx) / 18;
105 /* cx = */ dst[1].x = (nx * 2 - mx) / 18;
/external/deqp/modules/gles2/accuracy/
H A Des2aVaryingInterpolationTests.cpp58 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) argument
60 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]);
79 float nx = wx / dstW; local
82 int triNdx = nx + ny >= 1.0f ? 1 : 0;
83 float triNx = triNdx ? 1.0f - nx : nx;
/external/deqp/modules/gles3/accuracy/
H A Des3aVaryingInterpolationTests.cpp61 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) argument
63 return (s[0]*(1.0f-nx-ny)/w[0] + s[1]*ny/w[1] + s[2]*nx/w[2]) / ((1.0f-nx-ny)/w[0] + ny/w[1] + nx/w[2]);
82 float nx = wx / dstW; local
85 int triNdx = nx + ny >= 1.0f ? 1 : 0;
86 float triNx = triNdx ? 1.0f - nx : nx;
/external/chromium_org/third_party/sqlite/src/src/
H A Dbitvec.c337 int i, nx, pc, op; local
359 nx = 4;
367 nx = 2;
372 if( (--aOp[pc+1]) > 0 ) nx = 0;
373 pc += nx;
/external/fdlibm/
H A De_rem_pio2.c92 int e0,i,j,nx,n,ix,hx; local
170 nx = 3;
171 while(tx[nx-1]==zero) nx--; /* skip zero term */
172 n = __kernel_rem_pio2(tx,y,e0,nx,2,two_over_pi);
H A Dk_rem_pio2.c15 * __kernel_rem_pio2(x,y,e0,nx,prec,ipio2)
16 * double x[],y[]; int e0,nx,prec; int ipio2[];
31 * x[] The input value (must be positive) is broken into nx
62 * nx dimension of x[]
90 * jx nx - 1
164 int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int *ipio2) argument
166 int __kernel_rem_pio2(x,y,e0,nx,prec,ipio2)
167 double x[], y[]; int e0,nx,prec; int ipio2[];
178 jx = nx-1;
/external/chromium_org/v8/third_party/fdlibm/
H A Dfdlibm.cc116 int __kernel_rem_pio2(double* x, double* y, int e0, int nx) { argument
119 int32_t jx = nx - 1;
270 int nx = 3; local
271 while (tx[nx - 1] == zero) nx--;
272 int n = __kernel_rem_pio2(tx, y, e0, nx);
/external/clang/test/SemaCXX/
H A Dnamespace-alias.cpp116 A::X nx; variable
/external/fonttools/Lib/fontTools/pens/
H A DbasePen.py266 nx, ny = points[0] # first off-curve point
267 impliedStartPoint = (0.5 * (x + nx), 0.5 * (y + ny))
333 nx, ny = points[i+1]
334 impliedPt = (0.5 * (x + nx), 0.5 * (y + ny))
/external/fonttools/Tools/fontTools/pens/
H A DbasePen.py266 nx, ny = points[0] # first off-curve point
267 impliedStartPoint = (0.5 * (x + nx), 0.5 * (y + ny))
333 nx, ny = points[i+1]
334 impliedPt = (0.5 * (x + nx), 0.5 * (y + ny))
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/xdf/tests/
H A Dxdflong.asm36 ; pageDirectory2M addr, nx, a, pcd, pwt, u, w, p
44 ; pageEntry2M addr, nx, pat, g, d, a, pcd, pwt, u, w, p
200 ; pageEntry addr, nx, pat, g, d, a, pcd, pwt, u, w, p
207 ; pageDirPointer addr, nx, a, pcd, pwt, u, w, p
213 ; pageDirectory addr, nx, a, pcd, pwt, u, w, p
/external/chromium_org/third_party/skia/tools/skpdiff/
H A DSkPMetric.cpp233 int nx = x;
247 nx += xx;
248 if (nx < 0) {
249 nx = -nx;
251 if (nx >= imageL->width) {
252 nx = imageL->width + (imageL->width - nx - 1);
257 lSum += rowPtrs[ny - y + radius][nx] * weight;
/external/pixman/pixman/
H A Dpixman-trap.c107 int nx = (ne + e->dy - 1) / e->dy; local
108 e->e = ne - nx * (pixman_fixed_48_16_t) e->dy;
109 e->x += nx * e->signdx;
116 int nx = (-ne) / e->dy; local
117 e->e = ne + nx * (pixman_fixed_48_16_t) e->dy;
118 e->x -= nx * e->signdx;
141 int nx = ne / e->dy; local
142 ne -= nx * (pixman_fixed_48_16_t)e->dy;
143 stepx += nx * e->signdx;
/external/skia/tools/skpdiff/
H A DSkPMetric.cpp233 int nx = x;
247 nx += xx;
248 if (nx < 0) {
249 nx = -nx;
251 if (nx >= imageL->width) {
252 nx = imageL->width + (imageL->width - nx - 1);
257 lSum += rowPtrs[ny - y + radius][nx] * weight;
/external/aac/libAACdec/src/
H A Dblock.h253 USHORT nx=16-x;
254 UINT temp=(r0)*nx+(r1)*x;

Completed in 4817 milliseconds

12345