Home
last modified time | relevance | path

Searched refs:slope (Results 1 – 25 of 55) sorted by relevance

123

/external/webrtc/webrtc/modules/video_coding/test/
DplotReceiveTrace.m106 slope = 0; variable
113 slope = x; variable
116 plot(x, packetTime(:,3) - firstTime - slope, 'b.');
122 slope = x; variable
125 plot(x, firstPacketTime(:,2) - firstTime - slope, 'b.');
132 slope = x; variable
134 plot(x, completeTime(:,3) - firstTime - slope, 'ks');
141 slope = x; variable
143 plot(x, decodeTime(:,2) - firstTime - slope, 'r.');
150 slope = x; variable
[all …]
/external/skia/src/core/
DSkScan_Antihair.cpp100 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0;
101 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0;
109 SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) override { in drawCap() argument
131 SkFixed slope) override { in drawLine() argument
337 SkFixed fstart, slope; in do_anti_hairline() local
355 slope = 0; in do_anti_hairline()
358 slope = fastfixdiv(y1 - y0, x1 - x0); in do_anti_hairline()
359 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1); in do_anti_hairline()
360 fstart += (slope * (32 - (x0 & 63)) + 32) >> 6; in do_anti_hairline()
380 fstart += slope * (clip->fLeft - istart); in do_anti_hairline()
[all …]
DSkEdge.h121 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() local
124 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
125 fDX = slope; in setLine()
DSkEdge.cpp73 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() local
76 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
77 fDX = slope; in setLine()
114 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in updateLine() local
117 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
118 fDX = slope; in updateLine()
DSkScan_Hairline.cpp120 SkFixed slope = SkFixedDiv(dy, dx); in HairLineRgn() local
121 SkFixed startY = SkFDot6ToFixed(y0) + (slope * ((32 - x0) & 63) >> 6); in HairLineRgn()
123 horiline(ix0, ix1, startY, slope, blitter); in HairLineRgn()
135 SkFixed slope = SkFixedDiv(dx, dy); in HairLineRgn() local
136 SkFixed startX = SkFDot6ToFixed(x0) + (slope * ((32 - y0) & 63) >> 6); in HairLineRgn()
138 vertline(iy0, iy1, startX, slope, blitter); in HairLineRgn()
/external/skia/bench/
Dbench_util.py305 self.slope = B
315 str(self.slope),
324 slope = self.slope
331 if slope < 0:
332 lower_left_y = slope*regr_start + intercept - error
333 upper_right_y = slope*regr_end + intercept + error
336 elif slope > 0:
337 upper_left_y = slope*regr_start + intercept + error
338 lower_right_y = slope*regr_end + intercept - error
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/
DSimpleRegression.java610 private double getIntercept(double slope) { in getIntercept() argument
611 return (sumY - slope * sumX) / n; in getIntercept()
620 private double getRegressionSumSquares(double slope) { in getRegressionSumSquares() argument
621 return slope * slope * sumXX; in getRegressionSumSquares()
/external/dng_sdk/source/
Ddng_1d_table.cpp165 real64 slope = (y1 - y0) * 65535.0; in Expand16() local
173 table16 [j] = (uint16) (base + slope * fract); in Expand16()
187 slope = (y1 - y0) * 65535.0; in Expand16()
/external/skia/src/pathops/
DSkPathOpsWinding.cpp137 SkDVector slope; in rayCheck() local
139 SkDEBUGCODE(sk_bzero(&slope, sizeof(slope))); in rayCheck()
157 slope = this->dSlopeAtT(t); in rayCheck()
166 if (fabs(pt_dydx(slope, dir) * 10000) > fabs(pt_dxdy(slope, dir))) { in rayCheck()
180 newHit->fSlope = slope; in rayCheck()
/external/guava/guava/src/com/google/common/util/concurrent/
DSmoothRateLimiter.java227 private double slope; field in SmoothRateLimiter.SmoothWarmingUp
242 slope = (coldIntervalMicros - stableIntervalMicros) / halfPermits; in doSetRate()
270 return stableIntervalMicros + permits * slope; in permitsToTime()
/external/autotest/client/site_tests/video_VideoDecodeMemoryUsage/
Dvideo_VideoDecodeMemoryUsage.py137 slope, delta = _get_linear_regression_slope(index, mem_usage)
139 name, slope - delta, slope + delta)
140 if (slope - delta > threshold):
142 raise error.TestError('leak detected: %s - %s' % (name, slope - delta))
/external/pdfium/third_party/lcms2-2.6/src/
Dcmsgmt.c535 double h, slope; in cmsDesaturateLab() local
550 slope = Lab -> b / Lab -> a; in cmsDesaturateLab()
560 Lab -> b = amax * slope; in cmsDesaturateLab()
567 Lab -> a = bmax / slope; in cmsDesaturateLab()
573 Lab -> b = amin * slope; in cmsDesaturateLab()
580 Lab -> a = bmin / slope; in cmsDesaturateLab()
/external/autotest/client/site_tests/hardware_PerfCounterVerification/
Dperf_verification.py86 (slope, intercept), r2 = stats_utils.LinearRegression(
88 print "slope:", slope
Dhardware_PerfCounterVerification.py89 (slope, intercept), r2 = stats_utils.LinearRegression(
92 results[prefix+'slope'] = slope
Dperf_lbr_verification.py270 (slope, intercept), r2 = stats_utils.LinearRegression(
274 print "slope:", slope
/external/esd/include/
Daudiofile.h519 double slope, double intercept, double minClip, double maxClip);
521 double *slope, double *intercept, double *minClip, double *maxClip);
525 double slope, double intercept, double minClip, double maxClip);
529 double slope, double intercept, double minClip, double maxClip);
531 double *slope, double *intercept, double *minClip, double *maxClip);
/external/webrtc/webrtc/modules/video_processing/test/
DcreateTable.m14 % and (r0, r0), and with a slope B in (0,0).
17 % same slope as the first part in the point (r0, r0) and slope
24 B=0.2; % initial slope of compander function (between 0 and 1)
/external/deqp/doc/testspecs/GLES2/
Dperformance.shaders.operator.txt37 frame is measured, and the slope of the workload size vs frame time data is
38 estimated. This slope tells us the estimated increase in frame time caused by
61 these tests is to look at the slope of the increasing right part. Additionally
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dexpand.cc716 int16_t slope = amplitude_ratio; in AnalyzeSignal() local
717 if (slope > 12288) { in AnalyzeSignal()
726 (slope - 8192) << 12, in AnalyzeSignal()
727 static_cast<int16_t>((distortion_lag * slope) >> 8)); in AnalyzeSignal()
728 if (slope > 14746) { in AnalyzeSignal()
741 (8192 - slope) << 7, static_cast<int16_t>(distortion_lag)); in AnalyzeSignal()
747 } else if (slope > 8028) { in AnalyzeSignal()
/external/deqp/doc/testspecs/GLES3/
Dperformance.shaders.operator.txt41 frame is measured, and the slope of the workload size vs frame time data is
42 estimated. This slope tells us the estimated increase in frame time caused by
65 these tests is to look at the slope of the increasing right part. Additionally
/external/autotest/client/site_tests/kernel_Ktime/
Dkernel_Ktime.py216 slope = ((sum_rtc_diff - sum_rtc * mean_diff) /
218 logging.info('drift %.9f', slope)
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_state_rss.c234 float slope = 0.0; in emit_rss() local
244 slope = curr->slopescaledepthbias; in emit_rss()
248 EMIT_RS_FLOAT( svga, slope, SLOPESCALEDEPTHBIAS, fail ); in emit_rss()
/external/chromium-trace/catapult/docs/
Dstyle-guide.md109 set slope(slope) {
111 this.slope_ = slope;
166 this.slope = null;
/external/opencv/cxcore/src/
Dcxdrawing.cpp301 int slope; in icvLineAA() local
352 slope = (y_step >> (XY_SHIFT - 5)) & 0x3f; in icvLineAA()
353 slope ^= (y_step < 0 ? 0x3f : 0); in icvLineAA()
376 slope = (x_step >> (XY_SHIFT - 5)) & 0x3f; in icvLineAA()
377 slope ^= (x_step < 0 ? 0x3f : 0); in icvLineAA()
384 slope = (slope & 0x20) ? 0x100 : icvSlopeCorrTable[slope]; in icvLineAA()
388 int t0 = slope << 7; in icvLineAA()
389 int t1 = ((0x78 - i) | 4) * slope; in icvLineAA()
390 int t2 = (j | 4) * slope; in icvLineAA()
393 ep_table[8] = slope; in icvLineAA()
[all …]
/external/opencv3/modules/imgproc/src/
Ddrawing.cpp288 int slope; in LineAA() local
343 slope = (y_step >> (XY_SHIFT - 5)) & 0x3f; in LineAA()
344 slope ^= (y_step < 0 ? 0x3f : 0); in LineAA()
367 slope = (x_step >> (XY_SHIFT - 5)) & 0x3f; in LineAA()
368 slope ^= (x_step < 0 ? 0x3f : 0); in LineAA()
375 slope = (slope & 0x20) ? 0x100 : SlopeCorrTable[slope]; in LineAA()
379 int t0 = slope << 7; in LineAA()
380 int t1 = ((0x78 - i) | 4) * slope; in LineAA()
381 int t2 = (j | 4) * slope; in LineAA()
384 ep_table[8] = slope; in LineAA()
[all …]

123