summaryrefslogtreecommitdiff
path: root/libavcodec/rv40.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-29 22:41:22 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-29 22:41:22 +0000
commitdd8e127a4d6235384f8f8e7f0edcbca5808e0964 (patch)
treecac9a2caedc7a1d6690ed53df5e0b71b37f74cc7 /libavcodec/rv40.c
parent7dbbf6a14a675a654d1d780d33de1a49da6e17ee (diff)
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/rv40.c')
-rw-r--r--libavcodec/rv40.c2
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,