Home
last modified time | relevance | path

Searched refs:GetUnsignedBits (Results 1 – 5 of 5) sorted by relevance

/external/zucchini/
Dalgorithm_unittest.cc210 EXPECT_EQ(uint32_t(v & 0xFF), (GetUnsignedBits<0, 7>(v))); in TEST()
211 EXPECT_EQ(uint32_t((v >> 8) & 0xFF), (GetUnsignedBits<8, 15>(v))); in TEST()
212 EXPECT_EQ(uint32_t((v >> 16) & 0xFF), (GetUnsignedBits<16, 23>(v))); in TEST()
213 EXPECT_EQ(uint32_t((v >> 24) & 0xFF), (GetUnsignedBits<24, 31>(v))); in TEST()
214 EXPECT_EQ(uint32_t(v & 0xFFFF), (GetUnsignedBits<0, 15>(v))); in TEST()
215 EXPECT_EQ(uint32_t((v >> 1) & 0x3FFFFFFF), (GetUnsignedBits<1, 30>(v))); in TEST()
216 EXPECT_EQ(uint32_t((v >> 2) & 0x0FFFFFFF), (GetUnsignedBits<2, 29>(v))); in TEST()
217 EXPECT_EQ(uint32_t(v), (GetUnsignedBits<0, 31>(v))); in TEST()
221 EXPECT_EQ(uint32_t(0x4), (GetUnsignedBits<20, 23>(0x00432100U))); in TEST()
222 EXPECT_EQ(uint32_t(0x43), (GetUnsignedBits<16, 23>(0x00432100))); in TEST()
[all …]
Darm_utils.cc44 uint8_t bits = GetUnsignedBits<24, 27>(code32); in DecodeA24()
47 uint8_t cond = GetUnsignedBits<28, 31>(code32); in DecodeA24()
61 uint8_t bits = GetUnsignedBits<24, 27>(t); in EncodeA24()
66 uint8_t cond = GetUnsignedBits<28, 31>(t); in EncodeA24()
236 uint32_t imm11 = GetUnsignedBits<0, 10>(code32); // jj...j. in DecodeT20()
239 uint32_t imm6 = GetUnsignedBits<16, 21>(code32); // ii...i. in DecodeT20()
260 uint32_t imm6 = GetUnsignedBits<12, 17>(disp); // ii...i. in EncodeT20()
261 uint32_t imm11 = GetUnsignedBits<1, 11>(disp); // jj...j. in EncodeT20()
314 uint32_t imm11 = GetUnsignedBits<0, 10>(code32); // jj...j. in DecodeT24()
317 uint32_t imm10 = GetUnsignedBits<16, 25>(code32); // ii...i. in DecodeT24()
[all …]
Dalgorithm.h114 constexpr typename std::make_unsigned<T>::type GetUnsignedBits(T v) { in GetUnsignedBits() function
/external/libgav1/src/utils/
Dsegmentation_test.cc26 int GetUnsignedBits(const unsigned int num_values) { in GetUnsignedBits() function
35 GetUnsignedBits(kSegmentationFeatureMaxValues[feature])); in TEST()
/external/zucchini/aosp/include/components/zucchini/
Dalgorithm.h114 constexpr typename std::make_unsigned<T>::type GetUnsignedBits(T v) { in GetUnsignedBits() function