diff options
author | Måns Rullgård <mans@mansr.com> | 2010-06-29 22:41:22 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-06-29 22:41:22 +0000 |
commit | dd8e127a4d6235384f8f8e7f0edcbca5808e0964 (patch) | |
tree | cac9a2caedc7a1d6690ed53df5e0b71b37f74cc7 /libavcodec | |
parent | 7dbbf6a14a675a654d1d780d33de1a49da6e17ee (diff) | |
download | ffmpeg-dd8e127a4d6235384f8f8e7f0edcbca5808e0964.tar.gz |
rv40: make rv40_adaptive_loop_filter() always_inline
This function is called from the rv40_[hv]_loop_filter() wrappers
with some arguments constant, so it really needs to be inlined.
3% faster overall on Cortex-A8.
Originally committed as revision 23893 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/rv40.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/rv40.c b/libavcodec/rv40.c index abdeeffb79..e4a46c1889 100644 --- a/libavcodec/rv40.c +++ b/libavcodec/rv40.c @@ -307,7 +307,7 @@ static inline void rv40_weak_loop_filter(uint8_t *src, const int step, } } -static inline void rv40_adaptive_loop_filter(uint8_t *src, const int step, +static av_always_inline void rv40_adaptive_loop_filter(uint8_t *src, const int step, const int stride, const int dmode, const int lim_q1, const int lim_p1, const int alpha, |