diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-10-28 10:12:57 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-10-28 10:12:57 +0000 |
commit | 1c3990dbba6a1e594c8a273e85c8460d90d29643 (patch) | |
tree | 432737cb6f39a6f434f284d6bacf0f56c1886430 /libavcodec/motion_est_template.c | |
parent | d7e2f57f0e6d1b8f51dd8f5b3324263d4b4d935a (diff) | |
download | ffmpeg-1c3990dbba6a1e594c8a273e85c8460d90d29643.tar.gz |
H.261 encoder by (Maarten Daniels <maarten dot daniels at luc dot ac dot be>)
Originally committed as revision 3643 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/motion_est_template.c')
-rw-r--r-- | libavcodec/motion_est_template.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/motion_est_template.c b/libavcodec/motion_est_template.c index 567202149e..1f5c742a41 100644 --- a/libavcodec/motion_est_template.c +++ b/libavcodec/motion_est_template.c @@ -221,6 +221,16 @@ static int hpel_motion_search(MpegEncContext * s, } #endif +static int no_sub_motion_search(MpegEncContext * s, + int *mx_ptr, int *my_ptr, int dmin, + int src_index, int ref_index, + int size, int h) +{ + (*mx_ptr)<<=1; + (*my_ptr)<<=1; + return dmin; +} + int inline ff_get_mb_score(MpegEncContext * s, int mx, int my, int src_index, int ref_index, int size, int h, int add_rate) { |