Commit 399ea11d authored by Frederic Barbier's avatar Frederic Barbier Committed by Frédéric BARBIER
Browse files

Factorize SEG_LVL_MAX definition

Change-Id: If4bf89041b7756465fa4d96c052e1cf3b9772d02
parent 18f4fb22
......@@ -37,10 +37,8 @@ typedef enum {
SEG_LVL_SKIP, // Optional Segment (0,0) + skip mode
#if CONFIG_SEGMENT_GLOBALMV
SEG_LVL_GLOBALMV,
SEG_LVL_MAX
#else
SEG_LVL_MAX
#endif
SEG_LVL_MAX
} SEG_LVL_FEATURES;
#else // CONFIG_LOOPFILTER_LEVEL
// Segment level features.
......@@ -51,10 +49,8 @@ typedef enum {
SEG_LVL_SKIP = 3, // Optional Segment (0,0) + skip mode
#if CONFIG_SEGMENT_GLOBALMV
SEG_LVL_GLOBALMV = 4,
SEG_LVL_MAX = 5
#else
SEG_LVL_MAX = 4
#endif
SEG_LVL_MAX
} SEG_LVL_FEATURES;
#endif // CONFIG_LOOPFILTER_LEVEL
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment