Home
last modified time | relevance | path

Searched refs:kSteps (Results 1 – 8 of 8) sorted by relevance

/external/skia/tests/
DSRGBTest.cpp78 static const int kSteps = 128; in DEF_TEST() local
79 SkColor4f rgba[kSteps]; in DEF_TEST()
82 float scale = 10000.0f / (3*kSteps); in DEF_TEST()
91 for (int i = 0; i < kSteps; i++) { in DEF_TEST()
109 p.run(0,0,kSteps,1); in DEF_TEST()
116 for (int i = 0; i < kSteps; i++) { in DEF_TEST()
/external/skqp/tests/
DSRGBTest.cpp84 static const int kSteps = 128; in test_roundtripping() local
85 SkColor4f rgba[kSteps]; in test_roundtripping()
88 float scale = range / (3*kSteps); in test_roundtripping()
97 for (int i = 0; i < kSteps; i++) { in test_roundtripping()
114 p.run(0,0,kSteps,1); in test_roundtripping()
121 for (int i = 0; i < kSteps; i++) { in test_roundtripping()
/external/skia/gm/
Dcolorfilters.cpp133 const auto dh = (std::get<1>(tst.h) - std::get<0>(tst.h)) / (kSteps - 1), in onDraw()
134 ds = (std::get<1>(tst.s) - std::get<0>(tst.s)) / (kSteps - 1), in onDraw()
135 dl = (std::get<1>(tst.l) - std::get<0>(tst.l)) / (kSteps - 1); in onDraw()
141 for (size_t i = 0; i < kSteps; ++i) { in onDraw()
159 static constexpr size_t kSteps = 7; member in HSLColorFilterGM
Dclip_sierpinski_region.cpp19 static constexpr int kSteps = 4; variable
22 for (int i = 0; i < kSteps; ++i, n*=3, s/=3.f) {
/external/walt/ios/WALT/
DDragLatencyController.mm139 const int kSteps = 1500;
140 const NSTimeInterval kShiftStep = kSearchCoverage / kSteps;
143 deviations.reserve(kSteps);
146 for (int i = 0; i < kSteps; ++i) {
/external/zstd/lib/dictBuilder/
Dfastcover.c626 const unsigned kSteps = parameters->steps == 0 ? 40 : parameters->steps; in ZDICT_optimizeTrainFromBuffer_fastCover() local
627 const unsigned kStepSize = MAX((kMaxK - kMinK) / kSteps, 1); in ZDICT_optimizeTrainFromBuffer_fastCover()
716 data->parameters.steps = kSteps; in ZDICT_optimizeTrainFromBuffer_fastCover()
Dcover.c1123 const unsigned kSteps = parameters->steps == 0 ? 40 : parameters->steps; in ZDICT_optimizeTrainFromBuffer_cover() local
1124 const unsigned kStepSize = MAX((kMaxK - kMinK) / kSteps, 1); in ZDICT_optimizeTrainFromBuffer_cover()
1205 data->parameters.steps = kSteps; in ZDICT_optimizeTrainFromBuffer_cover()
/external/dng_sdk/source/
Ddng_lens_correction.cpp891 const uint32 kSteps = 128; in MaxSrcRadiusGap() local
893 const real64 kNorm = kMaxValue / real64 (kSteps - 1); in MaxSrcRadiusGap()
898 for (uint32 i = 0; i < kSteps; i++) in MaxSrcRadiusGap()