HomeSort by relevance Sort by last modified time
    Searched refs:slope (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
isp_isf.tab 43 /* slope in Q11 used to compute y = acos(x) */
45 static const Word16 slope[128] = {
  /frameworks/av/media/libstagefright/codecs/amrnb/common/src/
lsp_lsf_tbl.cpp 96 /* slope used to compute y = acos(x) */
98 extern const Word16 slope[];
99 const Word16 slope[64] = variable
lsp_lsf.cpp 112 extern const Word16 slope[];
263 slope = table to used to calculate inverse cosine
313 slope[ind] )/4096
315 L_tmp = L_mult (sub (lsp[i], table[ind]), slope[ind]);
316 //(lsp[i]-table[ind])*slope[ind])>>12
373 slope[ind] )/4096 */
375 L_tmp = (Word32)(temp - table[ind]) * slope[ind];
377 /*(lsp[i]-table[ind])*slope[ind])>>12*/
  /external/skia/src/core/
SkAnalyticEdge.cpp 14 // Therefore, we'll let the outter function compute the slope once and send in the value.
16 bool SkAnalyticEdge::updateLine(SkFixed x0, SkFixed y0, SkFixed x1, SkFixed y1, SkFixed slope) {
17 // Since we send in the slope, we can no longer snap y inside this function.
18 // If we don't send in the slope, or we do some more sophisticated snapping, this function
33 SkASSERT(slope < SK_MaxS32);
35 SkFDot6 absSlope = SkAbs32(SkFixedToFDot6(slope));
37 fDX = slope;
42 fDY = (dx == 0 || slope == 0)
91 SkFixed slope;
98 slope = diffY ? QuickSkFDot6Div(SkFixedToFDot6(newx - fSnappedX), diffY
    [all...]
SkAnalyticEdge.h 81 inline bool updateLine(SkFixed ax, SkFixed ay, SkFixed bx, SkFixed by, SkFixed slope);
159 SkFixed slope = QuickSkFDot6Div(dx, dy);
160 SkFixed absSlope = SkAbs32(slope);
163 fDX = slope;
168 fDY = dx == 0 || slope == 0 ? SK_MaxS32 : absSlope < kInverseTableSize
SkScan_Antihair.cpp 99 virtual SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) = 0;
100 virtual SkFixed drawLine(int x, int stopx, SkFixed fy, SkFixed slope) = 0;
108 SkFixed drawCap(int x, SkFixed fy, SkFixed slope, int mod64) override {
130 SkFixed slope) override {
336 SkFixed fstart, slope;
354 slope = 0;
357 slope = fastfixdiv(y1 - y0, x1 - x0);
358 SkASSERT(slope >= -SK_Fixed1 && slope <= SK_Fixed1);
359 fstart += (slope * (32 - (x0 & 63)) + 32) >> 6
    [all...]
SkEdge.h 122 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0);
125 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2
126 fDX = slope;
SkEdge.cpp 72 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); local
75 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2
76 fDX = slope;
113 SkFixed slope = SkFDot6Div(x1 - x0, y1 - y0); local
116 fX = SkFDot6ToFixed(x0 + SkFixedMul(slope, dy)); // + SK_Fixed1/2
117 fDX = slope;
  /external/webrtc/webrtc/modules/video_coding/test/
plotReceiveTrace.m 106 slope = 0;
113 slope = x;
116 plot(x, packetTime(:,3) - firstTime - slope, 'b.');
122 slope = x;
125 plot(x, firstPacketTime(:,2) - firstTime - slope, 'b.');
132 slope = x;
134 plot(x, completeTime(:,3) - firstTime - slope, 'ks');
141 slope = x;
143 plot(x, decodeTime(:,2) - firstTime - slope, 'r.');
150 slope = x
    [all...]
  /frameworks/av/include/media/
Interpolator.h 222 void setFirstSlope(T slope) {
223 mFirstSlope = slope;
230 void setLastSlope(T slope) {
231 mLastSlope = slope;
316 static S constrainSlope(S slope, S maxSlope) {
318 slope = std::min(slope, maxSlope);
319 slope = std::max(slope, S(0)); // not globally monotonic
321 slope = std::max(slope, maxSlope)
    [all...]
  /frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Vignette.java 37 private float slope = 20.0f; field in class:Vignette
57 t.setText("Slope");
84 slope = (float)progress;
102 center_y, scale, shade, slope); local
107 center_y, scale, shade, slope); local
112 scale, shade, slope); local
117 scale, shade, slope); local
  /frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Vignette.java 33 private float slope = 20.0f; field in class:Vignette
53 t.setText("Slope");
81 slope = (float)progress;
104 center_y, scale, shade, slope); local
109 center_y, scale, shade, slope); local
114 scale, shade, slope); local
119 scale, shade, slope); local
  /frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Vignette.java 33 private float slope = 20.0f; field in class:Vignette
53 t.setText("Slope");
81 slope = (float)progress;
104 center_y, scale, shade, slope); local
109 center_y, scale, shade, slope); local
114 scale, shade, slope); local
119 scale, shade, slope); local
  /external/dng_sdk/source/
dng_1d_table.cpp 165 real64 slope = (y1 - y0) * 65535.0; local
173 table16 [j] = (uint16) (base + slope * fract);
187 slope = (y1 - y0) * 65535.0;
  /external/guava/guava/src/com/google/common/util/concurrent/
SmoothRateLimiter.java 217 * - the slope starts at the middle, and goes from stableInterval to 3*stableInterval so
224 * The slope of the line from the stable interval (when permits == 0), to the cold interval
227 private double slope; field in class:SmoothRateLimiter.SmoothWarmingUp
242 slope = (coldIntervalMicros - stableIntervalMicros) / halfPermits;
270 return stableIntervalMicros + permits * slope;
  /device/google/dragon/audio/hal/dsp/
drc_kernel.h 47 float slope; /* Inverse ratio. */ member in struct:drc_kernel
  /external/fio/
steadystate.h 28 double slope; member in struct:steadystate_data
  /external/apache-commons-math/src/main/java/org/apache/commons/math/stat/regression/
SimpleRegression.java 32 * <code> y = intercept + slope * x </code></p>
34 * Standard errors for <code>intercept</code> and <code>slope</code> are
260 * <code> predict(x) = intercept + slope * x </code></p>
298 * Returns the slope of the estimated regression line.
300 * The least squares estimate of the slope is computed using the
302 * The slope is sometimes denoted b1.</p>
311 * @return the slope of the regression line
493 * error of the slope estimate</a>,
500 * @return standard error associated with slope estimate
507 * Returns the half-width of a 95% confidence interval for the slope
    [all...]
  /frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
rasterize.rs 29 static float2 slope[12];
57 slope[total].x = (-(f1.y * (f3.z - f2.z) - f2.y * f3.z + f3.y * f2.z + (f2.y - f3.y) * f1.z)
59 slope[total].y = ((f1.x * (f3.z - f2.z) - f2.x * f3.z + f3.x * f2.z + (f2.x - f3.x) * f1.z)
117 float2 delta = slope[i] * loc;
  /external/fio/unit_tests/
steadystate_tests.py 43 def check(data, iops, slope, pct, limit, dur, criterion):
47 if slope:
109 reads = [ {'s': True, 'timeout': 100, 'numjobs': 1, 'ss_dur': 5, 'ss_ramp': 3, 'iops': True, 'slope': True, 'ss_limit': 0.1, 'pct': True},
111 {'s': True, 'timeout': 100, 'numjobs': 3, 'ss_dur': 10, 'ss_ramp': 5, 'iops': False, 'slope': True, 'ss_limit': 0.1, 'pct': True},
112 {'s': True, 'timeout': 10, 'numjobs': 3, 'ss_dur': 10, 'ss_ramp': 500, 'iops': False, 'slope': True, 'ss_limit': 0.1, 'pct': True},
147 if job['slope']:
174 slope=job['slope'], variable
196 slope=job['slope'], variable
    [all...]
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
isp_isf.c 51 /* acos(isp[i])= ind*128 + ( ( isp[i]-table[ind] ) * slope[ind] )/2048 */
52 L_tmp = vo_L_mult(vo_sub(isp[i], table[ind]), slope[ind]);
53 isf[i] = vo_round((L_tmp << 4)); /* (isp[i]-table[ind])*slope[ind])>>11 */
  /external/deqp/external/vulkancts/modules/vulkan/clipping/
vktClippingTests.cpp 115 std::vector<Vec4> genVertices (const VkPrimitiveTopology topology, const Vec4& offset, const float slope)
129 vertices.push_back(offset + Vec4(0.0f, 0.0f, slope/2.0f + z, w));
131 vertices.push_back(offset + Vec4( hp, -hp, slope + z, w));
133 vertices.push_back(offset + Vec4( hp, hp, slope + z, w));
138 vertices.push_back(offset + Vec4( p, p, slope + z, w)); // line 0
139 vertices.push_back(offset + Vec4( p, p, slope + z, w));
140 vertices.push_back(offset + Vec4( p, -p, slope + z, w)); // line 1
141 vertices.push_back(offset + Vec4( p, -p, slope + z, w));
148 vertices.push_back(offset + Vec4( p, p, slope + z, w)); // line 0
151 vertices.push_back(offset + Vec4( p, p, slope + z, w))
    [all...]
  /external/skia/src/pathops/
SkPathOpsWinding.cpp 137 SkDVector slope; local
139 SkDEBUGCODE(sk_bzero(&slope, sizeof(slope)));
157 slope = this->dSlopeAtT(t);
166 if (fabs(pt_dydx(slope, dir) * 10000) > fabs(pt_dxdy(slope, dir))) {
180 newHit->fSlope = slope;
284 SkDebugf(" t=%1.9g pt=(%1.9g,%1.9g) slope=(%1.9g,%1.9g)\n", hit->fT,
  /external/autotest/client/site_tests/video_VideoDecodeMemoryUsage/
video_VideoDecodeMemoryUsage.py 98 Gets slope and the confidence interval of the linear regression based on
101 This function returns a tuple (beta, delta), where the beta is the slope
122 slope, delta = _get_linear_regression_slope(index, mem_usage)
124 name, slope - delta, slope + delta)
125 if (slope - delta > threshold):
127 raise error.TestError('leak detected: %s - %s' % (name, slope - delta))
  /external/pdfium/third_party/lcms2-2.6/src/
cmsgmt.c 535 double h, slope; local
550 slope = Lab -> b / Lab -> a;
560 Lab -> b = amax * slope;
567 Lab -> a = bmax / slope;
573 Lab -> b = amin * slope;
580 Lab -> a = bmin / slope;

Completed in 778 milliseconds

1 2 3 4 5