/external/mesa3d/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/mesa3d/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/mesa3d/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/mesa3d/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:__anon27992 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/opencv/cv/src/ |
H A D | cvshapedescr.cpp | 94 float dx, dy; local 102 dy = (float)pt->y - (float)prev_pt->y; 110 dy = pt->y - prev_pt->y; 116 buffer.data.fl[j] = dx * dx + dy * dy; 169 double dy = pt.y - center.y; local 170 return (double)radius*radius - dx*dx - dy*dy; 422 float t, dx, dy; local 436 dy 568 double x_s, y_s, nx, ny, dx, dy, du, dv; local [all...] |
H A D | cvsurf.cpp | 115 double dx = 0, dy = 0, dxy = 0; local 170 dy = (s[Dy[0].p0] + s[Dy[0].p3] - s[Dy[0].p1] - s[Dy[0].p2])*Dy[0].w + 177 hessian[j] = (float)(dx*dy - dxy*dxy); 178 trace[j] = (float)(dx + dy);
|
/external/opencv/cvaux/src/ |
H A D | cvlevmarprojbandle.cpp | 865 double dx,dy; local 873 dy = cvmGet(projPoints[currImage],1,currPoint) - y; 877 cvmSet(projError[currImage],1,currPoint,dy); 879 totalError += sqrt(dx*dx+dy*dy);
|
/external/opencv/cxcore/src/ |
H A D | cxarithm.cpp | 284 int y, dy, type, depth, cn, cont_flag = 0; local 419 dy = size.height; 439 dy = CV_MAX_LOCAL_SIZE/(elem_size*size.height); 440 dy = MAX(dy,1); 441 dy = MIN(dy,size.height); 442 dstbuf = cvMat( dy, size.width, type ); 445 buf_size = dstbuf.step ? dstbuf.step*dy : size.width*elem_size; 486 for( y = 0; y < size.height; y += dy ) 535 int sctype, y, dy, type, depth, cn, coi = 0, cont_flag = 0; local 759 int y, dy, type, depth, cn, cont_flag = 0; local 1007 int sctype, y, dy, type, depth, cn, coi = 0, cont_flag = 0; local [all...] |
/external/pdfium/core/include/fxcrt/ |
H A D | fx_coordinates.h | 189 void Translate(baseType dx, baseType dy)
argument 191 FXT_PSV::x += dx, FXT_PSV::y += dy;
288 void Offset(baseType dx, baseType dy)
argument 291 top += dy;
579 void Offset(int dx, int dy)
argument 583 top += dy;
584 bottom += dy;
829 FX_FLOAT TransformYDistance(FX_FLOAT dy) const;
830 FX_INT32 TransformYDistance(FX_INT32 dy) const;
831 FX_FLOAT TransformDistance(FX_FLOAT dx, FX_FLOAT dy) cons [all...] |
/external/pdfium/core/src/fpdftext/ |
H A D | fpdf_text.cpp | 279 FX_FLOAT dy = lastbaseline - pBaseLine->m_BaseLine;
local 280 if (dy >= (pBaseLine->m_MaxFontSizeV) * 1.5 || dy >= lastheight * 1.5) {
561 FX_FLOAT dy = (FX_FLOAT)FXSYS_fabs(m_BaseLine - pOther->m_BaseLine);
local 576 if (dy >= (pText->m_Bottom - pText->m_Top) / 2 ||
577 dy >= (pOtherText->m_Bottom - pOtherText->m_Top) / 2) {
|
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
H A D | pi.c | 90 * @param p_dy_min the minimum dy of all the components of all the resolutions for the tile. 116 * @param p_dy_min the minimum dy of all the components of all the resolutions for the tile. 142 * @param p_dy_min pointer that will hold the the minimum dy of all the components of all the resolutions for the tile. 158 * The precinct widths, heights, dx and dy for each component at each resolution will be stored as well. 173 * @param p_dy_min pointer that will hold the the minimum dy of all the components of all the resolutions for the tile. 323 pi->dy = 0; 327 OPJ_UINT32 dx, dy; local 330 dy = comp->dy * (1u << (res->pdy + comp->numresolutions - 1 - resno)); 332 pi->dy 411 OPJ_UINT32 dx, dy; local 494 OPJ_UINT32 dx, dy; local [all...] |
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/cff/ |
H A D | cf2hints.c | 1397 CF2_Fixed dy = y2 - y1; local 1405 dy = -dy; 1420 if ( dy >= 0 ) 1424 if ( dx > 2 * dy ) 1430 else if ( dy > 2 * dx ) 1449 if ( dx > -2 * dy ) 1455 else if ( -dy > 2 * dx ) 1473 if ( dy >= 0 ) 1477 if ( -dx > 2 * dy ) [all...] |
/external/pdfium/core/src/reflow/ |
H A D | autoreflow.cpp | 660 FX_FLOAT dy = FXSYS_fabs(Item1.m_OriginY - Item2.m_OriginY); local 661 return dx >= dy ? WritingMode_LRTB : WritingMode_TBRL;
|
/external/pixman/pixman/ |
H A D | pixman.c | 162 int dy) 175 if (rbox->y1 < (v = cbox->y1 + dy)) 177 if (rbox->y2 > (v = cbox->y2 + dy)) 191 if (dx || dy) 192 pixman_region32_translate (region, -dx, -dy); 197 if (dx || dy) 198 pixman_region32_translate (region, dx, dy); 208 int dy) 220 dx, dy); 159 clip_general_image(pixman_region32_t * region, pixman_region32_t * clip, int dx, int dy) argument 205 clip_source_image(pixman_region32_t * region, pixman_image_t * image, int dx, int dy) argument
|
/external/proguard/src/proguard/gui/splash/ |
H A D | OverrideGraphics2D.java | 254 public void copyArea(int x, int y, int width, int height, int dx, int dy) argument 256 graphics.copyArea(x, y, width, height, dx, dy);
|
/external/qemu/distrib/sdl-1.2.15/src/video/symbian/EKA2/ |
H A D | dsa_old.cpp | 599 const TInt dy = aRect.iBr.iY - aRect.iTl.iY; local 601 aRect.iBr.iX = aRect.iTl.iX + dy;
|
/external/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/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/skia/include/core/ |
H A D | SkPath.h | 326 @param dy The amount to add to the y-coordinate of the end of the 329 void rMoveTo(SkScalar dx, SkScalar dy); 356 @param dy The amount to add to the y-coordinate of the previous point 359 void rLineTo(SkScalar dx, SkScalar dy); 718 /** Add a copy of src to the path, offset by (dx,dy) 723 void addPath(const SkPath& src, SkScalar dx, SkScalar dy, 746 /** Offset the path by (dx,dy), returning true on success 749 @param dy The amount in the Y direction to offset the entire path 752 void offset(SkScalar dx, SkScalar dy, SkPath* dst) const; 754 /** Offset the path by (dx,dy), returnin 759 offset(SkScalar dx, SkScalar dy) argument [all...] |
/external/skia/src/core/ |
H A D | SkBitmap.cpp | 264 SkPixelRef* SkBitmap::setPixelRef(SkPixelRef* pr, int dx, int dy) { argument 293 SkPin32(dy, 0, info.fHeight)); 295 // 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;
|
H A D | SkScalerContext.cpp | 828 SkFixed dy = glyph.getSubYFixed(); local 829 if (dx | dy) { 830 path.offset(SkFixedToScalar(dx), SkFixedToScalar(dy));
|
/external/skia/src/gpu/ |
H A D | GrAARectRenderer.cpp | 281 const SkRect& r, SkScalar dx, SkScalar dy) { 282 pts->setRectFan(r.fLeft + dx, r.fTop + dy, 283 r.fRight - dx, r.fBottom - dy, stride); 742 const SkScalar dy = devStrokeSize.fY; local 744 const SkScalar ry = SkScalarMul(dy, SK_ScalarHalf); 757 SkScalar h = devRect.height() - dy; 280 set_inset_fan(SkPoint* pts, size_t stride, const SkRect& r, SkScalar dx, SkScalar dy) argument
|