comparison motion_est_template.c @ 3959:514c6726b83b libavcodec

Fixes: mpegvideo.h:777: warning: ¡Æinline¡Ç is not at beginning of declaration motion_est_template.c:236: warning: ¡Æinline¡Ç is not at beginning of declaration Approved by Diego.
author rathann
date Sun, 08 Oct 2006 21:11:03 +0000
parents c8c591fe26f8
children 34fdffe98bd0
comparison
equal deleted inserted replaced
3958:f48a01a0d3dc 3959:514c6726b83b
231 (*mx_ptr)<<=1; 231 (*mx_ptr)<<=1;
232 (*my_ptr)<<=1; 232 (*my_ptr)<<=1;
233 return dmin; 233 return dmin;
234 } 234 }
235 235
236 int inline ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index, 236 inline int ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index,
237 int ref_index, int size, int h, int add_rate) 237 int ref_index, int size, int h, int add_rate)
238 { 238 {
239 // const int check_luma= s->dsp.me_sub_cmp != s->dsp.mb_cmp; 239 // const int check_luma= s->dsp.me_sub_cmp != s->dsp.mb_cmp;
240 MotionEstContext * const c= &s->me; 240 MotionEstContext * const c= &s->me;
241 const int penalty_factor= c->mb_penalty_factor; 241 const int penalty_factor= c->mb_penalty_factor;