Searched refs:ratio (Results 1 - 25 of 195) sorted by relevance

12345678

/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/dce/
H A Damdgpu_dce_scl_filters.c1020 const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio) argument
1022 if (ratio.value < dc_fixpt_one.value)
1024 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value)
1026 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value)
1032 const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio) argument
1034 if (ratio.value < dc_fixpt_one.value)
1036 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value)
1038 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value)
1044 const uint16_t *get_filter_4tap_16p(struct fixed31_32 ratio) argument
1046 if (ratio
1056 get_filter_4tap_64p(struct fixed31_32 ratio) argument
1068 get_filter_5tap_64p(struct fixed31_32 ratio) argument
1080 get_filter_6tap_64p(struct fixed31_32 ratio) argument
1092 get_filter_7tap_64p(struct fixed31_32 ratio) argument
1104 get_filter_8tap_64p(struct fixed31_32 ratio) argument
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/dcn20/
H A Damdgpu_dcn20_dwb_scl.c535 const uint16_t *wbscl_get_filter_3tap_16p(struct fixed31_32 ratio) argument
537 if (ratio.value < dc_fixpt_one.value)
539 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value)
541 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value)
547 const uint16_t *wbscl_get_filter_4tap_16p(struct fixed31_32 ratio) argument
549 if (ratio.value < dc_fixpt_one.value)
551 else if (ratio.value < dc_fixpt_from_fraction(4, 3).value)
553 else if (ratio.value < dc_fixpt_from_fraction(5, 3).value)
559 static const uint16_t *wbscl_get_filter_5tap_16p(struct fixed31_32 ratio) argument
561 if (ratio
571 wbscl_get_filter_6tap_16p(struct fixed31_32 ratio) argument
583 wbscl_get_filter_7tap_16p(struct fixed31_32 ratio) argument
595 wbscl_get_filter_8tap_16p(struct fixed31_32 ratio) argument
607 wbscl_get_filter_9tap_16p(struct fixed31_32 ratio) argument
618 wbscl_get_filter_10tap_16p(struct fixed31_32 ratio) argument
630 wbscl_get_filter_11tap_16p(struct fixed31_32 ratio) argument
642 wbscl_get_filter_12tap_16p(struct fixed31_32 ratio) argument
654 wbscl_get_filter_coeffs_16p(int taps, struct fixed31_32 ratio) argument
[all...]
/netbsd-current/external/gpl3/gcc.old/dist/libgcc/config/rs6000/
H A D_divkc3.c43 TFtype denom, ratio, x, y; local
52 ratio = c / d;
53 denom = (c * ratio) + d;
54 x = ((a * ratio) + b) / denom;
55 y = ((b * ratio) - a) / denom;
59 ratio = d / c;
60 denom = (d * ratio) + c;
61 x = ((b * ratio) + a) / denom;
62 y = (b - (a * ratio)) / denom;
/netbsd-current/sys/arch/arm/amlogic/
H A Dmeson_clk_div.c45 u_int rate, ratio; local
64 ratio = __SHIFTOUT(val, div->div);
66 ratio = 0;
69 return rate >> ratio;
71 if (ratio < 1 || ratio > 8)
73 return rate / ((ratio + 1) * 2);
75 return rate / (ratio + 1);
87 int ratio, error; local
112 ratio
[all...]
/netbsd-current/sys/arch/arm/sunxi/
H A Dsunxi_ccu_div.c67 u_int rate, ratio; local
83 ratio = __SHIFTOUT(val, div->div);
85 ratio = 0;
87 if ((div->flags & SUNXI_CCU_DIV_ZERO_IS_ONE) != 0 && ratio == 0)
88 ratio = 1;
90 ratio = 1 << ratio;
92 ratio = ratio << 1;
93 if (ratio
141 int ratio; local
[all...]
/netbsd-current/external/gpl3/gcc/dist/libgcc/config/rs6000/
H A D_divkc3.c57 TFtype denom, ratio, x, y; local
97 ratio = c / d;
98 denom = (c * ratio) + d;
99 /* Choose alternate order of computation if ratio is subnormal. */
100 if (FABS (ratio) > RMIN)
102 x = ((a * ratio) + b) / denom;
103 y = ((b * ratio) - a) / denom;
143 ratio = d / c;
144 denom = (d * ratio) + c;
145 /* Choose alternate order of computation if ratio i
[all...]
/netbsd-current/sys/external/bsd/drm2/dist/drm/amd/display/dc/inc/hw/
H A Dtransform.h71 /* Active format aspect ratio */
270 const uint16_t *get_filter_3tap_16p(struct fixed31_32 ratio);
271 const uint16_t *get_filter_3tap_64p(struct fixed31_32 ratio);
272 const uint16_t *get_filter_4tap_16p(struct fixed31_32 ratio);
273 const uint16_t *get_filter_4tap_64p(struct fixed31_32 ratio);
274 const uint16_t *get_filter_5tap_64p(struct fixed31_32 ratio);
275 const uint16_t *get_filter_6tap_64p(struct fixed31_32 ratio);
276 const uint16_t *get_filter_7tap_64p(struct fixed31_32 ratio);
277 const uint16_t *get_filter_8tap_64p(struct fixed31_32 ratio);
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DChrono.h79 template <> struct unit<std::ratio<3600>> { static const char value[]; };
80 template <> struct unit<std::ratio<60>> { static const char value[]; };
81 template <> struct unit<std::ratio<1>> { static const char value[]; };
134 return {getAs<std::ratio<1>>(D), "s"};
136 return {getAs<std::ratio<60>>(D), "m"};
138 return {getAs<std::ratio<3600>>(D), "h"};
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/
H A Dresize_policy.hpp57 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon1558
187 m_shrink_size = m_grow_size / ratio;
210 m_shrink_size = m_grow_size / ratio;
221 || m_shrink_size * ratio == m_grow_size);
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/pb_ds/detail/binary_heap_/
H A Dresize_policy.hpp57 ratio = 8, enumerator in enum:__gnu_pbds::detail::resize_policy::__anon1850
187 m_shrink_size = m_grow_size / ratio;
210 m_shrink_size = m_grow_size / ratio;
221 || m_shrink_size * ratio == m_grow_size);
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/precompiled/
H A Dexpc++.h47 #include <experimental/ratio>
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Support/
H A DChrono.cpp18 const char llvm::detail::unit<std::ratio<3600>>::value[] = "h";
19 const char llvm::detail::unit<std::ratio<60>>::value[] = "m";
20 const char llvm::detail::unit<std::ratio<1>>::value[] = "s";
/netbsd-current/sys/external/bsd/drm2/dist/drm/i915/display/
H A Dintel_cdclk.h24 u8 ratio; member in struct:intel_cdclk_vals
H A Dintel_cdclk.c1171 { .refclk = 19200, .cdclk = 144000, .divider = 8, .ratio = 60 },
1172 { .refclk = 19200, .cdclk = 288000, .divider = 4, .ratio = 60 },
1173 { .refclk = 19200, .cdclk = 384000, .divider = 3, .ratio = 60 },
1174 { .refclk = 19200, .cdclk = 576000, .divider = 2, .ratio = 60 },
1175 { .refclk = 19200, .cdclk = 624000, .divider = 2, .ratio = 65 },
1180 { .refclk = 19200, .cdclk = 79200, .divider = 8, .ratio = 33 },
1181 { .refclk = 19200, .cdclk = 158400, .divider = 4, .ratio = 33 },
1182 { .refclk = 19200, .cdclk = 316800, .divider = 2, .ratio = 33 },
1187 { .refclk = 19200, .cdclk = 168000, .divider = 4, .ratio = 35 },
1188 { .refclk = 19200, .cdclk = 336000, .divider = 2, .ratio
1324 u32 val, ratio; local
1424 int ratio = DIV_ROUND_CLOSEST(vco, dev_priv->cdclk.hw.ref); local
1459 int ratio = DIV_ROUND_CLOSEST(vco, dev_priv->cdclk.hw.ref); local
[all...]
/netbsd-current/external/bsd/libarchive/dist/libarchive/
H A Darchive_write_add_filter_compress.c342 int ratio; local
400 ratio = (int)(state->in_count * 256 / state->out_count);
401 else if ((ratio = (int)(state->out_count / 256)) == 0)
402 ratio = 0x7fffffff;
404 ratio = (int)(state->in_count / ratio);
406 if (ratio > state->compress_ratio)
407 state->compress_ratio = ratio;
/netbsd-current/usr.bin/ftp/
H A Dprogressbar.c133 int ratio, i, remaining, barlength; local
218 ratio = (int)((double)cursize * 100.0 / (double)filesize);
219 ratio = MAX(ratio, 0);
220 ratio = MIN(ratio, 100);
221 len += snprintf(buf + len, BUFLEFT, "%3d%% ", ratio);
231 i = barlength * ratio / 100;
/netbsd-current/external/mpl/bind/dist/bin/tests/system/checkconf/
H A Dgood-maxratio2.conf18 max-ixfr-ratio unlimited;
H A Dgood-maxratio1.conf18 max-ixfr-ratio 50%;
H A Dwarn-maxratio1.conf18 max-ixfr-ratio 101%;
H A Dbad-maxratio2.conf18 max-ixfr-ratio 0%;
H A Dbad-maxratio1.conf18 max-ixfr-ratio 0.9;
/netbsd-current/external/lgpl3/mpfr/dist/tune/
H A Dtuneup.c593 mpfr_t ratio; local
595 mpfr_init2 (ratio, MPFR_SMALL_PRECISION);
596 mpfr_set_si (ratio, dirx, MPFR_RNDN);
597 mpfr_div_si (ratio, ratio, dirp, MPFR_RNDN);
605 mpfr_mul_ui (xmin, ratio, (unsigned int)pmin, MPFR_RNDN);
615 mpfr_mul_ui (xres, ratio, (unsigned int)*pres, MPFR_RNDN);
616 mpfr_clear (ratio); mpfr_clear (x); mpfr_clear (xmin); mpfr_clear (xmax);
628 mpfr_mul_ui (xmin, ratio, (unsigned int)pmin, MPFR_RNDN);
638 mpfr_mul_ui (xmin, ratio, (unsigne
[all...]
/netbsd-current/games/rogue/
H A Duse.c323 float ratio; local
328 ratio = ((float)rogue.hp_current) / rogue.hp_max;
330 if (ratio >= 1.00) {
334 } else if (ratio >= 0.90) {
339 if (ratio < 0.33) {
340 ratio = 0.33;
343 ratio += ratio;
345 add = (short)(ratio * (rogue.hp_max - rogue.hp_current));
/netbsd-current/external/gpl3/gcc.old/dist/gcc/
H A Dprofile-count.c121 int64_t ratio = (int64_t)m_val * 100 / other.m_val;
122 return ratio < 99 || ratio > 101;
201 int64_t ratio = (int64_t)m_val * 100 / other.m_val;
202 return ratio < 99 || ratio > 101;
/netbsd-current/external/gpl3/gcc/dist/gcc/
H A Dprofile-count.cc131 int64_t ratio = (int64_t)m_val * 100 / other.m_val;
132 return ratio < 99 || ratio > 101;
223 int64_t ratio = (int64_t)m_val * 100 / other.m_val;
224 return ratio < 99 || ratio > 101;

Completed in 211 milliseconds

12345678