Home
last modified time | relevance | path

Searched refs:ilog2 (Results 1 – 8 of 8) sorted by relevance

/third_party/boost/libs/safe_numerics/test/
Dtest_auto.cpp12 assert(ilog2(127u) == 6); in test_log()
13 assert(ilog2(128u) == 7); in test_log()
14 assert(ilog2(129u) == 7); in test_log()
15 assert(ilog2(255u) == 7); in test_log()
16 assert(ilog2(256u) == 8); in test_log()
18 assert(ilog2(127) == 6); in test_log()
19 assert(ilog2(128) == 7); in test_log()
20 assert(ilog2(129) == 7); in test_log()
21 assert(ilog2(255) == 7); in test_log()
22 assert(ilog2(256) == 8); in test_log()
Dtest_range.cpp12 << boost::safe_numerics::utility::ilog2(Max) << std::endl; in display_log()
/third_party/boost/boost/safe_numerics/
Dutility.hpp124 constexpr static unsigned int ilog2(const boost::uint_t<8>::exact & t){ in ilog2() function
133 constexpr static unsigned int ilog2(const boost::uint_t<16>::exact & t){ in ilog2() function
136 ? ilog2(static_cast<boost::uint_t<8>::exact>(t)) in ilog2()
137 : 8 + ilog2(upper_half); in ilog2()
139 constexpr static unsigned int ilog2(const boost::uint_t<32>::exact & t){ in ilog2() function
142 ? ilog2(static_cast<boost::uint_t<16>::exact>(t)) in ilog2()
143 : 16 + ilog2(upper_half); in ilog2()
145 constexpr static unsigned int ilog2(const boost::uint_t<64>::exact & t){ in ilog2() function
148 ? ilog2(static_cast<boost::uint_t<32>::exact>(t)) in ilog2()
149 : 32 + ilog2(upper_half); in ilog2()
[all …]
/third_party/ffmpeg/doc/
Dsnow.txt23 ilog2(x) is the rounded down logarithm of x with basis 2
24 ilog2(0) = 0
117 ref_context= ilog2(2*left->ref) + ilog2(2*top->ref)
120 mx_context= ilog2(2*abs(left->mx - top->mx))
121 my_context= ilog2(2*abs(left->my - top->my))
/third_party/gstreamer/gstplugins_good/sys/oss/
Dgstosssrc.c282 ilog2 (gint x) in ilog2() function
436 tmp = ilog2 (spec->segsize); in gst_oss_src_prepare()
Dgstosssink.c290 ilog2 (gint x) in ilog2() function
456 tmp = ilog2 (spec->segsize); in gst_oss_sink_prepare()
/third_party/ltp/testcases/kernel/mce-test/tsrc/
Dtinjpage.c90 static int ilog2(int n) in ilog2() function
134 if (lsb != ilog2(HPS)) { in sighandler()
138 if (lsb != ilog2(sysconf(_SC_PAGE_SIZE))) { in sighandler()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DMath.hpp168 inline int ilog2(float x) in ilog2() function