diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2011-07-05 18:08:22 -0700 |
---|---|---|
committer | Jason Garrett-Glaser <jason@x264.com> | 2011-07-08 16:09:35 -0700 |
commit | bbdd52ed343cb594d4af07f9b369df6a00117774 (patch) | |
tree | f300812fcd4b689fbb58ef0f2dc2871a94571a6a /libavcodec/h264.c | |
parent | c0483d0c7a8f12564f615dcd73890bcc2f7c2796 (diff) | |
download | ffmpeg-bbdd52ed343cb594d4af07f9b369df6a00117774.tar.gz |
H.264: av_always_inline some more functions
These weren't getting inlined all the time in all gcc versions.
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index dbac4fda95..f7c0345daf 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1443,7 +1443,7 @@ static void decode_postinit(H264Context *h, int setup_finished){ ff_thread_finish_setup(s->avctx); } -static inline void backup_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src_cb, uint8_t *src_cr, int linesize, int uvlinesize, int chroma444, int simple){ +static av_always_inline void backup_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src_cb, uint8_t *src_cr, int linesize, int uvlinesize, int chroma444, int simple){ MpegEncContext * const s = &h->s; uint8_t *top_border; int top_idx = 1; @@ -1518,7 +1518,7 @@ static inline void backup_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src } } -static inline void xchg_mb_border(H264Context *h, uint8_t *src_y, +static av_always_inline void xchg_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src_cb, uint8_t *src_cr, int linesize, int uvlinesize, int xchg, int chroma444, |