Revision 849f1035 libavcodec/mpegvideo.c

View differences:

libavcodec/mpegvideo.c
2946 2946
}
2947 2947

  
2948 2948
/* apply one mpeg motion vector to the three components */
2949
static always_inline void mpeg_motion(MpegEncContext *s,
2949
static av_always_inline void mpeg_motion(MpegEncContext *s,
2950 2950
                               uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr,
2951 2951
                               int field_based, int bottom_field, int field_select,
2952 2952
                               uint8_t **ref_picture, op_pixels_func (*pix_op)[4],
......
3063 3063
}
3064 3064

  
3065 3065
/* apply one mpeg motion vector to the three components */
3066
static always_inline void mpeg_motion_lowres(MpegEncContext *s,
3066
static av_always_inline void mpeg_motion_lowres(MpegEncContext *s,
3067 3067
                               uint8_t *dest_y, uint8_t *dest_cb, uint8_t *dest_cr,
3068 3068
                               int field_based, int bottom_field, int field_select,
3069 3069
                               uint8_t **ref_picture, h264_chroma_mc_func *pix_op,
......
3895 3895
   s->mv       : motion vector
3896 3896
   s->interlaced_dct : true if interlaced dct used (mpeg2)
3897 3897
 */
3898
static always_inline void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64], int lowres_flag)
3898
static av_always_inline void MPV_decode_mb_internal(MpegEncContext *s, DCTELEM block[12][64], int lowres_flag)
3899 3899
{
3900 3900
    int mb_x, mb_y;
3901 3901
    const int mb_xy = s->mb_y * s->mb_stride + s->mb_x;
......
4318 4318
    }
4319 4319
}
4320 4320

  
4321
static always_inline void encode_mb_internal(MpegEncContext *s, int motion_x, int motion_y, int mb_block_height, int mb_block_count)
4321
static av_always_inline void encode_mb_internal(MpegEncContext *s, int motion_x, int motion_y, int mb_block_height, int mb_block_count)
4322 4322
{
4323 4323
    int16_t weight[8][64];
4324 4324
    DCTELEM orig[8][64];
......
4600 4600
    }
4601 4601
}
4602 4602

  
4603
static always_inline void encode_mb(MpegEncContext *s, int motion_x, int motion_y)
4603
static av_always_inline void encode_mb(MpegEncContext *s, int motion_x, int motion_y)
4604 4604
{
4605 4605
    if (s->chroma_format == CHROMA_420) encode_mb_internal(s, motion_x, motion_y,  8, 6);
4606 4606
    else                                encode_mb_internal(s, motion_x, motion_y, 16, 8);

Also available in: Unified diff