Mercurial > libavcodec.hg
comparison motion_est_template.c @ 2327:5e5cf598a48b libavcodec
H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
author | michael |
---|---|
date | Thu, 28 Oct 2004 10:12:57 +0000 |
parents | 4306aa6f8f16 |
children | e25782262d7d |
comparison
equal
deleted
inserted
replaced
2326:fe1986d6230f | 2327:5e5cf598a48b |
---|---|
218 *my_ptr = by; | 218 *my_ptr = by; |
219 | 219 |
220 return dmin; | 220 return dmin; |
221 } | 221 } |
222 #endif | 222 #endif |
223 | |
224 static int no_sub_motion_search(MpegEncContext * s, | |
225 int *mx_ptr, int *my_ptr, int dmin, | |
226 int src_index, int ref_index, | |
227 int size, int h) | |
228 { | |
229 (*mx_ptr)<<=1; | |
230 (*my_ptr)<<=1; | |
231 return dmin; | |
232 } | |
223 | 233 |
224 int inline ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index, | 234 int inline ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index, |
225 int ref_index, int size, int h, int add_rate) | 235 int ref_index, int size, int h, int add_rate) |
226 { | 236 { |
227 // const int check_luma= s->dsp.me_sub_cmp != s->dsp.mb_cmp; | 237 // const int check_luma= s->dsp.me_sub_cmp != s->dsp.mb_cmp; |