HomeSort by relevance Sort by last modified time
    Searched refs:abs (Results 201 - 225 of 2325) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/native/libs/gui/tests/
GLTest.cpp 25 static int abs(int value) { function in namespace:android
188 if (r >= 0 && abs(r - int(pixel[0])) > tolerance) {
191 if (g >= 0 && abs(g - int(pixel[1])) > tolerance) {
197 if (b >= 0 && abs(b - int(pixel[2])) > tolerance) {
203 if (a >= 0 && abs(a - int(pixel[3])) > tolerance) {
220 if (abs(r1.left - r2.left) > tolerance) {
223 if (abs(r1.top - r2.top) > tolerance) {
229 if (abs(r1.right - r2.right) > tolerance) {
235 if (abs(r1.bottom - r2.bottom) > tolerance) {
  /cts/tests/tests/uirendering/src/android/uirendering/cts/bitmapcomparers/
ThresholdDifferenceComparer.java 52 int error = Math.abs(Color.red(ideal[index]) - Color.red(given[index]));
53 error += Math.abs(Color.blue(ideal[index]) - Color.blue(given[index]));
54 error += Math.abs(Color.green(ideal[index]) - Color.green(given[index]));
  /external/arduino/hardware/arduino/cores/arduino/
wiring.h 70 // undefine stdlib's abs if encountered
71 #ifdef abs
72 #undef abs macro
77 #define abs(x) ((x)>0?(x):-(x)) macro
  /external/chromium_org/courgette/
disassembler_elf_32_x86_unittest.cc 50 std::set<courgette::RVA> abs(disassembler->Abs32Locations().begin(),
59 EXPECT_TRUE(abs.find((*rel32)->rva()) == abs.end());
  /external/chromium_org/third_party/libvpx/source/libvpx/vp8/common/
loopfilter_filters.c 32 mask |= (abs(p3 - p2) > limit);
33 mask |= (abs(p2 - p1) > limit);
34 mask |= (abs(p1 - p0) > limit);
35 mask |= (abs(q1 - q0) > limit);
36 mask |= (abs(q2 - q1) > limit);
37 mask |= (abs(q3 - q2) > limit);
38 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit);
46 hev |= (abs(p1 - p0) > thresh) * -1;
47 hev |= (abs(q1 - q0) > thresh) * -1
    [all...]
textblit.c 63 int steep = abs(y1 - y0) > abs(x1 - x0);
92 deltay = abs(y1 - y0);
  /external/chromium_org/third_party/libvpx/source/libvpx/vp9/common/
vp9_textblit.c 62 int steep = abs(y1 - y0) > abs(x1 - x0);
89 deltay = abs(y1 - y0);
  /external/eigen/Eigen/src/QR/
ColPivHouseholderQR_MKL.h 50 using std::abs; \
75 RealScalar premultiplied_threshold = abs(m_maxpivot) * threshold(); \
78 m_nonzero_pivots += (abs(m_qr.coeff(i,i)) > premultiplied_threshold);\
  /external/eigen/unsupported/Eigen/src/LevenbergMarquardt/
LMcovar.h 25 using std::abs;
34 const Scalar tolr = tol * abs(r(0,0));
41 if (abs(r(k,k)) > tolr) {
  /external/eigen/unsupported/Eigen/src/NonLinearOptimization/
covar.h 11 using std::abs;
21 const Scalar tolr = tol * abs(r(0,0));
28 if (abs(r(k,k)) > tolr) {
  /external/eigen/unsupported/test/
polynomialutils.cpp 41 evr[i] = std::abs( poly_eval( pols, roots[i] ) ); }
78 _Scalar Max = roots.array().abs().maxCoeff();
79 _Scalar min = roots.array().abs().minCoeff();
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/
eval_param.pass.cpp 45 assert(std::abs(f(u[i], a, b) - double(i)/N) < .001);
62 assert(std::abs(f(u[i], a, b) - double(i)/N) < .001);
79 assert(std::abs(f(u[i], a, b) - double(i)/N) < .001);
  /external/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/
eval.pass.cpp 66 assert(std::abs(f(u[i], d.m(), d.n()) - double(i)/N) < .01);
84 assert(std::abs(f(u[i], d.m(), d.n()) - double(i)/N) < .01);
102 assert(std::abs(f(u[i], d.m(), d.n()) - double(i)/N) < .01);
  /external/libvpx/libvpx/vp8/common/
loopfilter_filters.c 32 mask |= (abs(p3 - p2) > limit);
33 mask |= (abs(p2 - p1) > limit);
34 mask |= (abs(p1 - p0) > limit);
35 mask |= (abs(q1 - q0) > limit);
36 mask |= (abs(q2 - q1) > limit);
37 mask |= (abs(q3 - q2) > limit);
38 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit);
46 hev |= (abs(p1 - p0) > thresh) * -1;
47 hev |= (abs(q1 - q0) > thresh) * -1
    [all...]
textblit.c 63 int steep = abs(y1 - y0) > abs(x1 - x0);
92 deltay = abs(y1 - y0);
  /external/libvpx/libvpx/vp9/common/
vp9_textblit.c 62 int steep = abs(y1 - y0) > abs(x1 - x0);
89 deltay = abs(y1 - y0);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/
loopfilter_filters.c 32 mask |= (abs(p3 - p2) > limit);
33 mask |= (abs(p2 - p1) > limit);
34 mask |= (abs(p1 - p0) > limit);
35 mask |= (abs(q1 - q0) > limit);
36 mask |= (abs(q2 - q1) > limit);
37 mask |= (abs(q3 - q2) > limit);
38 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit);
46 hev |= (abs(p1 - p0) > thresh) * -1;
47 hev |= (abs(q1 - q0) > thresh) * -1
    [all...]
textblit.c 63 int steep = abs(y1 - y0) > abs(x1 - x0);
92 deltay = abs(y1 - y0);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/
vp9_textblit.c 62 int steep = abs(y1 - y0) > abs(x1 - x0);
89 deltay = abs(y1 - y0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.cauchy/
eval_param.pass.cpp 45 assert(std::abs(f(u[i], a, b) - double(i)/N) < .001);
62 assert(std::abs(f(u[i], a, b) - double(i)/N) < .001);
79 assert(std::abs(f(u[i], a, b) - double(i)/N) < .001);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/numerics/rand/rand.dis/rand.dist.norm/rand.dist.norm.f/
eval.pass.cpp 66 assert(std::abs(f(u[i], d.m(), d.n()) - double(i)/N) < .01);
84 assert(std::abs(f(u[i], d.m(), d.n()) - double(i)/N) < .01);
102 assert(std::abs(f(u[i], d.m(), d.n()) - double(i)/N) < .01);
  /pdk/apps/CameraITS/tests/scene1/
test_param_tonemap_mode.py 98 assert(abs(rgb_diffs[0]) < THRESHOLD_DIFF_MAX_DIFF)
99 assert(abs(rgb_diffs[1]) < THRESHOLD_DIFF_MAX_DIFF)
100 assert(abs(rgb_diffs[2]) < THRESHOLD_DIFF_MAX_DIFF)
  /external/eigen/Eigen/src/Core/
MathFunctions.h 256 using std::abs;
257 return abs(real(x)) + abs(imag(x));
266 using std::abs;
267 return abs(x);
292 using std::abs;
294 RealScalar _x = abs(x);
295 RealScalar _y = abs(y);
342 using std::abs;
346 if (y == Scalar(0) || abs(z) > sqrt(NumTraits<RealScalar>::epsilon())
    [all...]
  /cts/suite/audio_quality/test_description/processing/
check_spectrum_playback.py 53 print "Phh", abs(Phh[iLow:iHigh])
54 spectrum = np.sqrt(abs(Phh[iLow:iHigh]))
59 positiveMax = abs(max(spectrum))
60 negativeMin = abs(min(spectrum))
playback_sample.py 50 diff = abs(freq - signalFrequency)

Completed in 715 milliseconds

1 2 3 4 5 6 7 891011>>