Home
last modified time | relevance | path

Searched refs:yMin (Results 1 – 25 of 82) sorted by relevance

1234

/external/skqp/src/pathops/
DSkOpCubicHull.cpp58 size_t yMin = 0; in convexHull() local
60 if (fPts[yMin].fY > fPts[index].fY || (fPts[yMin].fY == fPts[index].fY in convexHull()
61 && fPts[yMin].fX > fPts[index].fX)) { in convexHull()
62 yMin = index; in convexHull()
65 order[0] = yMin; in convexHull()
70 if (index == yMin) { in convexHull()
76 int mask = other_two(yMin, index); in convexHull()
77 int side1 = yMin ^ mask; in convexHull()
80 if (!rotate(*this, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx] in convexHull()
85 int sides = side(rotPath[side1].fY - rotPath[yMin].fY); in convexHull()
[all …]
/external/skia/src/pathops/
DSkOpCubicHull.cpp58 size_t yMin = 0; in convexHull() local
60 if (fPts[yMin].fY > fPts[index].fY || (fPts[yMin].fY == fPts[index].fY in convexHull()
61 && fPts[yMin].fX > fPts[index].fX)) { in convexHull()
62 yMin = index; in convexHull()
65 order[0] = yMin; in convexHull()
70 if (index == yMin) { in convexHull()
76 int mask = other_two(yMin, index); in convexHull()
77 int side1 = yMin ^ mask; in convexHull()
80 if (!rotate(*this, yMin, index, rotPath)) { // ! if cbc[yMin]==cbc[idx] in convexHull()
85 int sides = side(rotPath[side1].fY - rotPath[yMin].fY); in convexHull()
[all …]
/external/fonttools/Lib/fontTools/misc/
DarrayTools.py34 xMin, yMin, xMax, yMax = bounds
35 return min(xMin, x), min(yMin, y), max(xMax, x), max(yMax, y)
40 xMin, yMin, xMax, yMax = rect
41 return (xMin <= x <= xMax) and (yMin <= y <= yMax)
49 xMin, yMin, xMax, yMax = rect
50 return [(xMin <= x <= xMax) and (yMin <= y <= yMax) for x, y in array]
66 (xMin, yMin, xMax, yMax) = rect
67 return min(xMin, xMax), min(yMin, yMax), max(xMin, xMax), max(yMin, yMax)
71 (xMin, yMin, xMax, yMax) = rect
72 return xMin * x, yMin * y, xMax * x, yMax * y
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/analysis/solvers/
DBrentSolver.java148 double yMin = f.value(min); in solve() local
149 if (FastMath.abs(yMin) <= functionValueAccuracy) { in solve()
155 if (yInitial * yMin < 0) { in solve()
156 return solve(f, min, yMin, initial, yInitial, min, yMin); in solve()
172 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, min, max, yMin, yMax); in solve()
230 double yMin = f.value(min); in solve() local
234 double sign = yMin * yMax; in solve()
237 if (FastMath.abs(yMin) <= functionValueAccuracy) { in solve()
246 LocalizedFormats.SAME_SIGN_AT_ENDPOINTS, min, max, yMin, yMax); in solve()
250 ret = solve(f, min, yMin, max, yMax, min, yMin); in solve()
[all …]
/external/swiftshader/src/Shader/
DSetupRoutine.cpp167 Int yMin = Y[0]; in generate() local
174 yMin = Min(Y[i], yMin); in generate()
183 yMin = (yMin + 0x0A) >> 4; in generate()
188 yMin = (yMin + 0x0F) >> 4; in generate()
192 If(yMin == yMax) in generate()
197 yMin = Max(yMin, *Pointer<Int>(data + OFFSET(DrawData,scissorY0))); in generate()
231 For(Int y = yMin - 1, y < yMax + 1, y++) in generate()
256 …or(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>(… in generate()
261 …For(, yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<… in generate()
266 If(yMin == yMax) in generate()
[all …]
/external/swiftshader/src/Pipeline/
DSetupRoutine.cpp165 Int yMin = Y[0]; in generate() local
172 yMin = Min(Y[i], yMin); in generate()
181 yMin = (yMin + 0x0A) >> 4; in generate()
186 yMin = (yMin + 0x0F) >> 4; in generate()
190 If(yMin == yMax) in generate()
195 yMin = Max(yMin, *Pointer<Int>(data + OFFSET(DrawData,scissorY0))); in generate()
229 For(Int y = yMin - 1, y < yMax + 1, y++) in generate()
254 …or(, yMin < yMax && *Pointer<Short>(leftEdge + yMin * sizeof(Primitive::Span)) == *Pointer<Short>(… in generate()
259 …For(, yMax > yMin && *Pointer<Short>(leftEdge + (yMax - 1) * sizeof(Primitive::Span)) == *Pointer<… in generate()
264 If(yMin == yMax) in generate()
[all …]
/external/fonttools/Lib/fontTools/ttLib/tables/
D_m_a_x_p.py67 yMin = +INFINITY
83 yMin = min(yMin, g.yMin)
98 headTable.yMin = 0
103 headTable.yMin = yMin
DV_D_M_X_.py144 for yPelHeight, (yMax, yMin) in sorted(group.items()):
145 vTable = {'yPelHeight': yPelHeight, 'yMax': yMax, 'yMin': yMin}
179 for yPelHeight, (yMax, yMin) in sorted(group.items()):
182 [('yPelHeight', yPelHeight), ('yMax', yMax), ('yMin', yMin)])
232 yMin = safeEval(attrs["yMin"])
233 group[yPelHeight] = (yMax, yMin)
/external/freetype/src/tools/
Dtest_bbox.c120 XVAL( bbox.yMin ), in dump_outline()
128 XVAL( bbox.yMin ), in dump_outline()
151 XVAL( bbox.yMin ), in profile_outline()
155 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
166 XVAL( bbox.yMin ), in profile_outline()
170 bbox.xMin, bbox.yMin, bbox.xMax, bbox.yMax ); in profile_outline()
/external/swiftshader/src/Device/
DQuadRasterizer.cpp56 Int yMin = *Pointer<Int>(primitive + OFFSET(Primitive,yMin)); in generate()
60 yMin += clusterCount * 2 - 2 - cluster2; in generate()
61 yMin &= -clusterCount * 2; in generate()
62 yMin += cluster2; in generate()
64 If(yMin < yMax) in generate()
66 rasterize(yMin, yMax); in generate()
93 void QuadRasterizer::rasterize(Int &yMin, Int &yMax) in rasterize() argument
103 …cBuffer[index] = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,colorBuffer[index])) + yMin * *Poi… in rasterize()
109 …zBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,depthBuffer)) + yMin * *Pointer<Int>(data… in rasterize()
114 …sBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,stencilBuffer)) + yMin * *Pointer<Int>(da… in rasterize()
[all …]
DPrimitive.hpp39 int yMin; member
/external/swiftshader/src/Renderer/
DQuadRasterizer.cpp56 Int yMin = *Pointer<Int>(primitive + OFFSET(Primitive,yMin)); in generate()
60 yMin += clusterCount * 2 - 2 - cluster2; in generate()
61 yMin &= -clusterCount * 2; in generate()
62 yMin += cluster2; in generate()
64 If(yMin < yMax) in generate()
66 rasterize(yMin, yMax); in generate()
93 void QuadRasterizer::rasterize(Int &yMin, Int &yMax) in rasterize() argument
103 …cBuffer[index] = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,colorBuffer[index])) + yMin * *Poi… in rasterize()
109 …zBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,depthBuffer)) + yMin * *Pointer<Int>(data… in rasterize()
114 …sBuffer = *Pointer<Pointer<Byte>>(data + OFFSET(DrawData,stencilBuffer)) + yMin * *Pointer<Int>(da… in rasterize()
[all …]
DPrimitive.hpp39 int yMin; member
/external/freetype/src/base/
Dftbbox.c51 if ( p->y < bbox.yMin ) \
52 bbox.yMin = p->y; \
61 ( p->y < bbox.yMin || p->y > bbox.yMax )
228 &user->bbox.yMin, in BBox_Conic_To()
439 &user->bbox.yMin, in BBox_Cubic_To()
484 abbox->yMin = abbox->yMax = 0; in FT_EXPORT_DEF()
507 cbox.yMin < bbox.yMin || cbox.yMax > bbox.yMax ) in FT_EXPORT_DEF()
Dftoutln.c482 FT_Pos xMin, yMin, xMax, yMax; in FT_Outline_Get_CBox() local
490 yMin = 0; in FT_Outline_Get_CBox()
501 yMin = yMax = vec->y; in FT_Outline_Get_CBox()
514 if ( y < yMin ) yMin = y; in FT_Outline_Get_CBox()
520 acbox->yMin = yMin; in FT_Outline_Get_CBox()
635 if ( cbox.xMin < -0x1000000L || cbox.yMin < -0x1000000L || in FT_Outline_Render()
1072 if ( cbox.xMin == cbox.xMax || cbox.yMin == cbox.yMax ) in FT_Outline_Get_Orientation()
1079 yshift = FT_MSB( (FT_UInt32)( cbox.yMax - cbox.yMin ) ) - 14; in FT_Outline_Get_Orientation()
Dftglyph.c130 cbox->yMin = cbox->yMax - (FT_Pos)( glyph->bitmap.rows * 64 ); in ft_bitmap_glyph_bbox()
498 acbox->xMin = acbox->yMin = acbox->xMax = acbox->yMax = 0; in FT_Glyph_Get_CBox()
515 acbox->yMin = FT_PIX_FLOOR( acbox->yMin ); in FT_Glyph_Get_CBox()
525 acbox->yMin >>= 6; in FT_Glyph_Get_CBox()
Dftlcdfil.c68 cbox->yMin -= lcd_weights[0] ? 43 : in ft_lcd_padding()
383 cbox->yMin -= FT_MAX( FT_MAX( sub[0].y, sub[1].y ), sub[2].y ); in ft_lcd_padding()
390 cbox->yMin += FT_MIN( FT_MIN( sub[0].x, sub[1].x ), sub[2].x ); in ft_lcd_padding()
/external/neven/FaceRecEm/common/src/b_FDSDK/
DDCR.c221 if( pRectA->xMax <= pRectA->xMin || pRectA->yMax <= pRectA->yMin ) in btk_DCR_assignImageROI()
231 pRectA->yMin >> 16, in btk_DCR_assignImageROI()
341 pRectA->yMin = ( ( ( lyL + ryL + 1 ) >> 1 ) - doffL ) << 16; in btk_DCR_getRect()
342 pRectA->yMax = ( pRectA->yMin + ( pRectA->xMax - pRectA->xMin ) ); in btk_DCR_getRect()
350 pRectA->yMin += ( int32 )hdcrA->dcrE.roiRectE.y1E << 16; in btk_DCR_getRect()
355 pRectA->yMin += ( int32 )hdcrA->dcrE.offsE.yE << 16; in btk_DCR_getRect()
/external/mesa3d/src/mesa/swrast/
Ds_aatritemp.h47 GLfloat yMin, yMax; variable
172 yMin = vMin->attrib[VARYING_SLOT_POS][1];
174 iyMin = (GLint) yMin;
189 GLfloat x = pMin[0] - (yMin - iy) * dxdy;
258 GLfloat x = pMin[0] - (yMin - iy) * dxdy;
/external/freetype/src/type1/
Dt1afm.c263 fi->Descender = t1_font->font_bbox.yMin; in T1_Read_Metrics()
301 t1_face->bbox.yMin = fi->FontBBox.yMin >> 16; in T1_Read_Metrics()
Dt1objs.c471 root->bbox.yMin = type1->font_bbox.yMin >> 16; in T1_Face_Init()
481 root->descender = (FT_Short)( root->bbox.yMin ); in T1_Face_Init()
/external/freetype/src/cid/
Dcidobjs.c434 cidface->bbox.yMin = cid->font_bbox.yMin >> 16; in cid_face_init()
443 cidface->descender = (FT_Short)( cidface->bbox.yMin ); in cid_face_init()
/external/harfbuzz_ng/src/
Dhb-ot-glyf-table.hh129 FWORD yMin; /* Minimum y for coordinate data. */ member
455 extents->y_bearing = MAX (glyph_header.yMin, glyph_header.yMax); in get_extents()
457 extents->height = MIN (glyph_header.yMin, glyph_header.yMax) - extents->y_bearing; in get_extents()
/external/skqp/src/ports/
DSkFontHost_FreeType.cpp628 face->bbox.xMax, face->bbox.yMin); in onGetAdvancedMetrics()
1080 bbox->yMin -= dy; in getBBoxForCurrentGlyph()
1088 bbox->yMin &= ~63; in getBBoxForCurrentGlyph()
1103 bbox->yMin += vector.y; in getBBoxForCurrentGlyph()
1195 bounds.yMin = std::min(bbox.yMin, bounds.yMin); in generateMetrics()
1203 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics()
1218 bounds.yMin = SkFDot6Floor(bounds.yMin); in generateMetrics()
1223 FT_Pos height = bounds.yMax - bounds.yMin; in generateMetrics()
1430 ymin = -SkIntToScalar(face->bbox.yMin) / upem; in generateFontMetrics()
/external/skia/src/ports/
DSkFontHost_FreeType.cpp628 face->bbox.xMax, face->bbox.yMin); in onGetAdvancedMetrics()
1080 bbox->yMin -= dy; in getBBoxForCurrentGlyph()
1088 bbox->yMin &= ~63; in getBBoxForCurrentGlyph()
1103 bbox->yMin += vector.y; in getBBoxForCurrentGlyph()
1195 bounds.yMin = std::min(bbox.yMin, bounds.yMin); in generateMetrics()
1203 if (!(bounds.xMin < bounds.xMax && bounds.yMin < bounds.yMax)) { in generateMetrics()
1218 bounds.yMin = SkFDot6Floor(bounds.yMin); in generateMetrics()
1223 FT_Pos height = bounds.yMax - bounds.yMin; in generateMetrics()
1430 ymin = -SkIntToScalar(face->bbox.yMin) / upem; in generateFontMetrics()

1234