Mercurial > libavcodec.hg
comparison motion_est_template.c @ 2113:07a663d46be2 libavcodec
shape-adaptive diamond + prediction crash patch by (Loren Merritt <lorenm at u dot washington dot edu>)
author | michael |
---|---|
date | Mon, 05 Jul 2004 02:21:38 +0000 |
parents | 75aae96e6b54 |
children | 3378d0677903 |
comparison
equal
deleted
inserted
replaced
2112:aba68a44e2ee | 2113:07a663d46be2 |
---|---|
675 continue;\ | 675 continue;\ |
676 }\ | 676 }\ |
677 }\ | 677 }\ |
678 } | 678 } |
679 | 679 |
680 #define MAX_SAB_SIZE 16 | 680 #define MAX_SAB_SIZE ME_MAP_SIZE |
681 static int sab_diamond_search(MpegEncContext * s, int *best, int dmin, | 681 static int sab_diamond_search(MpegEncContext * s, int *best, int dmin, |
682 int src_index, int ref_index, int const penalty_factor, | 682 int src_index, int ref_index, int const penalty_factor, |
683 int size, int h, int flags) | 683 int size, int h, int flags) |
684 { | 684 { |
685 MotionEstContext * const c= &s->me; | 685 MotionEstContext * const c= &s->me; |