[svn] / branches / dev-api-4 / xvidcore / src / motion / motion_est.h Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/motion/motion_est.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1129, Mon Aug 25 15:10:30 2003 UTC revision 1130, Tue Aug 26 09:25:25 2003 UTC
# Line 21  Line 21 
21   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: motion_est.h,v 1.3.2.16 2003-08-25 15:10:30 syskin Exp $   * $Id: motion_est.h,v 1.3.2.17 2003-08-26 09:25:25 edgomez Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 179  Line 179 
179          }          }
180    
181          k = (int)(width - (x<<block_sz))<<precision;          k = (int)(width - (x<<block_sz))<<precision;
182          *max_dx = min(high, k);          *max_dx = MIN(high, k);
183          k = (int)(height -  (y<<block_sz))<<precision;          k = (int)(height -  (y<<block_sz))<<precision;
184          *max_dy = min(high, k);          *max_dy = MIN(high, k);
185    
186          k = (-(int)((x+1)<<block_sz))<<precision;          k = (-(int)((x+1)<<block_sz))<<precision;
187          *min_dx = max(low, k);          *min_dx = MAX(low, k);
188          k = (-(int)((y+1)<<block_sz))<<precision;          k = (-(int)((y+1)<<block_sz))<<precision;
189          *min_dy = max(low, k);          *min_dy = MAX(low, k);
190  }  }
191    
192  typedef void MainSearchFunc(int x, int y, const SearchData * const Data, int bDirection);  typedef void MainSearchFunc(int x, int y, const SearchData * const Data, int bDirection);

Legend:
Removed from v.1129  
changed lines
  Added in v.1130

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4