From dd8e127a4d6235384f8f8e7f0edcbca5808e0964 Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Tue, 29 Jun 2010 22:41:22 +0000 Subject: 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 --- libavcodec/rv40.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/rv40.c') 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, -- cgit v1.2.3