Searched refs:min_shift (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/libstagefright/foundation/tests/ |
D | Flagged_test.cpp | 385 static_assert(helper::min_shift<i32_0_0, u32, 0u, 0u>::value == 0, ""); in TEST_F() 386 static_assert(helper::min_shift<i32_0_0, u32, 0u, 1u>::value == -1, ""); in TEST_F() 387 static_assert(helper::min_shift<i32_1_0, u32, 0u, 1u>::value == -1, ""); in TEST_F() 388 static_assert(helper::min_shift<i32_1_0, u32, 0u, 0u>::value == 0, ""); in TEST_F() 389 static_assert(helper::min_shift<i32_0_0, u32, 1u, 0u>::value == 0, ""); in TEST_F() 390 static_assert(helper::min_shift<i32_1_0, u32, 1u, 0u>::value == 1, ""); in TEST_F() 391 static_assert(helper::min_shift<i32_1_0, u32, 1u, 1u>::value == 0, ""); in TEST_F() 392 static_assert(helper::min_shift<i32_1_1, u32, 1u, 1u>::value == 1, ""); in TEST_F() 393 static_assert(helper::min_shift<i32_1_1, u32, 3u, 0u>::value == 2, ""); in TEST_F() 394 static_assert(helper::min_shift<Flagged<i32, u32, 5u>, u32, 3u, 1u>::value == 0, ""); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/ |
D | Flagged.h | 288 struct min_shift { struct 305 int SHIFT=min_shift<T, Flag, MASK, SHARED_MASK>::value> 345 int SHIFT=_Flagged_helper::min_shift<T, Flag, MASK, SHARED_MASK>::value,
|