[FFmpeg-cvslog] r21333 - trunk/libavcodec/dsputil.c
michael
subversion
Tue Jan 19 23:54:14 CET 2010
Author: michael
Date: Tue Jan 19 23:54:13 2010
New Revision: 21333
Log:
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.
Modified:
trunk/libavcodec/dsputil.c
Modified: trunk/libavcodec/dsputil.c
==============================================================================
--- trunk/libavcodec/dsputil.c Tue Jan 19 23:46:58 2010 (r21332)
+++ trunk/libavcodec/dsputil.c Tue Jan 19 23:54:13 2010 (r21333)
@@ -2975,7 +2975,7 @@ static void h261_loop_filter_c(uint8_t *
}
}
-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 @@ static void h264_h_loop_filter_luma_c(ui
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 @@ static void h264_h_loop_filter_luma_intr
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 @@ static void h264_h_loop_filter_chroma_c(
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++ ) {
More information about the ffmpeg-cvslog
mailing list