Commit 3ebc7e04 authored by Michael Niedermayer's avatar Michael Niedermayer

h264 loop filter optimizations

Originally committed as revision 2909 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 980a82b7
......@@ -1163,6 +1163,12 @@ static inline int clip(int a, int amin, int amax)
return a;
}
static inline int clip_uint8(int a)
{
if (a&(~255)) return (-a)>>31;
else return a;
}
/* math */
extern const uint8_t ff_sqrt_tab[128];
......
This diff is collapsed.
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