Home
last modified time | relevance | path

Searched refs:ry (Results 1 – 25 of 89) sorted by relevance

1234

/external/quake/quake/src/WinQuake/
Dd_fill.cpp32 int rx, ry, rwidth, rheight; in D_FillRect() local
37 ry = rect->y; in D_FillRect()
46 if (ry < 0) in D_FillRect()
48 rheight += ry; in D_FillRect()
49 ry = 0; in D_FillRect()
53 if (ry+rheight > vid.height) in D_FillRect()
59 dest = ((byte *)vid.buffer + ry*vid.rowbytes + rx); in D_FillRect()
70 for (ry=0 ; ry<rheight ; ry++) in D_FillRect()
80 for (ry=0 ; ry<rheight ; ry++) in D_FillRect()
/external/quake/quake/src/QW/client/
Dd_fill.c32 int rx, ry, rwidth, rheight; in D_FillRect() local
37 ry = rect->y; in D_FillRect()
46 if (ry < 0) in D_FillRect()
48 rheight += ry; in D_FillRect()
49 ry = 0; in D_FillRect()
53 if (ry+rheight > vid.height) in D_FillRect()
59 dest = ((byte *)vid.buffer + ry*vid.rowbytes + rx); in D_FillRect()
70 for (ry=0 ; ry<rheight ; ry++) in D_FillRect()
80 for (ry=0 ; ry<rheight ; ry++) in D_FillRect()
/external/skia/legacy/src/effects/
DSkBlurMask.cpp108 static void kernel_clamped(uint8_t dst[], int rx, int ry, const uint32_t sum[], in kernel_clamped() argument
112 uint32_t scale = (1 << 24) / ((2*rx + 1)*(2*ry + 1)); in kernel_clamped()
117 int dh = sh + 2*ry; in kernel_clamped()
119 int prev_y = -2*ry; in kernel_clamped()
169 static void apply_kernel(uint8_t dst[], int rx, int ry, const uint32_t sum[], in apply_kernel() argument
172 kernel_clamped(dst, rx, ry, sum, sw, sh); in apply_kernel()
176 uint32_t scale = (1 << 24) / ((2*rx + 1)*(2*ry + 1)); in apply_kernel()
181 int dh = sh + 2*ry; in apply_kernel()
183 int prev_y = -2*ry; in apply_kernel()
268 static void kernel_interp_clamped(uint8_t dst[], int rx, int ry, in kernel_interp_clamped() argument
[all …]
DSkRectShape.cpp37 void SkRectShape::setRRect(const SkRect& bounds, SkScalar rx, SkScalar ry) { in setRRect() argument
41 if (ry < 0) { in setRRect()
42 ry = 0; in setRRect()
46 fRadii.set(rx, ry); in setRRect()
/external/skia/src/effects/
DSkBlurMask.cpp416 static void kernel_clamped(uint8_t dst[], int rx, int ry, const uint32_t sum[], in kernel_clamped() argument
420 uint32_t scale = (1 << 24) / ((2*rx + 1)*(2*ry + 1)); in kernel_clamped()
425 int dh = sh + 2*ry; in kernel_clamped()
427 int prev_y = -2*ry; in kernel_clamped()
477 static void apply_kernel(uint8_t dst[], int rx, int ry, const uint32_t sum[], in apply_kernel() argument
480 kernel_clamped(dst, rx, ry, sum, sw, sh); in apply_kernel()
484 uint32_t scale = (1 << 24) / ((2*rx + 1)*(2*ry + 1)); in apply_kernel()
489 int dh = sh + 2*ry; in apply_kernel()
491 int prev_y = -2*ry; in apply_kernel()
576 static void kernel_interp_clamped(uint8_t dst[], int rx, int ry, in kernel_interp_clamped() argument
[all …]
/external/skia/src/svg/
DSkSVGEllipse.cpp19 SVG_ATTRIBUTE(ry)
27 SkScalar cx, cy, rx, ry; in DEFINE_SVG_INFO() local
31 SkParse::FindScalar(f_ry.c_str(), &ry); in DEFINE_SVG_INFO()
34 top = cy - ry; in DEFINE_SVG_INFO()
36 bottom = cy + ry; in DEFINE_SVG_INFO()
/external/llvm/lib/Target/Mips/
DMips16InstrFormats.td24 // ry 3-bit source or destination register
132 // Format RR instruction class in Mips : <|opcode|rx|ry|funct|>
140 bits<3> ry;
147 let Inst{7-5} = ry;
215 // Format RRI instruction class in Mips : <|opcode|rx|ry|imm5|>
223 bits<3> ry;
230 let Inst{7-5} = ry;
235 // Format RRR instruction class in Mips : <|opcode|rx|ry|rz|f|>
243 bits<3> ry;
251 let Inst{7-5} = ry;
[all …]
DMips16InstrInfo.td139 MipsPseudo16<(outs CPU16Regs:$cc), (ins CPU16Regs:$rx, CPU16Regs:$ry),
140 !strconcat(asmstr, "\t$rx, $ry\n\tmove\t$cc, $$t8"), []> {
187 FEXT_RI16<_op, (outs CPU16Regs:$rx), (ins CPUSPReg:$ry, simm16:$imm),
188 !strconcat(asmstr, "\t$rx, $imm ( $ry ); "), [], itin>;
196 FEXT_RRI16<op, (outs CPU16Regs:$ry), (ins MemOpnd:$addr),
197 !strconcat(asmstr, "\t$ry, $addr"), [], itin>;
201 FEXT_RRI16<op, (outs ), (ins CPU16Regs:$ry, MemOpnd:$addr),
202 !strconcat(asmstr, "\t$ry, $addr"), [], itin>;
211 FEXT_RRI_A16<op, (outs CPU16Regs:$ry), (ins MemOpnd:$addr),
212 !strconcat(asmstr, "\t$ry, $addr"), [], itin>;
[all …]
/external/webkit/Source/WebCore/svg/
DSVGPathParser.cpp241 float ry; in parseArcToSegment() local
246 if (!m_source->parseArcToSegment(rx, ry, angle, largeArc, sweep, targetPoint)) in parseArcToSegment()
252 ry = fabsf(ry); in parseArcToSegment()
253 if (!rx || !ry) { in parseArcToSegment()
270 return decomposeArcToCubic(angle, rx, ry, point1, targetPoint, largeArc, sweep); in parseArcToSegment()
272 m_consumer->arcTo(rx, ry, angle, largeArc, sweep, targetPoint, m_mode); in parseArcToSegment()
404 bool SVGPathParser::decomposeArcToCubic(float angle, float rx, float ry, FloatPoint& point1, FloatP… in decomposeArcToCubic() argument
414 float squareRy = ry * ry; in decomposeArcToCubic()
423 ry *= sqrtf(radiiScale); in decomposeArcToCubic()
427 pointTransform.scale(1 / rx, 1 / ry); in decomposeArcToCubic()
[all …]
DSVGPathByteStreamSource.cpp103 bool SVGPathByteStreamSource::parseArcToSegment(float& rx, float& ry, float& angle, bool& largeArc,… in parseArcToSegment() argument
106 ry = readFloat(); in parseArcToSegment()
DSVGEllipseElement.cpp39 DEFINE_ANIMATED_LENGTH(SVGEllipseElement, SVGNames::ryAttr, Ry, ry) in DEFINE_ANIMATED_LENGTH()
164 float radiusY = ry().value(this); in toPathData()
176 || ry().isRelative(); in selfHasRelativeLengths()
DSVGRectElement.cpp40 DEFINE_ANIMATED_LENGTH(SVGRectElement, SVGNames::ryAttr, Ry, ry) in DEFINE_ANIMATED_LENGTH()
198 float ryValue = ry().value(this); in toPathData()
217 || ry().isRelative(); in selfHasRelativeLengths()
/external/icu4c/data/curr/
Drn.txt28 "Idinari ry'iribahireyini",
32 "Ifaranga ry'Uburundi",
48 "Ifaranga ry'Ubusuwisi",
104 "Iyeni ry'Ubuyapani",
160 "Ifaranga ry'u Rwanda",
204 "Ishilingi ry'Ubugande",
208 "Idolari ry'abanyamerika",
/external/opencv/cv/src/
Dcvcalcimagehomography.cpp61 CvMat ry = cvMat( 1, 3, CV_32F, _ry ); in cvCalcImageHomography() local
93 cvCrossProduct( &rz, &rx, &ry ); in cvCalcImageHomography()
94 cvScale( &ry, &ry, 1./cvNorm( &ry, 0, CV_L2 ) ); in cvCalcImageHomography()
/external/skia/legacy/src/core/
DSkPath.cpp592 void SkPath::addRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry, in addRoundRect() argument
604 bool skip_vert = ry >= halfH; in addRoundRect()
616 ry = halfH; in addRoundRect()
620 SkScalar sy = SkScalarMul(ry, CUBIC_ARC_FACTOR); in addRoundRect()
629 rect.fLeft, rect.fTop + ry - sy, in addRoundRect()
630 rect.fLeft, rect.fTop + ry); // top-left in addRoundRect()
632 this->lineTo(rect.fLeft, rect.fBottom - ry); // left in addRoundRect()
634 this->cubicTo(rect.fLeft, rect.fBottom - ry + sy, in addRoundRect()
641 rect.fRight, rect.fBottom - ry + sy, in addRoundRect()
642 rect.fRight, rect.fBottom - ry); // bot-right in addRoundRect()
[all …]
/external/skia/src/gpu/
DGrAARectRenderer.cpp183 const SkScalar ry = SkScalarMul(dy, SK_ScalarHalf); in strokeAARect() local
194 r.inset(-rx, -ry); in strokeAARect()
223 -rx - SK_ScalarHalf, -ry - SK_ScalarHalf); in strokeAARect()
225 -rx + SK_ScalarHalf, -ry + SK_ScalarHalf); in strokeAARect()
227 rx - SK_ScalarHalf, ry - SK_ScalarHalf); in strokeAARect()
229 rx + SK_ScalarHalf, ry + SK_ScalarHalf); in strokeAARect()
/external/skia/legacy/src/animator/
DSkDrawRectangle.cpp119 SK_MEMBER(ry, Float),
126 SkRoundRect::SkRoundRect() : rx(0), ry(0) { in SkRoundRect()
131 maker.fCanvas->drawRoundRect(fRect, rx, ry, *maker.fPaint); in draw()
140 SkScalarToFloat(fRect.fBottom), SkScalarToFloat(rx), SkScalarToFloat(ry)); in dump()
DSkPathParts.cpp281 SK_MEMBER(ry, Float)
288 SkAddRoundRect::SkAddRoundRect() : rx(0), ry(0) { in SkAddRoundRect()
292 fPath->fPath.addRoundRect(fRect, rx, ry, (SkPath::Direction) direction); in add()
/external/skia/src/animator/
DSkDrawRectangle.cpp119 SK_MEMBER(ry, Float),
126 SkRoundRect::SkRoundRect() : rx(0), ry(0) { in SkRoundRect()
131 maker.fCanvas->drawRoundRect(fRect, rx, ry, *maker.fPaint); in draw()
140 SkScalarToFloat(fRect.fBottom), SkScalarToFloat(rx), SkScalarToFloat(ry)); in dump()
DSkPathParts.cpp281 SK_MEMBER(ry, Float)
288 SkAddRoundRect::SkAddRoundRect() : rx(0), ry(0) { in SkAddRoundRect()
292 fPath->fPath.addRoundRect(fRect, rx, ry, (SkPath::Direction) direction); in add()
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DAbstractHeightMap.java467 for (int ry = -radius; ry <= radius; ry++) { in smooth()
471 if (y+ry < 0 || y+ry >= size) { in smooth()
475 neighAverage += heightData[(x+rx) + (y+ry) * size]; in smooth()
/external/webkit/Source/WebCore/platform/graphics/cg/
DPDFDocumentImage.cpp109 CGPoint ry = CGPointMake(-height * sina, height * cosa); in adjustCTM() local
113 …(context->platformContext(), floorf(-min(zero, min(rx.x, ry.x))), floorf(-min(zero, min(rx.y, ry.y… in adjustCTM()
/external/skia/src/core/
DSkPath.cpp944 SkScalar rx, SkScalar ry, int startAngle, in add_corner_arc() argument
951 SkASSERT(0 <= ry && ry <= rect.height()); in add_corner_arc()
954 r.set(-rx, -ry, rx, ry); in add_corner_arc()
1035 void SkPath::addRoundRect(const SkRect& rect, SkScalar rx, SkScalar ry, in addRoundRect() argument
1049 bool skip_vert = ry >= halfH; in addRoundRect()
1064 ry = halfH; in addRoundRect()
1068 SkScalar sy = SkScalarMul(ry, CUBIC_ARC_FACTOR); in addRoundRect()
1077 rect.fLeft, rect.fTop + ry - sy, in addRoundRect()
1078 rect.fLeft, rect.fTop + ry); // top-left in addRoundRect()
1080 this->lineTo(rect.fLeft, rect.fBottom - ry); // left in addRoundRect()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/animation/
DSkeletonControl.java351 float rx = 0, ry = 0, rz = 0, rnx = 0, rny = 0, rnz = 0; in applySkinning() local
358 ry += (mat.m10 * vtx + mat.m11 * vty + mat.m12 * vtz + mat.m13) * weight; in applySkinning()
372 posBuf[idxPositions++] = ry; in applySkinning()
473 float rx = 0, ry = 0, rz = 0, rnx = 0, rny = 0, rnz = 0, rtx = 0, rty = 0, rtz = 0; in applySkinningTangents() local
480 ry += (mat.m10 * vtx + mat.m11 * vty + mat.m12 * vtz + mat.m13) * weight; in applySkinningTangents()
499 posBuf[idxPositions++] = ry; in applySkinningTangents()
/external/qemu/android/skin/
Dtrackball.c322 double ry = y0/radius; in trackball_init() local
323 double rz = sqrt( 1.0 - rx*rx - ry*ry ); in trackball_init()
330 coord->f[1] = FIX16_FROM_FLOAT(ry); in trackball_init()
342 double ly = LIGHT_Y - ry; in trackball_init()
345 double cosphi = lir*(lx*rx + ly*ry + lz*rz); in trackball_init()

1234