/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/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/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/u-boot/arch/arm/mach-imx/ |
D | cpu.c | 157 int cpu_tmp, minc, maxc, ret; in print_cpuinfo() local 180 switch (get_cpu_temp_grade(&minc, &maxc)) { in print_cpuinfo() 194 printf("(%dC to %dC)", minc, maxc); in print_cpuinfo() 349 u32 get_cpu_temp_grade(int *minc, int *maxc) in get_cpu_temp_grade() argument 361 if (minc && maxc) { in get_cpu_temp_grade() 364 *maxc = 125; in get_cpu_temp_grade() 367 *maxc = 105; in get_cpu_temp_grade() 370 *maxc = 105; in get_cpu_temp_grade() 373 *maxc = 95; in get_cpu_temp_grade()
|
/external/u-boot/drivers/thermal/ |
D | imx_thermal.c | 45 int maxc; member 219 cpu_tmp, priv->maxc); in imx_thermal_get_temp() 261 get_cpu_temp_grade(&priv->minc, &priv->maxc); in imx_thermal_probe() 262 priv->critical = priv->maxc - TEMPERATURE_HOT_DELTA; in imx_thermal_probe()
|
/external/u-boot/arch/arm/mach-imx/mx6/ |
D | soc.c | 186 u32 get_cpu_temp_grade(int *minc, int *maxc) in get_cpu_temp_grade() argument 198 if (minc && maxc) { in get_cpu_temp_grade() 201 *maxc = 125; in get_cpu_temp_grade() 204 *maxc = 105; in get_cpu_temp_grade() 207 *maxc = 105; in get_cpu_temp_grade() 210 *maxc = 95; in get_cpu_temp_grade()
|
/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/u-boot/board/toradex/colibri_imx6/ |
D | colibri_imx6.c | 682 int minc, maxc; in checkboard() local 684 switch (get_cpu_temp_grade(&minc, &maxc)) { in checkboard() 1046 int minc, maxc; in spl_dram_init() local 1048 switch (get_cpu_temp_grade(&minc, &maxc)) { in spl_dram_init()
|
/external/igt-gpu-tools/scripts/ |
D | media-bench.pl | 296 my $maxc; 325 $maxc = $c; 351 return ($maxc, $max, $swps, $wwps);
|
/external/u-boot/board/toradex/apalis_imx6/ |
D | apalis_imx6.c | 742 int minc, maxc; in checkboard() local 744 switch (get_cpu_temp_grade(&minc, &maxc)) { in checkboard() 1070 int minc, maxc; in spl_dram_init() local 1072 switch (get_cpu_temp_grade(&minc, &maxc)) { in spl_dram_init()
|
/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/u-boot/arch/arm/include/asm/mach-imx/ |
D | sys_proto.h | 145 u32 get_cpu_temp_grade(int *minc, int *maxc);
|
/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 | 1269 float maxc = de::max(rc, de::max(gc, bc)); in packRGB999E5() local 1270 int exps = de::max(-eBias - 1, deFloorFloatToInt32(deFloatLog2(maxc))) + 1 + eBias; in packRGB999E5() 1272 int maxs = deFloorFloatToInt32(maxc / e + 0.5f); in packRGB999E5()
|
/external/toybox/android/linux/generated/ |
D | globals.h | 885 int maxc; member
|
/external/toybox/android/mac/generated/ |
D | globals.h | 885 int maxc; member
|
/external/toybox/android/device/generated/ |
D | globals.h | 885 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
|