Commit ce70ad59 authored by Dmitry Kovalev's avatar Dmitry Kovalev Committed by Gerrit Code Review
Browse files

Merge "Code cleanup inside vp9_firstpass.c." into experimental

Showing with 119 additions and 205 deletions
...@@ -52,6 +52,10 @@ static INLINE int clamp(int value, int low, int high) { ...@@ -52,6 +52,10 @@ static INLINE int clamp(int value, int low, int high) {
return value < low ? low : (value > high ? high : value); return value < low ? low : (value > high ? high : value);
} }
static INLINE double fclamp(double value, double low, double high) {
return value < low ? low : (value > high ? high : value);
}
static INLINE int multiple16(int value) { static INLINE int multiple16(int value) {
return (value + 15) & ~15; return (value + 15) & ~15;
} }
......
This diff is collapsed.
Supports Markdown
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