Home
last modified time | relevance | path

Searched refs:first_set_bit (Results 1 – 4 of 4) sorted by relevance

/external/libaom/aom_ports/
Dbitops.h50 unsigned long first_set_bit;
52 _BitScanReverse(&first_set_bit, n);
53 return first_set_bit;
83 unsigned long first_set_bit; // NOLINT(runtime/int) in aom_clzll() local
86 _BitScanReverse64(&first_set_bit, (unsigned __int64)n); in aom_clzll()
90 const unsigned char bit_set = _BitScanReverse(&first_set_bit, n_hi); in aom_clzll()
93 return 31 ^ (int)first_set_bit; in aom_clzll()
96 _BitScanReverse(&first_set_bit, (unsigned long)n); // NOLINT(runtime/int) in aom_clzll()
100 return 63 ^ (int)first_set_bit; in aom_clzll()
/external/libvpx/vpx_ports/
Dbitops.h48 unsigned long first_set_bit; // NOLINT(runtime/int)
49 _BitScanForward(&first_set_bit, n);
50 return first_set_bit;
54 unsigned long first_set_bit;
56 _BitScanReverse(&first_set_bit, n);
57 return first_set_bit;
/external/libgav1/src/utils/
Dcommon.h142 unsigned long first_set_bit; // NOLINT(runtime/int) in CountLeadingZeros() local
143 const unsigned char bit_set = _BitScanReverse(&first_set_bit, n); in CountLeadingZeros()
146 return 31 ^ static_cast<int>(first_set_bit); in CountLeadingZeros()
151 unsigned long first_set_bit; // NOLINT(runtime/int) in CountLeadingZeros() local
154 _BitScanReverse64(&first_set_bit, static_cast<unsigned __int64>(n)); in CountLeadingZeros()
158 const unsigned char bit_set = _BitScanReverse(&first_set_bit, n_hi); in CountLeadingZeros()
161 return 31 ^ static_cast<int>(first_set_bit); in CountLeadingZeros()
164 &first_set_bit, static_cast<unsigned long>(n)); // NOLINT(runtime/int) in CountLeadingZeros()
168 return 63 ^ static_cast<int>(first_set_bit); in CountLeadingZeros()
175 unsigned long first_set_bit; // NOLINT(runtime/int) in CountTrailingZeros() local
[all …]
/external/webp/src/utils/
Dutils.h138 unsigned long first_set_bit; // NOLINT (runtime/int) in BitsLog2Floor() local
139 _BitScanReverse(&first_set_bit, n); in BitsLog2Floor()
140 return first_set_bit; in BitsLog2Floor()
143 unsigned long first_set_bit; // NOLINT (runtime/int) in BitsCtz() local
144 _BitScanForward(&first_set_bit, n); in BitsCtz()
145 return first_set_bit; in BitsCtz()