/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
H A D | arc.c | 100 double dy = y0 - y1; local 106 dsq = dx*dx + dy*dy; 119 sdy = s*dy; 168 double dx, dy, dsq, scale; local 184 dy = y0p - y1p; 186 dsq = dx*dx + dy*dy;
|
H A D | matrix.h | 437 float dy = l[3] - l[1]; local 440 pt[1] = l[1] + dy * t;
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xa/ |
H A D | xa_renderer.c | 472 int dy, 490 y0 = dy; 491 y1 = dy + height; 470 renderer_copy(struct xa_context *r, int dx, int dy, int sx, int sy, int width, int height, float src_width, float src_height) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/tests/trivial/ |
H A D | compute.c | 192 int dy = util_format_get_stride(format, w); local 215 init(map + y * dy + x * dx, slot, x, y); 236 int dy = util_format_get_stride(tex->format, tex->width0); local 261 uint32_t *res = (uint32_t *)(map + y * dy + x * dx);
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_aaline.c | 46 GLfloat dx, dy; /* direction vector */ member in struct:LineInfo 222 const GLfloat dy = 1.0F / (GLfloat) ySamples; local 250 samples[j][1] = y * dy + 0.5F * dy; 341 const GLfloat absDy = (line->dy < 0.0F) ? -line->dy : line->dy; 344 const GLfloat y0 = line->y0 + t0 * line->dy; 346 const GLfloat y1 = line->y0 + t1 * line->dy; 369 GLfloat dydx = line->dy / lin [all...] |
H A D | s_tritemp.h | 75 * (dx=1/16, dy=1024) we'll need 4 + 10 = 14 fractional bits in 118 GLfloat dy; /* Y(v1) - Y(v0) */ member in struct:__anon14581 119 GLfloat dxdy; /* dx/dy */ 120 GLfixed fdxdy; /* dx/dy in fixed-point */ 227 eMaj.dy = FixedToFloat(vMax_fy - vMin_fy); 229 eTop.dy = FixedToFloat(vMax_fy - vMid_fy); 231 eBot.dy = FixedToFloat(vMid_fy - vMin_fy); 235 const GLfloat area = eMaj.dx * eBot.dy - eBot.dx * eMaj.dy; 254 eMaj.dxdy = eMaj.dx / eMaj.dy; [all...] |
/external/chromium_org/third_party/skia/bench/ |
H A D | PathBench.cpp | 157 const SkScalar dy = SK_Scalar1 * 10; local 162 path->lineTo(x, y - dy); 164 path->lineTo(x, y + dy); 166 path->lineTo(x, y + 2 * dy); 167 path->lineTo(x0, y + 2 * dy);
|
/external/chromium_org/third_party/skia/experimental/AndroidPathRenderer/ |
H A D | AndroidPathRenderer.cpp | 660 float dy = p2y - p1y; local 661 float d1 = sk_float_abs((c1x - p2x) * dy - (c1y - p2y) * dx); 662 float d2 = sk_float_abs((c2x - p2x) * dy - (c2y - p2y) * dx); 667 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) { 705 float dy = by - ay; local 706 float d = (cx - bx) * dy - (cy - by) * dx; 708 if (d * d < THRESHOLD * THRESHOLD * (dx * dx * sqrInvScaleY + dy * dy * sqrInvScaleX)) {
|
/external/chromium_org/third_party/skia/include/core/ |
H A D | SkPath.h | 327 @param dy The amount to add to the y-coordinate of the end of the 330 void rMoveTo(SkScalar dx, SkScalar dy); 357 @param dy The amount to add to the y-coordinate of the previous point 360 void rLineTo(SkScalar dx, SkScalar dy); 719 /** Add a copy of src to the path, offset by (dx,dy) 724 void addPath(const SkPath& src, SkScalar dx, SkScalar dy, 747 /** Offset the path by (dx,dy), returning true on success 750 @param dy The amount in the Y direction to offset the entire path 753 void offset(SkScalar dx, SkScalar dy, SkPath* dst) const; 755 /** Offset the path by (dx,dy), returnin 760 offset(SkScalar dx, SkScalar dy) argument [all...] |
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmap.cpp | 176 SkPixelRef* SkBitmap::setPixelRef(SkPixelRef* pr, int dx, int dy) { argument 204 fPixelRefOrigin.set(SkPin32(dx, 0, info.width()), SkPin32(dy, 0, info.height())); 206 // ignore dx,dy if there is no pixelref
|
H A D | SkRegion.cpp | 533 void SkRegion::translate(int dx, int dy, SkRegion* dst) const { argument 542 dst->setRect(fBounds.fLeft + dx, fBounds.fTop + dy, 543 fBounds.fRight + dx, fBounds.fBottom + dy); 554 dst->fBounds.offset(dx, dy); 559 *druns++ = (SkRegion::RunType)(*sruns++ + dy); // top 565 *druns++ = (SkRegion::RunType)(bottom + dy); // bottom;
|
/external/chromium_org/third_party/skia/src/effects/gradients/ |
H A D | SkRadialGradient.cpp | 87 SkFixed dy = SkScalarToFixed(sdy) >> 1; local 90 if (dy == 0) { 109 fy += dy; 118 void shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, argument 128 fy += dy; 132 void shadeSpan16_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, argument 135 shadeSpan16_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count); 138 void shadeSpan16_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, argument 141 shadeSpan16_radial<repeat_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count); 282 inline bool radial_completely_pinned(int fx, int dx, int fy, int dy) { argument 296 no_need_for_radial_pin(int fx, int dx, int fy, int dy, int count) argument 337 SkFixed dy = SkScalarToFixed(sdy) >> 1; local 390 shadeSpan_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 404 shadeSpan_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument 410 shadeSpan_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | GrAARectRenderer.cpp | 305 const SkRect& r, SkScalar dx, SkScalar dy) { 306 pts->setRectFan(r.fLeft + dx, r.fTop + dy, 307 r.fRight - dx, r.fBottom - dy, stride); 769 const SkScalar dy = devStrokeSize.fY; local 771 const SkScalar ry = SkScalarMul(dy, SK_ScalarHalf); 784 SkScalar h = devRect.height() - dy; 304 set_inset_fan(SkPoint* pts, size_t stride, const SkRect& r, SkScalar dx, SkScalar dy) argument
|
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkDQuadIntersection.cpp | 509 double dy = pts2[ndex2].fY - pts1[index].fY; local 510 double distance = dx * dx + dy * dy;
|
H A D | SkPathOpsCommon.cpp | 565 double dy = iPt.fY - oPt.fY; local 566 double dist = dx * dx + dy * dy;
|
H A D | SkPathOpsCubic.cpp | 483 double dy = dst[3].fY = interp_cubic_coords(&fPts[0].fY, t2); local 485 double my = ey * 27 - ay * 8 - dy; 487 double ny = fy * 27 - ay - dy * 8;
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkMatrix44.cpp | 214 void SkMatrix44::setTranslate(SkMScalar dx, SkMScalar dy, SkMScalar dz) { argument 217 if (!dx && !dy && !dz) { 222 fMat[3][1] = dy; 227 void SkMatrix44::preTranslate(SkMScalar dx, SkMScalar dy, SkMScalar dz) { argument 228 if (!dx && !dy && !dz) { 233 fMat[3][i] = fMat[0][i] * dx + fMat[1][i] * dy + fMat[2][i] * dz + fMat[3][i]; 238 void SkMatrix44::postTranslate(SkMScalar dx, SkMScalar dy, SkMScalar dz) { argument 239 if (!dx && !dy && !dz) { 246 fMat[i][1] += fMat[i][3] * dy; 251 fMat[3][1] += dy; [all...] |
/external/chromium_org/third_party/skia/src/utils/debugger/ |
H A D | SkDrawCommand.cpp | 989 SkTranslateCommand::SkTranslateCommand(SkScalar dx, SkScalar dy) argument 992 fDy = dy; 995 fInfo.push(SkObjectParser::ScalarToString(dy, "SkScalar dy: "));
|
/external/chromium_org/third_party/skia/tests/ |
H A D | BlurTest.cpp | 423 const SkScalar dy = -5; local 427 SkAutoTUnref<SkDrawLooper> lp(SkBlurDrawLooper::Create(color, sigma, dx, dy, flags)); 441 REPORTER_ASSERT(reporter, rec.fOffset.y() == dy);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fShaderBuiltinVarTests.cpp | 573 const int dy = y0+yo; local 575 if (de::inBounds(dx, 0, refImg.getWidth()) && de::inBounds(dy, 0, refImg.getHeight())) 576 refImg.setPixel(dx, dy, tcu::RGBA(color));
|
/external/deqp/modules/glshared/ |
H A D | glsScissorTests.cpp | 366 const float dy = m_primitiveCount>1 ? rng.getFloat() : 0.0f; local 372 positions[ndx+1] = (basePositions[vertNdx*2 + 1]*scale + dy)*primitiveArea.w() + primitiveArea.y();
|
/external/freetype/src/cff/ |
H A D | cf2hints.c | 1448 CF2_Fixed dy = y2 - y1; local 1456 dy = -dy; 1471 if ( dy >= 0 ) 1475 if ( dx > 2 * dy ) 1481 else if ( dy > 2 * dx ) 1500 if ( dx > -2 * dy ) 1506 else if ( -dy > 2 * dx ) 1524 if ( dy >= 0 ) 1528 if ( -dx > 2 * dy ) [all...] |
/external/libvorbis/lib/ |
H A D | floor1.c | 277 int dy=y1-y0; local 279 int ady=abs(dy); 283 if(dy<0)return(y0-off); 363 int dy=y1-y0; local 365 int ady=abs(dy); 366 int base=dy/adx; 367 int sy=(dy<0?base-1:base+1); 392 int dy=y1-y0; local 394 int ady=abs(dy); 395 int base=dy/ad 534 int dy=y1-y0; local [all...] |
/external/libvpx/libvpx/vp8/common/ |
H A D | postproc.c | 676 int dy; local 681 dy = *y_1 - y_0; 685 *y_1 = ((width-x_0)*dy)/dx + y_0; 690 dy = *y_1 - y_0; 694 *y_1 = ((0-x_0)*dy)/dx + y_0; 699 dy = *y_1 - y_0; 702 if (dy) 703 *x_1 = ((height-y_0)*dx)/dy + x_0; 708 dy = *y_1 - y_0; 711 if (dy) [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11gears/ |
H A D | d3d11gears.cpp | 188 float dy = coords[j * 2 + 1] - coords[j * 2 + 3]; local 189 float len = hypotf(dx, dy); 190 nx = -dy / len;
|