Searched defs:rx (Results 1 - 25 of 28) sorted by relevance

12

/external/quake/quake/src/QW/client/
H A Dd_fill.c32 int rx, ry, rwidth, rheight; local
36 rx = rect->x;
41 if (rx < 0)
43 rwidth += rx;
44 rx = 0;
51 if (rx+rwidth > vid.width)
52 rwidth = vid.width - rx;
54 rheight = vid.height - rx;
59 dest = ((byte *)vid.buffer + ry*vid.rowbytes + rx);
72 for (rx
[all...]
/external/quake/quake/src/WinQuake/
H A Dd_fill.cpp32 int rx, ry, rwidth, rheight; local
36 rx = rect->x;
41 if (rx < 0)
43 rwidth += rx;
44 rx = 0;
51 if (rx+rwidth > vid.width)
52 rwidth = vid.width - rx;
54 rheight = vid.height - rx;
59 dest = ((byte *)vid.buffer + ry*vid.rowbytes + rx);
72 for (rx
[all...]
/external/skia/src/animator/
H A DSkDrawRectangle.h57 SkScalar rx; member in class:SkRoundRect
H A DSkPathParts.h157 SkScalar rx; member in class:SkAddRoundRect
/external/skia/src/svg/
H A DSkSVGEllipse.cpp26 SVG_ATTRIBUTE(rx),
35 SkScalar cx, cy, rx, ry; local
38 SkParse::FindScalar(f_rx.c_str(), &rx);
41 left = cx - rx;
43 right = cx + rx;
/external/skia/src/effects/
H A DSkRectShape.cpp44 void SkRectShape::setRRect(const SkRect& bounds, SkScalar rx, SkScalar ry) { argument
45 if (rx < 0) {
46 rx = 0;
53 fRadii.set(rx, ry);
H A DSkBlurMask.cpp92 static void apply_kernel(uint8_t dst[], int rx, int ry, const uint32_t sum[], argument
94 uint32_t scale = (1 << 24) / ((2*rx + 1)*(2*ry + 1));
98 int dw = sw + 2*rx;
108 int prev_x = -2*rx;
131 static void apply_kernel_interp(uint8_t dst[], int rx, int ry, argument
133 SkASSERT(rx > 0 && ry > 0);
142 uint32_t outer_scale = (outer_weight << 16) / ((2*rx + 1)*(2*ry + 1));
143 uint32_t inner_scale = (inner_weight << 16) / ((2*rx - 1)*(2*ry - 1));
147 int dw = sw + 2*rx;
160 int prev_x = -2*rx;
261 int rx = SkScalarCeil(passRadius); local
[all...]
/external/opencv/cv/src/
H A Dcvcalcimagehomography.cpp60 CvMat rx = cvMat( 1, 3, CV_32F, line ); local
93 cvCrossProduct( &rz, &rx, &ry );
H A Dcvsubdivision2d.cpp523 float rx = (float) rect.x; local
540 subdiv->topleft = cvPoint2D32f( rx, ry );
541 subdiv->bottomright = cvPoint2D32f( rx + rect.width, ry + rect.height );
543 ppA = cvPoint2D32f( rx + big_coord, ry );
544 ppB = cvPoint2D32f( rx, ry + big_coord );
545 ppC = cvPoint2D32f( rx - big_coord, ry - big_coord );
H A Dcvcalibration.cpp531 double rx, ry, rz, theta; local
542 rx = src->data.fl[0];
548 rx = src->data.db[0];
552 theta = sqrt(rx*rx + ry*ry + rz*rz);
574 rx *= itheta; ry *= itheta; rz *= itheta;
576 double rrt[] = { rx*rx, rx*ry, rx*r
610 double R[9], U[9], V[9], W[3], rx, ry, rz; local
[all...]
/external/qemu/distrib/sdl-1.2.12/src/video/ggi/
H A DSDL_ggievents.c64 int x = 0, y = 0, z = 0, rx = 0, ry = 0, rz = 0; local
/external/webkit/Source/WebCore/svg/
H A DSVGPathByteStreamSource.cpp103 bool SVGPathByteStreamSource::parseArcToSegment(float& rx, float& ry, float& angle, bool& largeArc, bool& sweep, FloatPoint& targetPoint) argument
105 rx = readFloat();
H A DSVGPathSegListSource.cpp138 bool SVGPathSegListSource::parseArcToSegment(float& rx, float& ry, float& angle, bool& largeArc, bool& sweep, FloatPoint& targetPoint) argument
143 rx = arcTo->r1();
H A DSVGPathStringSource.cpp224 bool SVGPathStringSource::parseArcToSegment(float& rx, float& ry, float& angle, bool& largeArc, bool& sweep, FloatPoint& targetPoint) argument
228 if (!parseNumber(m_current, m_end, rx)
H A DSVGPathParser.cpp240 float rx; local
246 if (!m_source->parseArcToSegment(rx, ry, angle, largeArc, sweep, targetPoint))
249 // If rx = 0 or ry = 0 then this arc is treated as a straight line segment (a "lineto") joining the endpoints.
251 rx = fabsf(rx);
253 if (!rx || !ry) {
270 return decomposeArcToCubic(angle, rx, ry, point1, targetPoint, largeArc, sweep);
272 m_consumer->arcTo(rx, ry, angle, largeArc, sweep, targetPoint, m_mode);
404 bool SVGPathParser::decomposeArcToCubic(float angle, float rx, float ry, FloatPoint& point1, FloatPoint& point2, bool largeArcFlag, bool sweepFlag) argument
413 float squareRx = rx * r
[all...]
/external/chromium/chrome/browser/sync/engine/
H A Dsyncer_proto_util.cc146 std::string tx, rx; local
151 tx, &rx, &http_response
167 if (response->ParseFromString(rx)) {
/external/webkit/Source/WebCore/platform/graphics/cg/
H A DPDFDocumentImage.cpp108 CGPoint rx = CGPointMake(width * cosa, width * sina); local
113 CGContextTranslateCTM(context->platformContext(), floorf(-min(zero, min(rx.x, ry.x))), floorf(-min(zero, min(rx.y, ry.y))));
/external/skia/samplecode/
H A DSampleDraw.cpp183 SkScalar rx = fRect.width() / 5; local
185 if (rx < ry) {
186 ry = rx;
188 rx = ry;
190 canvas->drawRoundRect(fRect, rx, ry, fPaint);
/external/icu4c/test/cintltst/
H A Dbocu1tst.c644 Bocu1Rx rx={ 0, 0, 0 }; local
647 rx.prev=initialPrev;
651 decodeBocu1(&rx, (uint8_t)(packed>>24));
653 decodeBocu1(&rx, (uint8_t)(packed>>16));
655 decodeBocu1(&rx, (uint8_t)(packed>>8));
658 return decodeBocu1(&rx, (uint8_t)packed)-initialPrev;
735 Bocu1Rx rx={ 0, 0, 0 }; local
740 c=decodeBocu1(&rx, p[i++]);
/external/qemu/android/skin/
H A Dtrackball.c321 double rx = x0/radius; local
323 double rz = sqrt( 1.0 - rx*rx - ry*ry );
329 coord->f[0] = FIX16_FROM_FLOAT(rx);
341 double lx = LIGHT_X - rx;
345 double cosphi = lir*(lx*rx + ly*ry + lz*rz);
/external/webkit/Source/WebCore/platform/graphics/transforms/
H A DTransformationMatrix.cpp409 // easier to recompose with) or Euler angles (rx, ry, rz), which
735 TransformationMatrix& TransformationMatrix::rotate3d(double rx, double ry, double rz) argument
738 rx = deg2rad(rx);
784 rx /= 2.0f;
785 sinA = sin(rx);
786 cosA = cos(rx);
/external/kernel-headers/original/linux/
H A Dserial_core.h202 __u32 rx; member in struct:uart_icount
/external/skia/gpu/src/
H A DGrContext.cpp801 const GrScalar rx = GrMul(dx, GR_ScalarHalf); local
816 r.inset(-rx, -ry);
832 setInsetFan(fan0Pos, vsize, devRect, -rx - GR_ScalarHalf, -ry - GR_ScalarHalf);
833 setInsetFan(fan1Pos, vsize, devRect, -rx + GR_ScalarHalf, -ry + GR_ScalarHalf);
834 setInsetFan(fan2Pos, vsize, devRect, rx - GR_ScalarHalf, ry - GR_ScalarHalf);
835 setInsetFan(fan3Pos, vsize, devRect, rx + GR_ScalarHalf, ry + GR_ScalarHalf);
/external/skia/src/core/
H A DSkPath.cpp411 void SkPath::addRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry, argument
422 bool skip_hori = rx >= halfW;
433 rx = halfW;
438 SkScalar sx = SkScalarMul(rx, CUBIC_ARC_FACTOR);
442 this->moveTo(rect.fRight - rx, rect.fTop);
445 this->lineTo(rect.fLeft + rx, rect.fTop); // top
447 this->cubicTo(rect.fLeft + rx - sx, rect.fTop,
454 rect.fLeft + rx - sx, rect.fBottom,
455 rect.fLeft + rx, rect.fBottom); // bot-left
457 this->lineTo(rect.fRight - rx, rec
497 add_corner_arc(SkPath* path, const SkRect& rect, SkScalar rx, SkScalar ry, int startAngle, SkPath::Direction dir, bool forceMoveTo) argument
556 SkScalar rx = SkScalarHalf(oval.width()); local
[all...]
/external/webkit/Source/WebCore/platform/graphics/skia/
H A DGraphicsContextSkia.cpp193 int rx = SkMin32(SkScalarRound(rect.width()), size.width()); local
196 ir.set(-rx, -ry, rx, ry);

Completed in 539 milliseconds

12