Searched defs:ny (Results 1 - 25 of 45) sorted by relevance

12

/external/chromium_org/third_party/skia/experimental/Intersection/
H A DCubicSubDivide.cpp86 double ny = fy * 27 - ay - dy * 8; local
88 /* by = */ dst[1].y = (my * 2 - ny) / 18;
90 /* cy = */ dst[2].y = (ny * 2 - my) / 18;
102 double ny = fy * 27 - a.y - d.y * 8; local
104 /* by = */ dst[0].y = (my * 2 - ny) / 18;
106 /* cy = */ dst[1].y = (ny * 2 - my) / 18;
/external/skia/experimental/Intersection/
H A DCubicSubDivide.cpp86 double ny = fy * 27 - ay - dy * 8; local
88 /* by = */ dst[1].y = (my * 2 - ny) / 18;
90 /* cy = */ dst[2].y = (ny * 2 - my) / 18;
102 double ny = fy * 27 - a.y - d.y * 8; local
104 /* by = */ dst[0].y = (my * 2 - ny) / 18;
106 /* cy = */ dst[1].y = (ny * 2 - my) / 18;
/external/chromium_org/third_party/skia/src/effects/
H A DSkEmbossMask.cpp110 int ny = alpha[x + next_row] - alpha[x - prev_row]; 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.cpp110 int ny = alpha[x + next_row] - alpha[x - prev_row]; 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/mesa/src/src/gallium/drivers/nv50/
H A Dnv50_miptree.c32 nv50_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz) argument
34 return nvc0_tex_choose_tile_dims(nx, ny * 2, nz);
H A Dnv50_surface.c224 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); local
231 nv50_m2mf_transfer_rect(nv50, &drect, &srect, nx, ny);
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/
H A Dnvc0_miptree.c32 nvc0_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz) argument
36 if (ny > 64) tile_mode = 0x040; /* height 128 tiles */
38 if (ny > 32) tile_mode = 0x030; /* height 64 tiles */
40 if (ny > 16) tile_mode = 0x020; /* height 32 tiles */
42 if (ny > 8) tile_mode = 0x010; /* height 16 tiles */
H A Dnvc0_surface.c231 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); local
238 nvc0->m2mf_copy_rect(nvc0, &drect, &srect, nx, ny);
/external/chromium_org/third_party/skia/src/core/
H A DSkStrokerPriv.cpp28 SkScalar ny = normal.fY; local
30 SkScalar sy = SkScalarMul(ny, 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 + CWX(sx, sy), py - ny
[all...]
/external/mesa3d/src/gallium/drivers/nv50/
H A Dnv50_miptree.c32 nv50_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz) argument
34 return nvc0_tex_choose_tile_dims(nx, ny * 2, nz);
H A Dnv50_surface.c224 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); local
231 nv50_m2mf_transfer_rect(nv50, &drect, &srect, nx, ny);
/external/mesa3d/src/gallium/drivers/nvc0/
H A Dnvc0_miptree.c32 nvc0_tex_choose_tile_dims(unsigned nx, unsigned ny, unsigned nz) argument
36 if (ny > 64) tile_mode = 0x040; /* height 128 tiles */
38 if (ny > 32) tile_mode = 0x030; /* height 64 tiles */
40 if (ny > 16) tile_mode = 0x020; /* height 32 tiles */
42 if (ny > 8) tile_mode = 0x010; /* height 16 tiles */
H A Dnvc0_surface.c231 unsigned ny = util_format_get_nblocksy(src->format, src_box->height); local
238 nvc0->m2mf_copy_rect(nvc0, &drect, &srect, nx, ny);
/external/opencv/cv/src/
H A Dcvcamshift.cpp97 int dx, dy, nx, ny; local
112 ny = cur_rect.y + dy;
119 if( ny < 0 )
120 ny = 0;
121 else if( ny + cur_rect.height > mat->rows )
122 ny = mat->rows - cur_rect.height;
125 dy = ny - cur_rect.y;
127 cur_rect.y = ny;
H A Dcvcontourtree.cpp599 double x13, y13, x12, y12, l_base, nx, ny, qq; local
611 ny = -x13 / l_base;
613 *h = nx * x12 + ny * y12;
617 *b = nx * y12 - ny * x12;
/external/skia/src/core/
H A DSkStrokerPriv.cpp28 SkScalar ny = normal.fY; local
30 SkScalar sy = SkScalarMul(ny, 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 + CWX(sx, sy), py - ny
[all...]
/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]);
80 float ny = wy / dstH; local
82 int triNdx = nx + ny >= 1.0f ? 1 : 0;
84 float triNy = triNdx ? 1.0f - ny : ny;
/external/deqp/modules/gles2/functional/
H A Des2fShaderBuiltinVarTests.cpp351 static inline float projectedTriInterpolate (const tcu::Vec3& s, const tcu::Vec3& w, float nx, float ny) argument
353 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]);
/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]);
83 float ny = wy / dstH; local
85 int triNdx = nx + ny >= 1.0f ? 1 : 0;
87 float triNy = triNdx ? 1.0f - ny : ny;
/external/chromium_org/third_party/libyuv/util/
H A Dpsnr_main.cc111 int ny = (y - 16) * 256 / 224; local
112 if (ny < 0) ny = 0;
113 if (ny > 255) ny = 255;
114 return static_cast<uint8>(ny);
/external/chromium_org/third_party/mesa/src/src/mesa/main/
H A Des1_conversion.c645 _es_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz) argument
648 (GLfloat) (ny / 65536.0f),
/external/mesa3d/src/mesa/main/
H A Des1_conversion.c645 _es_Normal3x(GLfixed nx, GLfixed ny, GLfixed nz) argument
648 (GLfloat) (ny / 65536.0f),
/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
79 normal[1] = ny;
84 #define VERT(x, y, z) vertices.push_back(vertex((x), (y), (z), (nx), (ny), (nz)))
91 float nx, ny, nz; local
127 ny = 0.0f;
191 ny = dx / len;
211 ny = -ds[i];
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/
H A Dcompute.c195 int ny = (target == PIPE_BUFFER ? 1 : local
213 for (y = 0; y < ny; ++y) {
239 int ny = (tex->target == PIPE_BUFFER ? 1 : local
258 for (y = 0; y < ny; ++y) {
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsCubic.cpp487 double ny = fy * 27 - ay - dy * 8; local
489 /* by = */ dst[1].fY = (my * 2 - ny) / 18;
491 /* cy = */ dst[2].fY = (ny * 2 - my) / 18;
516 double ny = fy * 27 - a.fY - d.fY * 8;
518 /* by = */ dst[0].fY = (my * 2 - ny) / 18;
520 /* cy = */ dst[1].fY = (ny * 2 - my) / 18;

Completed in 8010 milliseconds

12