[FFmpeg-cvslog] r23893 - trunk/libavcodec/rv40.c

mru subversion
Wed Jun 30 00:41:23 CEST 2010


Author: mru
Date: Wed Jun 30 00:41:22 2010
New Revision: 23893

Log:
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.

Modified:
   trunk/libavcodec/rv40.c

Modified: trunk/libavcodec/rv40.c
==============================================================================
--- trunk/libavcodec/rv40.c	Wed Jun 30 00:41:20 2010	(r23892)
+++ trunk/libavcodec/rv40.c	Wed Jun 30 00:41:22 2010	(r23893)
@@ -307,7 +307,7 @@ static inline void rv40_weak_loop_filter
     }
 }
 
-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,



More information about the ffmpeg-cvslog mailing list