OSDN Git Service

Force inlining of MPV_motion_internal.
authorKeiji Costantini <lists@strites.net>
Mon, 21 Apr 2008 08:32:11 +0000 (08:32 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Mon, 21 Apr 2008 08:32:11 +0000 (08:32 +0000)
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

Originally committed as revision 12918 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mpegvideo_common.h

index dfc5897..4f3396f 100644 (file)
@@ -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)
  * 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_cr, int dir,
                               uint8_t **ref_picture,