Home
last modified time | relevance | path

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

/external/libgav1/src/utils/
Dcommon_test.cc428 TEST(BitstreamUtils, GetRelativeDistance) { in TEST() argument
431 EXPECT_EQ(GetRelativeDistance(0, 0, 0), 0); in TEST()
432 EXPECT_EQ(GetRelativeDistance(10, 20, 27), -10); in TEST()
434 EXPECT_EQ(GetRelativeDistance(2, 1, 30), 1); in TEST()
435 EXPECT_EQ(GetRelativeDistance(2, 1, 29), 1); in TEST()
437 EXPECT_EQ(GetRelativeDistance(1, 2, 30), -1); in TEST()
438 EXPECT_EQ(GetRelativeDistance(1, 2, 29), -1); in TEST()
444 EXPECT_EQ(GetRelativeDistance(2, 6, 28), -4); in TEST()
445 EXPECT_EQ(GetRelativeDistance(6, 2, 28), 4); in TEST()
447 EXPECT_EQ(GetRelativeDistance(2, 14, 28), 4); in TEST()
[all …]
Dcommon.h398 inline int GetRelativeDistance(const unsigned int a, const unsigned int b, in GetRelativeDistance() function
/external/libgav1/src/dsp/
Dmotion_field_projection_test.cc108 GetRelativeDistance(current_frame_order_hint, in SetInputData()
/external/libgav1/src/
Dobu_parser.cc760 const int relative_distance = GetRelativeDistance( in SetFrameReferences()
1224 GetRelativeDistance(reference_hint, frame_header_.order_hint, in IsSkipModeAllowed()
1228 GetRelativeDistance(reference_hint, forward_hint, in IsSkipModeAllowed()
1235 GetRelativeDistance(reference_hint, backward_hint, in IsSkipModeAllowed()
1258 if (GetRelativeDistance(reference_hint, forward_hint, in IsSkipModeAllowed()
1261 GetRelativeDistance(reference_hint, second_forward_hint, in IsSkipModeAllowed()
2125 GetRelativeDistance(hint, frame_header_.order_hint, in ParseFrameParameters()
2128 GetRelativeDistance(frame_header_.order_hint, hint, in ParseFrameParameters()