#define SEARCH_EFFORT_FUNC(n) SEFUNC(n)
#endif
-int SEARCH_EFFORT_FUNC(0) // we don't try at all ;-)
+static inline int SEARCH_EFFORT_FUNC(0) // we don't try at all ;-)
{
//see Search_Effort_Max() for comments
#define SKIP_SEARCH
#undef SKIP_SEARCH
}
-int SEARCH_EFFORT_FUNC(1)
+static inline int SEARCH_EFFORT_FUNC(1)
{
//see Search_Effort_Max() for comments
#include "SearchLoopTop.inc"
#include "SearchLoopBottom.inc"
}
-int SEARCH_EFFORT_FUNC(3)
+static inline int SEARCH_EFFORT_FUNC(3)
{
//see Search_Effort_Max() for comments
#include "SearchLoopTop.inc"
#include "SearchLoopBottom.inc"
}
-int SEARCH_EFFORT_FUNC(5)
+static inline int SEARCH_EFFORT_FUNC(5)
{
//see Search_Effort_Max() for comments
#include "SearchLoopTop.inc"
}
// 3x3 search
-int SEARCH_EFFORT_FUNC(9)
+static inline int SEARCH_EFFORT_FUNC(9)
{
//see SearchEffortMax() for comments
#include "SearchLoopTop.inc"
}
// Search 9 with 2 H-half pels added
-int SEARCH_EFFORT_FUNC(11)
+static inline int SEARCH_EFFORT_FUNC(11)
{
//see SearchEffortMax() for comments
#include "SearchLoopTop.inc"
}
// Search 11 with 2 V-half pels added
-int SEARCH_EFFORT_FUNC(13)
+static inline int SEARCH_EFFORT_FUNC(13)
{
//see SearchEffortMax() for comments
#include "SearchLoopTop.inc"
}
// 5x3
-int SEARCH_EFFORT_FUNC(15)
+static inline int SEARCH_EFFORT_FUNC(15)
{
//see SearchEffortMax() for comments
#include "SearchLoopTop.inc"
}
// 5x3 + 4 half pels
-int SEARCH_EFFORT_FUNC(19)
+static inline int SEARCH_EFFORT_FUNC(19)
{
//see SearchEffortMax() for comments
#include "SearchLoopTop.inc"
// Handle one 4x1 block of pixels
// Search a 7x3 area, no half pels
-int SEARCH_EFFORT_FUNC(21)
+static inline int SEARCH_EFFORT_FUNC(21)
{
//see SearchLoopTop.inc for comments
#include "SearchLoopTop.inc"
// Handle one 4x1 block of pixels
// Search a 9x3 area, no half pels
-int SEARCH_EFFORT_FUNC(Max)
+static inline int SEARCH_EFFORT_FUNC(Max)
{
//see SearchLoopTop.inc for comments
#include "SearchLoopTop.inc"