Template Struct log2

Struct Documentation

template<int N>
struct xf::cv::log2

Public Static Attributes

static constexpr int fvalue = 1 + (log2<N / 2>::fvalue)
static constexpr int cvalue   = (N > (1 << fvalue)) ? (fvalue + 1) : fvalue