Mercurial > libavcodec.hg
comparison motion_est_template.c @ 4248:4be0e20c0eeb libavcodec
cosmetic (prevent name clashes of variables in a macro with surrounding code)
author | michael |
---|---|
date | Fri, 01 Dec 2006 09:46:52 +0000 |
parents | a579dae361e2 |
children | 17e04bdf8d69 |
comparison
equal
deleted
inserted
replaced
4247:c2224aefb923 | 4248:4be0e20c0eeb |
---|---|
515 }\ | 515 }\ |
516 } | 516 } |
517 | 517 |
518 #define CHECK_CLIPED_MV(ax,ay)\ | 518 #define CHECK_CLIPED_MV(ax,ay)\ |
519 {\ | 519 {\ |
520 const int x= ax;\ | 520 const int Lx= ax;\ |
521 const int y= ay;\ | 521 const int Ly= ay;\ |
522 const int x2= FFMAX(xmin, FFMIN(x, xmax));\ | 522 const int Lx2= FFMAX(xmin, FFMIN(Lx, xmax));\ |
523 const int y2= FFMAX(ymin, FFMIN(y, ymax));\ | 523 const int Ly2= FFMAX(ymin, FFMIN(Ly, ymax));\ |
524 CHECK_MV(x2, y2)\ | 524 CHECK_MV(Lx2, Ly2)\ |
525 } | 525 } |
526 | 526 |
527 #define CHECK_MV_DIR(x,y,new_dir)\ | 527 #define CHECK_MV_DIR(x,y,new_dir)\ |
528 {\ | 528 {\ |
529 const int key= ((y)<<ME_MAP_MV_BITS) + (x) + map_generation;\ | 529 const int key= ((y)<<ME_MAP_MV_BITS) + (x) + map_generation;\ |