mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
h264 loop filter optimizations
Originally committed as revision 2909 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user