changeset 12019:570816e8d347 libavcodec

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.
author mru
date Tue, 29 Jun 2010 22:41:22 +0000
parents 1b11083f4bb4
children f0a87ee1f6a9
files rv40.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rv40.c	Tue Jun 29 17:23:17 2010 +0000
+++ b/rv40.c	Tue Jun 29 22:41:22 2010 +0000
@@ -307,7 +307,7 @@
     }
 }
 
-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,