Home
last modified time | relevance | path

Searched refs:geo (Results 1 – 25 of 57) sorted by relevance

123

/external/skqp/include/core/
DSkSurfaceProps.h27 static inline bool SkPixelGeometryIsRGB(SkPixelGeometry geo) { in SkPixelGeometryIsRGB() argument
28 return kRGB_H_SkPixelGeometry == geo || kRGB_V_SkPixelGeometry == geo; in SkPixelGeometryIsRGB()
32 static inline bool SkPixelGeometryIsBGR(SkPixelGeometry geo) { in SkPixelGeometryIsBGR() argument
33 return kBGR_H_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsBGR()
37 static inline bool SkPixelGeometryIsH(SkPixelGeometry geo) { in SkPixelGeometryIsH() argument
38 return kRGB_H_SkPixelGeometry == geo || kBGR_H_SkPixelGeometry == geo; in SkPixelGeometryIsH()
42 static inline bool SkPixelGeometryIsV(SkPixelGeometry geo) { in SkPixelGeometryIsV() argument
43 return kRGB_V_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsV()
/external/skia/include/core/
DSkSurfaceProps.h27 static inline bool SkPixelGeometryIsRGB(SkPixelGeometry geo) { in SkPixelGeometryIsRGB() argument
28 return kRGB_H_SkPixelGeometry == geo || kRGB_V_SkPixelGeometry == geo; in SkPixelGeometryIsRGB()
32 static inline bool SkPixelGeometryIsBGR(SkPixelGeometry geo) { in SkPixelGeometryIsBGR() argument
33 return kBGR_H_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsBGR()
37 static inline bool SkPixelGeometryIsH(SkPixelGeometry geo) { in SkPixelGeometryIsH() argument
38 return kRGB_H_SkPixelGeometry == geo || kBGR_H_SkPixelGeometry == geo; in SkPixelGeometryIsH()
42 static inline bool SkPixelGeometryIsV(SkPixelGeometry geo) { in SkPixelGeometryIsV() argument
43 return kRGB_V_SkPixelGeometry == geo || kBGR_V_SkPixelGeometry == geo; in SkPixelGeometryIsV()
/external/u-boot/drivers/mtd/nand/
Dmxs_nand.c114 static inline int mxs_nand_calc_mark_offset(struct bch_geometry *geo, in mxs_nand_calc_mark_offset() argument
117 uint32_t chunk_data_size_in_bits = geo->ecc_chunk_size * 8; in mxs_nand_calc_mark_offset()
118 uint32_t chunk_ecc_size_in_bits = geo->ecc_strength * geo->gf_len; in mxs_nand_calc_mark_offset()
157 geo->block_mark_byte_offset = block_mark_bit_offset >> 3; in mxs_nand_calc_mark_offset()
158 geo->block_mark_bit_offset = block_mark_bit_offset & 0x7; in mxs_nand_calc_mark_offset()
163 static inline int mxs_nand_calc_ecc_layout_by_info(struct bch_geometry *geo, in mxs_nand_calc_ecc_layout_by_info() argument
173 geo->gf_len = 13; in mxs_nand_calc_ecc_layout_by_info()
176 geo->gf_len = 14; in mxs_nand_calc_ecc_layout_by_info()
182 geo->ecc_chunk_size = ecc_step; in mxs_nand_calc_ecc_layout_by_info()
183 geo->ecc_strength = round_up(ecc_strength, 2); in mxs_nand_calc_ecc_layout_by_info()
[all …]
/external/strace/
Dhdio.c48 struct_hd_geometry geo; in MPERS_PRINTER_DECL() local
51 if (!umove_or_printaddr(tcp, arg, &geo)) in MPERS_PRINTER_DECL()
54 (unsigned) geo.heads, in MPERS_PRINTER_DECL()
55 (unsigned) geo.sectors, in MPERS_PRINTER_DECL()
56 geo.cylinders, in MPERS_PRINTER_DECL()
57 (unsigned long) geo.start); in MPERS_PRINTER_DECL()
/external/skqp/tests/
DGrShapeTest.cpp518 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() argument
520 : fBase(new GrShape(geo.makeShape(paint))) { in TestCase()
767 static void test_basic(skiatest::Reporter* reporter, const Geo& geo) { in test_basic() argument
773 TestCase fillCase(geo, fill, reporter); in test_basic()
779 make_TestCase(geo, fill, reporter) in test_basic()
787 TestCase stroke2RoundBevelCase(geo, stroke2RoundBevel, reporter); in test_basic()
790 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic()
792 make_TestCase(geo, stroke2RoundBevel, reporter) in test_basic()
797 TestCase stroke2RoundBevelDashCase(geo, stroke2RoundBevelDash, reporter); in test_basic()
802 make_TestCase(geo, stroke2RoundBevelDash, reporter) in test_basic()
[all …]
/external/skia/tests/
DGrShapeTest.cpp518 TestCase(const Geo& geo, const SkPaint& paint, skiatest::Reporter* r, in TestCase() argument
520 : fBase(new GrShape(geo.makeShape(paint))) { in TestCase()
767 static void test_basic(skiatest::Reporter* reporter, const Geo& geo) { in test_basic() argument
773 TestCase fillCase(geo, fill, reporter); in test_basic()
779 make_TestCase(geo, fill, reporter) in test_basic()
787 TestCase stroke2RoundBevelCase(geo, stroke2RoundBevel, reporter); in test_basic()
790 expectations.fStrokeApplies = !geo.strokeIsConvertedToFill(); in test_basic()
792 make_TestCase(geo, stroke2RoundBevel, reporter) in test_basic()
797 TestCase stroke2RoundBevelDashCase(geo, stroke2RoundBevelDash, reporter); in test_basic()
802 make_TestCase(geo, stroke2RoundBevelDash, reporter) in test_basic()
[all …]
/external/skia/modules/sksg/include/
DSkSGDraw.h26 static sk_sp<Draw> Make(sk_sp<GeometryNode> geo, sk_sp<PaintNode> paint) { in Make() argument
27 return (geo && paint) ? sk_sp<Draw>(new Draw(std::move(geo), std::move(paint))) : nullptr; in Make()
/external/skqp/modules/sksg/include/
DSkSGDraw.h27 static sk_sp<Draw> Make(sk_sp<GeometryNode> geo, sk_sp<PaintNode> paint) { in Make() argument
28 return (geo && paint) ? sk_sp<Draw>(new Draw(std::move(geo), std::move(paint))) : nullptr; in Make()
/external/u-boot/board/siemens/draco/
Dboard.c132 struct am335x_nand_geometry geo; in draco_read_nand_geometry() local
136 (uchar *)&geo, sizeof(struct am335x_nand_geometry))) { in draco_read_nand_geometry()
140 if (geo.magic != 0xa657b310) { in draco_read_nand_geometry()
141 printf("%s: bad magic: %x\n", __func__, geo.magic); in draco_read_nand_geometry()
144 if ((geo.nand_bus & AM335X_NAND_ECC_MASK) == AM335X_NAND_ECC_TYPE_16) in draco_read_nand_geometry()
/external/skia/src/gpu/ops/
DGrAtlasTextOp.cpp85 const Geometry& geo = fGeoData[0]; in init() local
89 const SkMatrix& viewMatrix = geo.fViewMatrix; in init()
109 geo.fBlob->computeSubRunBounds(&bounds, geo.fRun, geo.fSubRun, geo.fViewMatrix, geo.fX, geo.fY, in init()
DGrDashOp.cpp233 for (const auto& geo : fLines) { in dumpInfo() local
236 geo.fPtsRot[0].fX, geo.fPtsRot[0].fY, in dumpInfo()
237 geo.fPtsRot[1].fX, geo.fPtsRot[1].fY, in dumpInfo()
238 geo.fSrcStrokeWidth, in dumpInfo()
239 geo.fIntervals[0], in dumpInfo()
240 geo.fIntervals[1], in dumpInfo()
241 geo.fPhase); in dumpInfo()
306 DashDraw(const LineData& geo) { in DashDraw()
307 memcpy(fPtsRot, geo.fPtsRot, sizeof(geo.fPtsRot)); in DashDraw()
308 memcpy(fIntervals, geo.fIntervals, sizeof(geo.fIntervals)); in DashDraw()
[all …]
DGrOvalOpFactory.cpp1835 for (const auto& geo : fEllipses) { in dumpInfo() local
1839 geo.fColor.toBytes_RGBA(), geo.fDevBounds.fLeft, geo.fDevBounds.fTop, in dumpInfo()
1840 geo.fDevBounds.fRight, geo.fDevBounds.fBottom, geo.fXRadius, geo.fYRadius, in dumpInfo()
1841 geo.fInnerXRadius, geo.fInnerYRadius); in dumpInfo()
2076 for (const auto& geo : fEllipses) { in dumpInfo() local
2081 geo.fColor.toBytes_RGBA(), geo.fBounds.fLeft, geo.fBounds.fTop, in dumpInfo()
2082 geo.fBounds.fRight, geo.fBounds.fBottom, geo.fXRadius, geo.fYRadius, in dumpInfo()
2083 geo.fInnerXRadius, geo.fInnerYRadius, geo.fGeoDx, geo.fGeoDy); in dumpInfo()
2742 for (const auto& geo : fRRects) { in dumpInfo() local
2746 geo.fColor.toBytes_RGBA(), geo.fDevBounds.fLeft, geo.fDevBounds.fTop, in dumpInfo()
[all …]
DGrDrawAtlasOp.cpp175 for (const auto& geo : fGeoData) { in dumpInfo() local
176 string.appendf("Color: 0x%08x, Quads: %d\n", geo.fColor.toBytes_RGBA(), in dumpInfo()
177 geo.fVerts.count() / 4); in dumpInfo()
/external/skqp/src/gpu/ops/
DGrAtlasTextOp.cpp85 const Geometry& geo = fGeoData[0]; in init() local
89 const SkMatrix& viewMatrix = geo.fViewMatrix; in init()
109 geo.fBlob->computeSubRunBounds(&bounds, geo.fRun, geo.fSubRun, geo.fViewMatrix, geo.fX, geo.fY, in init()
DGrDashOp.cpp233 for (const auto& geo : fLines) { in dumpInfo() local
236 geo.fPtsRot[0].fX, geo.fPtsRot[0].fY, in dumpInfo()
237 geo.fPtsRot[1].fX, geo.fPtsRot[1].fY, in dumpInfo()
238 geo.fSrcStrokeWidth, in dumpInfo()
239 geo.fIntervals[0], in dumpInfo()
240 geo.fIntervals[1], in dumpInfo()
241 geo.fPhase); in dumpInfo()
303 DashDraw(const LineData& geo) { in DashDraw()
304 memcpy(fPtsRot, geo.fPtsRot, sizeof(geo.fPtsRot)); in DashDraw()
305 memcpy(fIntervals, geo.fIntervals, sizeof(geo.fIntervals)); in DashDraw()
[all …]
DGrOvalOpFactory.cpp1740 for (const auto& geo : fEllipses) { in dumpInfo() local
1744 geo.fColor.toBytes_RGBA(), geo.fDevBounds.fLeft, geo.fDevBounds.fTop, in dumpInfo()
1745 geo.fDevBounds.fRight, geo.fDevBounds.fBottom, geo.fXRadius, geo.fYRadius, in dumpInfo()
1746 geo.fInnerXRadius, geo.fInnerYRadius); in dumpInfo()
1960 for (const auto& geo : fEllipses) { in dumpInfo() local
1965 geo.fColor.toBytes_RGBA(), geo.fBounds.fLeft, geo.fBounds.fTop, in dumpInfo()
1966 geo.fBounds.fRight, geo.fBounds.fBottom, geo.fXRadius, geo.fYRadius, in dumpInfo()
1967 geo.fInnerXRadius, geo.fInnerYRadius, geo.fGeoDx, geo.fGeoDy); in dumpInfo()
2611 for (const auto& geo : fRRects) { in dumpInfo() local
2615 geo.fColor.toBytes_RGBA(), geo.fDevBounds.fLeft, geo.fDevBounds.fTop, in dumpInfo()
[all …]
DGrDrawAtlasOp.cpp115 for (const auto& geo : fGeoData) { in dumpInfo() local
116 string.appendf("Color: 0x%08x, Quads: %d\n", geo.fColor.toBytes_RGBA(), in dumpInfo()
117 geo.fVerts.count() / 4); in dumpInfo()
/external/skqp/modules/skottie/src/
DSkottieShapeLayer.cpp269 for (auto& geo : geos) { in Merge() local
271 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in Merge()
596 if (auto geo = gGeometryAttachers[rec->fInfo.fAttacherIndex](rec->fJson, in attachShape() local
599 geos.push_back(std::move(geo)); in attachShape()
645 auto geo = drawGeos.size() > 1 in attachShape() local
649 SkASSERT(geo); in attachShape()
650 draws.push_back(sksg::Draw::Make(std::move(geo), std::move(paint))); in attachShape()
705 for (auto& geo : geos) { in attachShape() local
707 ? sksg::GeometryTransform::Make(std::move(geo), shape_transform) in attachShape()
708 : std::move(geo)); in attachShape()
/external/skqp/src/c/
Dsk_surface.cpp341 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster() local
342 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster()
346 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster()
354 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster_direct() local
355 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster_direct()
359 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster_direct()
/external/skia/src/c/
Dsk_surface.cpp341 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster() local
342 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster()
346 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster()
354 SkPixelGeometry geo = kUnknown_SkPixelGeometry; in sk_surface_new_raster_direct() local
355 if (props && !from_c_pixelgeometry(props->pixelGeometry, &geo)) { in sk_surface_new_raster_direct()
359 SkSurfaceProps surfProps(0, geo); in sk_surface_new_raster_direct()
/external/skia/modules/skottie/src/
DSkottieShapeLayer.cpp269 for (auto& geo : geos) { in Merge() local
271 {std::move(geo), merge_recs.empty() ? sksg::Merge::Mode::kMerge : mode}); in Merge()
602 if (auto geo = gGeometryAttachers[rec->fInfo.fAttacherIndex](rec->fJson, in attachShape() local
605 geos.push_back(std::move(geo)); in attachShape()
651 auto geo = drawGeos.size() > 1 in attachShape() local
655 SkASSERT(geo); in attachShape()
656 add_draw(sksg::Draw::Make(std::move(geo), std::move(paint)), *rec); in attachShape()
711 for (auto& geo : geos) { in attachShape() local
713 ? sksg::GeometryTransform::Make(std::move(geo), shape_transform) in attachShape()
714 : std::move(geo)); in attachShape()
/external/skia/samplecode/
DSampleSG.cpp94 auto geo = info->fGeo; in onClick() local
95 sksg::Rect* r = (sksg::Rect*)geo; in onClick()
/external/skia/src/core/
DSkDevice.h286 SkPixelGeometry geo) in CreateInfo()
289 , fPixelGeometry(AdjustGeometry(info, tileUsage, geo, false)) in CreateInfo()
294 SkPixelGeometry geo, in CreateInfo()
300 , fPixelGeometry(AdjustGeometry(info, tileUsage, geo, preserveLCDText)) in CreateInfo()
/external/skqp/src/core/
DSkDevice.h291 SkPixelGeometry geo) in CreateInfo()
294 , fPixelGeometry(AdjustGeometry(info, tileUsage, geo, false)) in CreateInfo()
299 SkPixelGeometry geo, in CreateInfo()
305 , fPixelGeometry(AdjustGeometry(info, tileUsage, geo, preserveLCDText)) in CreateInfo()
/external/skqp/gm/
Dsurface.cpp26 static sk_sp<SkSurface> make_surface(GrContext* ctx, const SkImageInfo& info, SkPixelGeometry geo) { in make_surface() argument
27 SkSurfaceProps props(0, geo); in make_surface()

123