Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/webrtc/modules/video_coding/main/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/experimental/Intersection/
DLineUtilities.cpp10 bool implicitLine(const _Line& line, double& slope, double& axisIntercept) { in implicitLine() argument
15 slope = delta.y / delta.x; in implicitLine()
16 axisIntercept = line[0].y - slope * line[0].x; in implicitLine()
18 slope = delta.x / delta.y; in implicitLine()
19 axisIntercept = line[0].x - slope * line[0].y; in implicitLine()
104 double slope = (p2.x - p1.x) / (p2.y - p1.y); in x_at() local
108 double x = p1.x + (top - p1.y) * slope; in x_at()
114 double x = p1.x + (bottom - p1.y) * slope; in x_at()
/external/chromium_org/third_party/skia/experimental/Intersection/
DLineUtilities.cpp10 bool implicitLine(const _Line& line, double& slope, double& axisIntercept) { in implicitLine() argument
15 slope = delta.y / delta.x; in implicitLine()
16 axisIntercept = line[0].y - slope * line[0].x; in implicitLine()
18 slope = delta.x / delta.y; in implicitLine()
19 axisIntercept = line[0].x - slope * line[0].y; in implicitLine()
104 double slope = (p2.x - p1.x) / (p2.y - p1.y); in x_at() local
108 double x = p1.x + (top - p1.y) * slope; in x_at()
114 double x = p1.x + (bottom - p1.y) * slope; in x_at()
/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/chromium_org/third_party/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/chromium_org/third_party/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 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) SK_OVERRIDE { in drawCap() argument
131 SkFixed slope) SK_OVERRIDE { in drawLine() argument
405 SkFixed fstart, slope; in do_anti_hairline() local
423 slope = 0; in do_anti_hairline()
426 slope = fastfixdiv(y1 - y0, x1 - x0); in do_anti_hairline()
427 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1); in do_anti_hairline()
428 fstart += (slope * (32 - (x0 & 63)) + 32) >> 6; in do_anti_hairline()
448 fstart += slope * (clip->fLeft - istart); in do_anti_hairline()
[all …]
DSkEdge.h115 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() local
118 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
119 fDX = slope; in setLine()
DSkEdge.cpp66 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() local
69 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
70 fDX = slope; in setLine()
107 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in updateLine() local
110 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
111 fDX = slope; in updateLine()
DSkScan_Hairline.cpp121 SkFixed slope = SkFixedDiv(dy, dx); in HairLineRgn() local
122 SkFixed startY = SkFDot6ToFixed(y0) + (slope * ((32 - x0) & 63) >> 6); in HairLineRgn()
124 horiline(ix0, ix1, startY, slope, blitter); in HairLineRgn()
136 SkFixed slope = SkFixedDiv(dx, dy); in HairLineRgn() local
137 SkFixed startX = SkFDot6ToFixed(x0) + (slope * ((32 - y0) & 63) >> 6); in HairLineRgn()
139 vertline(iy0, iy1, startX, slope, blitter); in HairLineRgn()
/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 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) SK_OVERRIDE { in drawCap() argument
131 SkFixed slope) SK_OVERRIDE { in drawLine() argument
405 SkFixed fstart, slope; in do_anti_hairline() local
423 slope = 0; in do_anti_hairline()
426 slope = fastfixdiv(y1 - y0, x1 - x0); in do_anti_hairline()
427 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1); in do_anti_hairline()
428 fstart += (slope * (32 - (x0 & 63)) + 32) >> 6; in do_anti_hairline()
448 fstart += slope * (clip->fLeft - istart); in do_anti_hairline()
[all …]
DSkEdge.h115 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() local
118 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
119 fDX = slope; in setLine()
DSkEdge.cpp66 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in setLine() local
69 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in setLine()
70 fDX = slope; in setLine()
107 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); in updateLine() local
110 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2 in updateLine()
111 fDX = slope; in updateLine()
DSkScan_Hairline.cpp121 SkFixed slope = SkFixedDiv(dy, dx); in HairLineRgn() local
122 SkFixed startY = SkFDot6ToFixed(y0) + (slope * ((32 - x0) & 63) >> 6); in HairLineRgn()
124 horiline(ix0, ix1, startY, slope, blitter); in HairLineRgn()
136 SkFixed slope = SkFixedDiv(dx, dy); in HairLineRgn() local
137 SkFixed startX = SkFDot6ToFixed(x0) + (slope * ((32 - y0) & 63) >> 6); in HairLineRgn()
139 vertline(iy0, iy1, startX, slope, blitter); in HairLineRgn()
/external/chromium_org/third_party/WebKit/Source/platform/geometry/
DFloatPoint.cpp104 float slope = (p2.y() - p1.y()) / (p2.x() - p1.x()); in findSlope() local
105 c = p1.y() - slope * p1.x(); in findSlope()
106 return slope; in findSlope()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/
DPathTraversalState.cpp221 float slope = FloatPoint(m_current - m_previous).slopeAngleRadians(); in processSegment() local
224 m_current.move(offset * cosf(slope), offset * sinf(slope)); in processSegment()
226 m_normalAngle = rad2deg(slope); in processSegment()
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
DFEComponentTransfer.h44 , slope(0) in ComponentTransferFunction()
54 float slope; member
/external/pdfium/core/src/fxcodec/lcms2/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/chromium_org/chrome/browser/history/
Dscored_history_match.cc568 const float slope = (600 - 400) / (1.5f - 0.0f); in GetFinalRelevancyScore() local
569 return 400 + slope * intermediate_score; in GetFinalRelevancyScore()
573 const float slope = (1300 - 600) / (12.0f - 1.5f); in GetFinalRelevancyScore() local
574 return 600 + slope * (intermediate_score - 1.5); in GetFinalRelevancyScore()
581 const float slope = (1399 - 1300) / (20.0f - 12.0f); in GetFinalRelevancyScore() local
582 return std::min(1399.0, 1300 + slope * (intermediate_score - 12.0)); in GetFinalRelevancyScore()
/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/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_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/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/BWEStandAlone/
DMatlabPlot.h48 void UpdateTrendLine(MatlabLine * sourceData, double slope, double offset);
118 …int MakeTrend(const char *sourceName, const char *trendName, double slope, double offset, const ch…
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Dexpand.cc674 int16_t slope = amplitude_ratio; in AnalyzeSignal() local
675 if (slope > 12288) { in AnalyzeSignal()
683 int16_t temp_ratio = WebRtcSpl_DivW32W16((slope - 8192) << 12, in AnalyzeSignal()
684 (distortion_lag * slope) >> 8); in AnalyzeSignal()
685 if (slope > 14746) { in AnalyzeSignal()
697 parameters.mute_slope = WebRtcSpl_DivW32W16((8192 - slope) << 7, in AnalyzeSignal()
705 } else if (slope > 8028) { in AnalyzeSignal()
/external/chromium_org/tools/deep_memory_profiler/visualizer/static/
Dgraph-view.js151 var slope = (rightPoint.y - leftPoint.y) / (rightPoint.x - leftPoint.x);
152 var interpolateY = slope * (pos.x - rightPoint.x) + rightPoint.y;
/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/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

123