/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
colorsys.py | 69 minc = min(r, g, b) 70 # XXX Can optimize (maxc+minc) and (maxc-minc) 71 l = (minc+maxc)/2.0 72 if minc == maxc: 75 s = (maxc-minc) / (maxc+minc) 77 s = (maxc-minc) / (2.0-maxc-minc) 78 rc = (maxc-r) / (maxc-minc) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
colorsys.py | 69 minc = min(r, g, b) 70 # XXX Can optimize (maxc+minc) and (maxc-minc) 71 l = (minc+maxc)/2.0 72 if minc == maxc: 75 s = (maxc-minc) / (maxc+minc) 77 s = (maxc-minc) / (2.0-maxc-minc) 78 rc = (maxc-r) / (maxc-minc) [all...] |
/external/eigen/test/eigen2/ |
eigen2_visitor.cpp | 27 Scalar minc = Scalar(1000), maxc = Scalar(-1000); local 32 if(m(i,j) < minc) 34 minc = m(i,j); 53 VERIFY_IS_APPROX(minc, eigen_minc); 55 VERIFY_IS_APPROX(minc, m.minCoeff()); 73 Scalar minc = Scalar(1000), maxc = Scalar(-1000); local 77 if(v(i) < minc) 79 minc = v(i); 94 VERIFY_IS_APPROX(minc, eigen_minc); 96 VERIFY_IS_APPROX(minc, v.minCoeff()) [all...] |
/external/eigen/test/ |
visitor.cpp | 28 Scalar minc = Scalar(1000), maxc = Scalar(-1000); local 33 if(m(i,j) < minc) 35 minc = m(i,j); 54 VERIFY_IS_APPROX(minc, eigen_minc); 56 VERIFY_IS_APPROX(minc, m.minCoeff()); 75 Scalar minc = Scalar(1000), maxc = Scalar(-1000); local 79 if(v(i) < minc) 81 minc = v(i); 96 VERIFY_IS_APPROX(minc, eigen_minc); 98 VERIFY_IS_APPROX(minc, v.minCoeff()) [all...] |
redux.cpp | 29 Scalar s(0), p(1), minc(internal::real(m1.coeff(0))), maxc(internal::real(m1.coeff(0))); 35 minc = (std::min)(internal::real(minc), internal::real(m1(i,j))); 43 VERIFY_IS_APPROX(m1.real().minCoeff(), internal::real(minc)); 75 RealScalar minc(internal::real(v.coeff(0))), maxc(internal::real(v.coeff(0))); 80 minc = (std::min)(minc, internal::real(v[j])); 85 VERIFY_IS_APPROX(minc, v.real().head(i).minCoeff()); 92 RealScalar minc(internal::real(v.coeff(i))), maxc(internal::real(v.coeff(i))); 97 minc = (std::min)(minc, internal::real(v[j])) [all...] |
/external/libvpx/libvpx/vp9/encoder/ |
vp9_mcomp.c | 185 if (c >= minc && c <= maxc && r >= minr && r <= maxr) \ 307 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX); local 404 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX); local 500 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX); local 602 const int minc = MAX(x->mv_col_min * 8, ref_mv->col - MV_MAX); local [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
mcomp.c | 197 #define IFMVCV(r,c,s,e) if ( c >= minc && c <= maxc && r >= minr && r <= maxr) s else e; 223 int minc = MAX(x->mv_col_min * 4, local [all...] |