Home
last modified time | relevance | path

Searched refs:baseline (Results 1 – 25 of 151) sorted by relevance

1234567

/external/chromium_org/third_party/skia/tools/skpdiff/
DSkDifferentPixelsMetric_cpu.cpp17 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, in diff() argument
22 if (baseline->width() != test->width() || baseline->height() != test->height() || in diff()
23 baseline->width() <= 0 || baseline->height() <= 0 || in diff()
24 baseline->colorType() != test->colorType()) { in diff()
28 int width = baseline->width(); in diff()
29 int height = baseline->height(); in diff()
39 baseline->lockPixels(); in diff()
43 unsigned char* baselineRow = (unsigned char*)baseline->getAddr(0, y); in diff()
56 baseline->unlockPixels(); in diff()
DSkDifferentPixelsMetric_opencl.cpp39 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, in diff() argument
51 if (baseline->width() != test->width() || baseline->height() != test->height() || in diff()
52 baseline->width() <= 0 || baseline->height() <= 0 || in diff()
53 baseline->config() != test->config()) { in diff()
62 if (!this->makeImage2D(baseline, &baselineImage) || !this->makeImage2D(test, &testImage)) { in diff()
68 result->result = 1.0 / ((double)baseline->width() * baseline->height()); in diff()
87 const size_t workSize[] = { baseline->width(), baseline->height() }; in diff()
DSkPMetric.cpp445 bool SkPMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, Result* result) const { in diff() argument
449 if (baseline->width() != test->width() || baseline->height() != test->height() || in diff()
450 baseline->width() <= 0 || baseline->height() <= 0) { in diff()
454 ImageLAB baselineLAB(baseline->width(), baseline->height()); in diff()
455 ImageLAB testLAB(baseline->width(), baseline->height()); in diff()
457 if (!bitmap_to_cielab(baseline, &baselineLAB) || !bitmap_to_cielab(test, &testLAB)) { in diff()
/external/skia/tools/skpdiff/
DSkDifferentPixelsMetric_cpu.cpp17 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, in diff() argument
22 if (baseline->width() != test->width() || baseline->height() != test->height() || in diff()
23 baseline->width() <= 0 || baseline->height() <= 0 || in diff()
24 baseline->colorType() != test->colorType()) { in diff()
28 int width = baseline->width(); in diff()
29 int height = baseline->height(); in diff()
39 baseline->lockPixels(); in diff()
43 unsigned char* baselineRow = (unsigned char*)baseline->getAddr(0, y); in diff()
56 baseline->unlockPixels(); in diff()
DSkDifferentPixelsMetric_opencl.cpp39 bool SkDifferentPixelsMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, in diff() argument
51 if (baseline->width() != test->width() || baseline->height() != test->height() || in diff()
52 baseline->width() <= 0 || baseline->height() <= 0 || in diff()
53 baseline->config() != test->config()) { in diff()
62 if (!this->makeImage2D(baseline, &baselineImage) || !this->makeImage2D(test, &testImage)) { in diff()
68 result->result = 1.0 / ((double)baseline->width() * baseline->height()); in diff()
87 const size_t workSize[] = { baseline->width(), baseline->height() }; in diff()
DSkPMetric.cpp445 bool SkPMetric::diff(SkBitmap* baseline, SkBitmap* test, bool computeMask, Result* result) const { in diff() argument
449 if (baseline->width() != test->width() || baseline->height() != test->height() || in diff()
450 baseline->width() <= 0 || baseline->height() <= 0) { in diff()
454 ImageLAB baselineLAB(baseline->width(), baseline->height()); in diff()
455 ImageLAB testLAB(baseline->width(), baseline->height()); in diff()
457 if (!bitmap_to_cielab(baseline, &baselineLAB) || !bitmap_to_cielab(test, &testLAB)) { in diff()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DGraphicsTypes.cpp189 String textBaselineName(TextBaseline baseline) in textBaselineName() argument
191 ASSERT(baseline >= 0); in textBaselineName()
192 ASSERT(baseline < 6); in textBaselineName()
194 return names[baseline]; in textBaselineName()
197 bool parseTextBaseline(const String& s, TextBaseline& baseline) in parseTextBaseline() argument
200 baseline = AlphabeticTextBaseline; in parseTextBaseline()
204 baseline = TopTextBaseline; in parseTextBaseline()
208 baseline = MiddleTextBaseline; in parseTextBaseline()
212 baseline = BottomTextBaseline; in parseTextBaseline()
216 baseline = IdeographicTextBaseline; in parseTextBaseline()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/internal/performance/results/db/
DConfigResults.java30 BuildResults baseline, current; field in ConfigResults
56 if (this.baseline == null) { in getBaselineBuildName()
59 return this.baseline.getName(); in getBaselineBuildName()
69 if (this.baseline == null) { in getBaselineBuildResults()
72 return this.baseline; in getBaselineBuildResults()
83 if (this.baseline == null) { in getBaselineBuildResults()
94 return this.baseline; in getBaselineBuildResults()
104 if (this.baseline == null) { in getBaselineBuildValue()
107 return this.baseline.getValue(); in getBaselineBuildValue()
281 if (this.baseline == null || this.current == null) { in getCurrentBuildDeltaInfo()
[all …]
DBuildResults.java46 boolean baseline; field in BuildResults
56 this.baseline = this.name.startsWith(DB_Results.getDbBaselinePrefix()); in BuildResults()
157 if (this.baseline) { in getDate()
322 return this.baseline; in isBaseline()
386 this.baseline = kind == 0; in readData()
387 if (this.baseline) { in readData()
554 if (!this.baseline) { in write()
/external/linux-tools-perf/perf-3.12.0/tools/perf/Documentation/
Dperf-diff.txt11 'perf diff' [baseline file] [data file1] [[data file2] ... ]
72 --baseline-only::
73 Show only items with match in baseline.
94 The comparison is governed by the baseline file. The baseline perf.data
96 the command line are searched for the baseline sample pair. If the pair
99 All samples from non-baseline perf.data files, that do not match any
100 baseline entry, are displayed with empty space within baseline column
110 b - baseline sample percentage
114 baseline/A compute/B compute/C samples
125 baseline/B compute/A compute/C samples
[all …]
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
DSVGTextLayoutEngineBaseline.cpp72 EDominantBaseline baseline = style->dominantBaseline(); in dominantBaselineToAlignmentBaseline() local
73 if (baseline == DB_AUTO) { in dominantBaselineToAlignmentBaseline()
75 baseline = DB_CENTRAL; in dominantBaselineToAlignmentBaseline()
77 baseline = DB_ALPHABETIC; in dominantBaselineToAlignmentBaseline()
80 switch (baseline) { in dominantBaselineToAlignmentBaseline()
120 EAlignmentBaseline baseline = textRenderer->style()->svgStyle()->alignmentBaseline(); in calculateAlignmentBaselineShift() local
121 if (baseline == AB_AUTO) { in calculateAlignmentBaselineShift()
122 baseline = dominantBaselineToAlignmentBaseline(isVerticalText, textRendererParent); in calculateAlignmentBaselineShift()
123 ASSERT(baseline != AB_AUTO); in calculateAlignmentBaselineShift()
129 switch (baseline) { in calculateAlignmentBaselineShift()
/external/chromium_org/chrome/browser/ui/views/bookmarks/
Dbookmark_bar_instructions_view.cc56 int baseline = view->GetBaseline(); in GetPreferredSize() local
57 if (baseline != -1) { in GetPreferredSize()
58 ascent = std::max(ascent, baseline); in GetPreferredSize()
59 descent = std::max(descent, pref.height() - baseline); in GetPreferredSize()
77 int baseline = view->GetBaseline(); in Layout() local
79 if (baseline != -1 && baseline_ != -1) in Layout()
80 y = baseline_ - baseline; in Layout()
/external/chromium_org/tools/imagediff/
Dimage_diff.cc147 float PercentageDifferent(const Image& baseline, const Image& actual) { in PercentageDifferent() argument
148 int w = std::min(baseline.w(), actual.w()); in PercentageDifferent()
149 int h = std::min(baseline.h(), actual.h()); in PercentageDifferent()
155 if (baseline.pixel_at(x, y) != actual.pixel_at(x, y)) in PercentageDifferent()
161 int max_w = std::max(baseline.w(), actual.w()); in PercentageDifferent()
162 int max_h = std::max(baseline.h(), actual.h()); in PercentageDifferent()
181 float HistogramPercentageDifferent(const Image& baseline, const Image& actual) { in HistogramPercentageDifferent() argument
186 int w = std::min(baseline.w(), actual.w()); in HistogramPercentageDifferent()
187 int h = std::min(baseline.h(), actual.h()); in HistogramPercentageDifferent()
194 baseline_histogram[baseline.pixel_at(x, y)]++; in HistogramPercentageDifferent()
[all …]
/external/eigen/bench/btl/generic_bench/timers/
DSTL_timer.hh32 STL_Timer(){ baseline = false; }; // Default constructor in STL_Timer()
44 baseline = true; in start_baseline()
74 bool baseline; member in STL_Timer
/external/chromium_org/third_party/WebKit/Source/core/css/
DSVGCSSPropertyNames.in42 alignment-baseline
43 baseline-shift
44 dominant-baseline
/external/chromium_org/third_party/skia/tools/
Dcoverage.sh22 lcov $QUIET --gcov-tool=$GCOV -c -b out/Coverage -d out/Coverage -o /tmp/baseline -i
28 lcov $QUIET -a /tmp/baseline -a /tmp/coverage -o /tmp/merged
/external/skia/tools/
Dcoverage.sh22 lcov $QUIET --gcov-tool=$GCOV -c -b out/Coverage -d out/Coverage -o /tmp/baseline -i
28 lcov $QUIET -a /tmp/baseline -a /tmp/coverage -o /tmp/merged
/external/chromium_org/tools/site_compare/commands/
Dmaskmaker.py171 baseline = None
173 baseline = Image.open(os.path.join(mask_scrape_dir, mask_scrapes[0]))
197 if baseline:
198 diff = ImageChops.multiply(ImageChops.difference(scrape, baseline),
/external/chromium_org/ui/gfx/
Dplatform_font_win.cc141 return font_ref_->baseline(); in GetBaseline()
239 const int baseline = std::max<int>(1, font_metrics.tmAscent); in CreateHFontRef() local
253 return new HFontRef(font, font_size, height, baseline, cap_height, in CreateHFontRef()
266 int baseline, in HFontRef() argument
273 baseline_(baseline), in HFontRef()
Dplatform_font_win.h86 int baseline,
94 int baseline() const { return baseline_; } in baseline() function
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/
DdevicesView.css16 align-items: baseline;
27 align-items: baseline;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/scripts/
Dresults.properties12 -baseline 3.0_200406251208_200505301645 \
13 -baseline.prefix 3.0_ \
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGAttributeNames.in8 alignment-baseline
18 baseline-shift
44 dominant-baseline
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/
DGenerateResults.java189 public GenerateResults(PerformanceResults results, String current, String baseline, boolean fingerp… in GenerateResults() argument
196 setDefaults(current, baseline); in GenerateResults()
214 String baseline = null; in parse() local
229 baseline = args[i + 1]; in parse()
230 if (baseline.startsWith("-")) { in parse()
234 buffer.append(" -baseline = "+baseline+'\n'); in parse()
479 setPerformanceResults(currentBuildId, baseline); in parse()
979 private void setDefaults(String buildName, String baseline) { in setDefaults() argument
1011 int index = baseline.lastIndexOf('_'); in setDefaults()
1013 this.baselinePrefix = baseline.substring(0, index); in setDefaults()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DRenderButton.cpp120 int RenderButton::baselinePosition(FontBaseline baseline, bool firstLine, LineDirectionMode directi… in baselinePosition() argument
135 return RenderFlexibleBox::baselinePosition(baseline, firstLine, direction, linePositionMode); in baselinePosition()

1234567