/external/python/cpython2/Lib/ |
D | colorsys.py | 68 maxc = max(r, g, b) 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) 79 gc = (maxc-g) / (maxc-minc) 80 bc = (maxc-b) / (maxc-minc) 81 if r == maxc: 83 elif g == maxc: [all …]
|
/external/python/cpython3/Lib/ |
D | colorsys.py | 76 maxc = max(r, g, b) 79 l = (minc+maxc)/2.0 80 if minc == maxc: 83 s = (maxc-minc) / (maxc+minc) 85 s = (maxc-minc) / (2.0-maxc-minc) 86 rc = (maxc-r) / (maxc-minc) 87 gc = (maxc-g) / (maxc-minc) 88 bc = (maxc-b) / (maxc-minc) 89 if r == maxc: 91 elif g == maxc: [all …]
|
/external/eigen/test/ |
D | visitor.cpp | 28 Scalar minc = Scalar(1000), maxc = Scalar(-1000); in matrixVisitor() local 39 if(m(i,j) > maxc) in matrixVisitor() 41 maxc = m(i,j); in matrixVisitor() 55 VERIFY_IS_APPROX(maxc, eigen_maxc); in matrixVisitor() 57 VERIFY_IS_APPROX(maxc, m.maxCoeff()); in matrixVisitor() 80 Scalar minc = v(0), maxc = v(0); in vectorVisitor() local 89 if(v(i) > maxc) in vectorVisitor() 91 maxc = v(i); in vectorVisitor() 102 VERIFY_IS_APPROX(maxc, eigen_maxc); in vectorVisitor() 104 VERIFY_IS_APPROX(maxc, v.maxCoeff()); in vectorVisitor()
|
D | redux.cpp | 32 Scalar s(0), p(1), minc(numext::real(m1.coeff(0))), maxc(numext::real(m1.coeff(0))); in matrixRedux() local 39 maxc = (std::max)(numext::real(maxc), numext::real(m1(i,j))); in matrixRedux() 47 VERIFY_IS_APPROX(m1.real().maxCoeff(), numext::real(maxc)); in matrixRedux() 93 RealScalar minc(numext::real(v.coeff(0))), maxc(numext::real(v.coeff(0))); in vectorRedux() local 99 maxc = (std::max)(maxc, numext::real(v[j])); in vectorRedux() 104 VERIFY_IS_APPROX(maxc, v.real().head(i).maxCoeff()); in vectorRedux() 110 RealScalar minc(numext::real(v.coeff(i))), maxc(numext::real(v.coeff(i))); in vectorRedux() local 116 maxc = (std::max)(maxc, numext::real(v[j])); in vectorRedux() 121 VERIFY_IS_APPROX(maxc, v.real().tail(size-i).maxCoeff()); in vectorRedux() 127 RealScalar minc(numext::real(v.coeff(i))), maxc(numext::real(v.coeff(i))); in vectorRedux() local [all …]
|
/external/libaom/libaom/av1/common/ |
D | cdef.c | 40 int maxc = mi_params->mi_cols - mi_col; in av1_cdef_compute_sb_list() local 44 maxc = AOMMIN(maxc, MI_SIZE_128X128); in av1_cdef_compute_sb_list() 46 maxc = AOMMIN(maxc, MI_SIZE_64X64); in av1_cdef_compute_sb_list() 58 for (int c = 0; c < maxc; c += c_step) { in av1_cdef_compute_sb_list()
|
/external/toybox/toys/pending/ |
D | tcpsvd.c | 48 int maxc; 283 TT.maxc = atolx_range(TT.nmsg, 1, INT_MAX); in tcpsvd_main() 330 if (head && head->count >= TT.maxc) { in tcpsvd_main() 373 sprintf(max_c, "%d", TT.maxc); in tcpsvd_main()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_builtin_builder.c | 107 nir_ssa_def *maxc = nir_fmax_abs_vec_comp(b, vec); in nir_normalize() local 108 nir_ssa_def *svec = nir_fdiv(b, vec, maxc); in nir_normalize() 112 nir_ssa_def *temp = nir_bcsel(b, nir_feq(b, maxc, finf), finfvec, svec); in nir_normalize() 115 return nir_bcsel(b, nir_feq(b, maxc, f0), vec, res); in nir_normalize()
|
/external/igt-gpu-tools/scripts/ |
D | media-bench.pl | 296 my $maxc; 325 $maxc = $c; 351 return ($maxc, $max, $swps, $wwps);
|
/external/libaom/libaom/av1/encoder/ |
D | mcomp.h | 306 const int maxc = in av1_set_subpel_mv_search_range() local 314 subpel_limits->col_max = AOMMIN(MV_UPP - 1, maxc); in av1_set_subpel_mv_search_range()
|
D | pickcdef.c | 309 const int maxc = AOMMIN(mi_params->mi_cols - mi_col, MI_SIZE_64X64); in sb_all_skip() local 313 for (int c = 0; c < maxc; ++c) { in sb_all_skip()
|
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mcomp.c | 163 if (c >= minc && c <= maxc && r >= minr && r <= maxr) { \ 191 if (c >= minc && c <= maxc && r >= minr && r <= maxr) { \ 281 int minc, maxc, minr, maxr; \ 288 maxc = subpel_mv_limits.col_max; \ 387 (void)maxc; in vp9_skip_sub_pixel_tree() 682 if (c >= minc && c <= maxc && r >= minr && r <= maxr) { \ 706 if (c >= minc && c <= maxc && r >= minr && r <= maxr) { \ 750 int minc, maxc, minr, maxr; in vp9_find_best_sub_pixel_tree() local 772 maxc = subpel_mv_limits.col_max; in vp9_find_best_sub_pixel_tree() 793 if (tc >= minc && tc <= maxc && tr >= minr && tr <= maxr) { in vp9_find_best_sub_pixel_tree() [all …]
|
/external/libjpeg-turbo/ |
D | jquant2.c | 258 register long maxc = 0; in find_biggest_color_pop() local 262 if (boxp->colorcount > maxc && boxp->volume > 0) { in find_biggest_color_pop() 264 maxc = boxp->colorcount; in find_biggest_color_pop()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 1345 float maxc = de::max(rc, de::max(gc, bc)); in packRGB999E5() local 1346 int exps = de::max(-eBias - 1, deFloorFloatToInt32(deFloatLog2(maxc))) + 1 + eBias; in packRGB999E5() 1348 int maxs = deFloorFloatToInt32(maxc / e + 0.5f); in packRGB999E5()
|
/external/toybox/android/linux/generated/ |
D | globals.h | 963 int maxc; member
|
/external/toybox/android/device/generated/ |
D | globals.h | 963 int maxc; member
|
/external/toybox/android/mac/generated/ |
D | globals.h | 963 int maxc; member
|
/external/libvpx/libvpx/vp8/encoder/ |
D | mcomp.c | 203 if (c >= minc && c <= maxc && r >= minr && r <= maxr) s else e; 242 int maxc = VPXMIN(x->mv_col_max * 4, in vp8_find_best_sub_pixel_step_iteratively() local
|