Mercurial > libavcodec.hg
comparison mpegvideo_common.h @ 6659:4866b892ecbe libavcodec
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
author | benoit |
---|---|
date | Mon, 21 Apr 2008 08:32:11 +0000 |
parents | 7ecd59aa5757 |
children | c4a4495715dd |
comparison
equal
deleted
inserted
replaced
6658:7ecd59aa5757 | 6659:4866b892ecbe |
---|---|
633 * @param ref_picture array[3] of pointers to the 3 planes of the reference picture | 633 * @param ref_picture array[3] of pointers to the 3 planes of the reference picture |
634 * @param pic_op halfpel motion compensation function (average or put normally) | 634 * @param pic_op halfpel motion compensation function (average or put normally) |
635 * @param pic_op qpel motion compensation function (average or put normally) | 635 * @param pic_op qpel motion compensation function (average or put normally) |
636 * the motion vectors are taken from s->mv and the MV type from s->mv_type | 636 * the motion vectors are taken from s->mv and the MV type from s->mv_type |
637 */ | 637 */ |
638 static inline void MPV_motion_internal(MpegEncContext *s, | 638 static av_always_inline void MPV_motion_internal(MpegEncContext *s, |
639 uint8_t *dest_y, uint8_t *dest_cb, | 639 uint8_t *dest_y, uint8_t *dest_cb, |
640 uint8_t *dest_cr, int dir, | 640 uint8_t *dest_cr, int dir, |
641 uint8_t **ref_picture, | 641 uint8_t **ref_picture, |
642 op_pixels_func (*pix_op)[4], | 642 op_pixels_func (*pix_op)[4], |
643 qpel_mc_func (*qpix_op)[16], int is_mpeg12) | 643 qpel_mc_func (*qpix_op)[16], int is_mpeg12) |