Searched refs:ilog2 (Results 1 – 8 of 8) sorted by relevance
12 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()
12 << boost::safe_numerics::utility::ilog2(Max) << std::endl; in display_log()
124 constexpr static unsigned int ilog2(const boost::uint_t<8>::exact & t){ in ilog2() function133 constexpr static unsigned int ilog2(const boost::uint_t<16>::exact & t){ in ilog2() function136 ? 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() function142 ? 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() function148 ? ilog2(static_cast<boost::uint_t<32>::exact>(t)) in ilog2()149 : 32 + ilog2(upper_half); in ilog2()[all …]
23 ilog2(x) is the rounded down logarithm of x with basis 224 ilog2(0) = 0117 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))
282 ilog2 (gint x) in ilog2() function436 tmp = ilog2 (spec->segsize); in gst_oss_src_prepare()
290 ilog2 (gint x) in ilog2() function456 tmp = ilog2 (spec->segsize); in gst_oss_sink_prepare()
90 static int ilog2(int n) in ilog2() function134 if (lsb != ilog2(HPS)) { in sighandler()138 if (lsb != ilog2(sysconf(_SC_PAGE_SIZE))) { in sighandler()
168 inline int ilog2(float x) in ilog2() function