Commit 4155708b authored by benoit's avatar benoit

Force inlining of MPV_motion_internal.

Patch by strites: strites gmail com
Original thread: [FFmpeg-devel] [PATCH] Patch cleanup for MPEG 1 & 2 optimizations
Date: 04/06/2008 11:32 PM


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12918 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3a2bed26
...@@ -635,7 +635,7 @@ static inline void prefetch_motion(MpegEncContext *s, uint8_t **pix, int dir){ ...@@ -635,7 +635,7 @@ static inline void prefetch_motion(MpegEncContext *s, uint8_t **pix, int dir){
* @param pic_op qpel motion compensation function (average or put normally) * @param pic_op qpel motion compensation function (average or put normally)
* the motion vectors are taken from s->mv and the MV type from s->mv_type * the motion vectors are taken from s->mv and the MV type from s->mv_type
*/ */
static inline void MPV_motion_internal(MpegEncContext *s, static av_always_inline void MPV_motion_internal(MpegEncContext *s,
uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_y, uint8_t *dest_cb,
uint8_t *dest_cr, int dir, uint8_t *dest_cr, int dir,
uint8_t **ref_picture, uint8_t **ref_picture,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment