changeset 10941:28edcc8c54c0 libavcodec

Mark the h264 c loop filter as av_always_inline av_flatten to make sure its all inlined, its small and horizontal & vertical versions are build out of them. no change as gcc already did this.
author michael
date Tue, 19 Jan 2010 22:54:13 +0000
parents 563cb9b1a9b7
children ee944149442f
files dsputil.c
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/dsputil.c	Tue Jan 19 22:46:58 2010 +0000
+++ b/dsputil.c	Tue Jan 19 22:54:13 2010 +0000
@@ -2975,7 +2975,7 @@
     }
 }
 
-static inline void h264_loop_filter_luma_c(uint8_t *pix, int xstride, int ystride, int alpha, int beta, int8_t *tc0)
+static av_always_inline av_flatten void h264_loop_filter_luma_c(uint8_t *pix, int xstride, int ystride, int alpha, int beta, int8_t *tc0)
 {
     int i, d;
     for( i = 0; i < 4; i++ ) {
@@ -3026,7 +3026,7 @@
     h264_loop_filter_luma_c(pix, 1, stride, alpha, beta, tc0);
 }
 
-static inline void h264_loop_filter_luma_intra_c(uint8_t *pix, int xstride, int ystride, int alpha, int beta)
+static av_always_inline av_flatten void h264_loop_filter_luma_intra_c(uint8_t *pix, int xstride, int ystride, int alpha, int beta)
 {
     int d;
     for( d = 0; d < 16; d++ ) {
@@ -3083,7 +3083,7 @@
     h264_loop_filter_luma_intra_c(pix, 1, stride, alpha, beta);
 }
 
-static inline void h264_loop_filter_chroma_c(uint8_t *pix, int xstride, int ystride, int alpha, int beta, int8_t *tc0)
+static av_always_inline av_flatten void h264_loop_filter_chroma_c(uint8_t *pix, int xstride, int ystride, int alpha, int beta, int8_t *tc0)
 {
     int i, d;
     for( i = 0; i < 4; i++ ) {
@@ -3120,7 +3120,7 @@
     h264_loop_filter_chroma_c(pix, 1, stride, alpha, beta, tc0);
 }
 
-static inline void h264_loop_filter_chroma_intra_c(uint8_t *pix, int xstride, int ystride, int alpha, int beta)
+static av_always_inline av_flatten void h264_loop_filter_chroma_intra_c(uint8_t *pix, int xstride, int ystride, int alpha, int beta)
 {
     int d;
     for( d = 0; d < 8; d++ ) {