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

12

/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;
H A Dcvshapedescr.cpp568 double x_s, y_s, nx, ny, dx, dy, du, dv; local
609 ny = pt_e.x - pt_s.x;
631 sk = nx * (xi - pt_s.x) + ny * (yi - pt_s.y);
657 dx = ny;
/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/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/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsCubic.cpp412 double ny = fy * 27 - ay - dy * 8; local
414 /* by = */ dst[1].fY = (my * 2 - ny) / 18;
416 /* cy = */ dst[2].fY = (ny * 2 - my) / 18;
441 double ny = fy * 27 - a.fY - d.fY * 8;
443 /* by = */ dst[0].fY = (my * 2 - ny) / 18;
445 /* cy = */ dst[1].fY = (ny * 2 - my) / 18;
/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/skia/src/pathops/
H A DSkPathOpsCubic.cpp412 double ny = fy * 27 - ay - dy * 8; local
414 /* by = */ dst[1].fY = (my * 2 - ny) / 18;
416 /* cy = */ dst[2].fY = (ny * 2 - my) / 18;
441 double ny = fy * 27 - a.fY - d.fY * 8;
443 /* by = */ dst[0].fY = (my * 2 - ny) / 18;
445 /* cy = */ dst[1].fY = (ny * 2 - my) / 18;
/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/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
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/mesa3d/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/icu/source/test/intltest/
H A Dtzrulets.cpp433 BasicTimeZone *ny = (BasicTimeZone*)TimeZone::createTimeZone("America/New_York"); local
518 if (!ny->hasEquivalentTransitions(*rbtz, jan1_1967, jan1_2010, TRUE, status)) {
522 errln("FAIL: error returned from hasEquivalentTransitions for ny/rbtz 1967-2010");
524 if (ny->hasEquivalentTransitions(*rbtz, jan1_1950, jan1_2010, TRUE, status)) {
528 errln("FAIL: error returned from hasEquivalentTransitions for ny/rbtz 1950-2010");
532 if (!rbtz->hasEquivalentTransitions(*ny, jan1_1967, jan1_2010, TRUE, status)) {
536 errln("FAIL: error returned from hasEquivalentTransitions for rbtz/ny 1967-2010");
538 if (rbtz->hasEquivalentTransitions(*ny, jan1_1950, jan1_2010, TRUE, status)) {
542 errln("FAIL: error returned from hasEquivalentTransitions for rbtz/ny 1950-2010");
546 if (ny
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DSkGpuDevice.cpp1205 int ny = bitmap.height() / tileSize; local
1207 for (int y = 0; y <= ny; y++) {

Completed in 608 milliseconds

12