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.h | |
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.h')
-rw-r--r-- | libavcodec/h264.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index dad06e2007..a2abab9d9b 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -766,11 +766,11 @@ static av_always_inline uint16_t pack8to16(int a, int b){ /** * gets the chroma qp. */ -static inline int get_chroma_qp(H264Context *h, int t, int qscale){ +static av_always_inline int get_chroma_qp(H264Context *h, int t, int qscale){ return h->pps.chroma_qp_table[t][qscale]; } -static inline void pred_pskip_motion(H264Context * const h, int * const mx, int * const my); +static av_always_inline void pred_pskip_motion(H264Context * const h, int * const mx, int * const my); static void fill_decode_neighbors(H264Context *h, int mb_type){ MpegEncContext * const s = &h->s; |