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

1234

/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;
H A Dcvsmooth.cpp805 int nx = (m + 1)/2 - 1;
816 if( size.height < nx || size.width < nx )
899 nx++;
901 if( nx < m )
902 x0 = x < m/2 ? 0 : (nx-1)*cn;
915 UPDATE_ACC01( src_bottom[x0+c], c, += (m - nx) );
916 for( k = 0; k < nx*cn; k += cn )
922 UPDATE_ACC01( src_bottom[x0+c], c, += (m - nx)*(m/2+1) );
923 for( k = 0; k < nx*c
[all...]
/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/clang/test/SemaCXX/
H A Dnamespace-alias.cpp116 A::X nx; variable
/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/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.cpp223 int nx = x;
237 nx += xx;
238 if (nx < 0) {
239 nx = -nx;
241 if (nx >= imageL->width) {
242 nx = imageL->width + (imageL->width - nx - 1);
247 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;
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
H A Dd3d11gears.cpp73 vertex(float x, float y, float z, float nx, float ny, float nz) argument
78 normal[0] = nx;
84 #define VERT(x, y, z) vertices.push_back(vertex((x), (y), (z), (nx), (ny), (nz)))
91 float nx, ny, nz; local
126 nx = 0.0f;
190 nx = -dy / len;
210 nx = -dc[i];
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/
H A Dd3d11gears.cpp73 vertex(float x, float y, float z, float nx, float ny, float nz) argument
78 normal[0] = nx;
84 #define VERT(x, y, z) vertices.push_back(vertex((x), (y), (z), (nx), (ny), (nz)))
91 float nx, ny, nz; local
126 nx = 0.0f;
190 nx = -dy / len;
210 nx = -dc[i];
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsCubic.cpp411 double nx = fx * 27 - ax - dx * 8; local
413 /* bx = */ dst[1].fX = (mx * 2 - nx) / 18;
415 /* cx = */ dst[2].fX = (nx * 2 - mx) / 18;
440 double nx = fx * 27 - a.fX - d.fX * 8;
442 /* bx = */ dst[0].fX = (mx * 2 - nx) / 18;
444 /* cx = */ dst[1].fX = (nx * 2 - mx) / 18;
/external/skia/src/pathops/
H A DSkPathOpsCubic.cpp411 double nx = fx * 27 - ax - dx * 8; local
413 /* bx = */ dst[1].fX = (mx * 2 - nx) / 18;
415 /* cx = */ dst[2].fX = (nx * 2 - mx) / 18;
440 double nx = fx * 27 - a.fX - d.fX * 8;
442 /* bx = */ dst[0].fX = (mx * 2 - nx) / 18;
444 /* cx = */ dst[1].fX = (nx * 2 - mx) / 18;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_resource.h35 nvc0_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz);
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_resource.h35 nvc0_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz);
/external/chromium_org/native_client_sdk/src/examples/demo/earth/
H A Dearth.cc432 float nx = (px - planet_x_) * planet_one_over_radius_;
444 float d = (Lx * nx + Ly * ny + Lz * nz);
448 float ds = -(nx * planet_pole_x_ +
453 float dp = planet_equator_x_ * nx +
460 float dps = planet_pole_x_equator_x_ * nx +

Completed in 4244 milliseconds

1234