Home
last modified time | relevance | path

Searched refs:maxc (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Lib/
Dcolorsys.py76 maxc = max(r, g, b)
78 sumc = (maxc+minc)
79 rangec = (maxc-minc)
81 if minc == maxc:
87 rc = (maxc-r) / rangec
88 gc = (maxc-g) / rangec
89 bc = (maxc-b) / rangec
90 if r == maxc:
92 elif g == maxc:
126 maxc = max(r, g, b)
[all …]
/third_party/boost/boost/geometry/index/detail/rtree/
Dpack_create.hpp280 subtree_elements_counts(size_type ma, size_type mi) : maxc(ma), minc(mi) {} in subtree_elements_counts()
281 size_type maxc; member
297 if ( subtree_counts.maxc <= 1 ) in per_level()
349 next_subtree_counts.maxc /= parameters.get_max_elements(); in per_level()
390 if ( values_count <= subtree_counts.maxc ) in per_level_packets()
438 res.maxc = smax; in calculate_subtree_elements_counts()
440 res.minc = parameters.get_min_elements() * (res.maxc / parameters.get_max_elements()); in calculate_subtree_elements_counts()
449 size_type n = count / subtree_counts.maxc; in calculate_nodes_count()
450 size_type r = count % subtree_counts.maxc; in calculate_nodes_count()
455 n = count_minus_min / subtree_counts.maxc; in calculate_nodes_count()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_neighbor.c49 int maxc);
81 int maxc) in erosion() argument
102 int maxc) in erosion16() argument
124 int maxc) in dilation() argument
145 int maxc) in dilation16() argument
152 int limit = FFMIN(max + threshold, maxc); in dilation16()
167 int maxc) in deflate() argument
183 int maxc) in deflate16() argument
200 int maxc) in inflate() argument
216 int maxc) in inflate16() argument
[all …]
/third_party/toybox/toys/pending/
Dtcpsvd.c48 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()
/third_party/ffmpeg/libavcodec/
Dscpr.c163 static int decode_value(SCPRContext *s, uint32_t *cnt, uint32_t maxc, uint32_t step, uint32_t *rval) in decode_value() argument
167 uint32_t totfr = cnt[maxc]; in decode_value()
175 while (c < maxc) { in decode_value()
184 if (c >= maxc) in decode_value()
194 for (i = 0; i < maxc; i++) { in decode_value()
201 cnt[maxc] = totfr; in decode_value()
/third_party/mesa3d/src/compiler/nir/
Dnir_builtin_builder.c120 nir_ssa_def *maxc = nir_fmax_abs_vec_comp(b, vec); in nir_normalize() local
121 nir_ssa_def *svec = nir_fdiv(b, vec, maxc); in nir_normalize()
125 nir_ssa_def *temp = nir_bcsel(b, nir_feq(b, maxc, finf), finfvec, svec); in nir_normalize()
128 return nir_bcsel(b, nir_feq(b, maxc, f0), vec, res); in nir_normalize()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djquant2.c258 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()
/third_party/libjpeg-turbo/
Djquant2.c258 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()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djquant2.c258 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()
/third_party/vk-gl-cts/framework/common/
DtcuTextureUtil.cpp1345 float maxc = de::max(rc, de::max(gc, bc)); in packRGB999E5() local
1346 float log2c = deFloatLog2(maxc); in packRGB999E5()
1350 int maxs = deFloorFloatToInt32(maxc / e + 0.5f); in packRGB999E5()
/third_party/toybox/generated/
Dglobals.h858 int maxc; member