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.17 2003-08-26 09:25:25 edgomez Exp $ |
* $Id: motion_est.h,v 1.3.2.18 2003-08-28 11:06:16 syskin Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
121 |
uint32_t iEdgedWidth; |
uint32_t iEdgedWidth; |
122 |
uint32_t iFcode; |
uint32_t iFcode; |
123 |
int * temp; |
int * temp; |
124 |
|
int * dir; |
125 |
int qpel, qpel_precision; |
int qpel, qpel_precision; |
126 |
int chroma; |
int chroma; |
127 |
int rrv; |
int rrv; |
146 |
|
|
147 |
|
|
148 |
typedef void(CheckFunc)(const int x, const int y, |
typedef void(CheckFunc)(const int x, const int y, |
149 |
const int Direction, int * const dir, |
const SearchData * const Data, |
150 |
const SearchData * const Data); |
const int Direction); |
|
CheckFunc *CheckCandidate; |
|
151 |
|
|
152 |
/* |
/* |
153 |
* Calculate the min/max range |
* Calculate the min/max range |
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 |
193 |
|
MainSearchFunc(int x, int y, const SearchData * const Data, |
194 |
|
int bDirection, CheckFunc * const CheckCandidate); |
195 |
|
|
196 |
static MainSearchFunc DiamondSearch, AdvDiamondSearch, SquareSearch; |
static MainSearchFunc DiamondSearch, AdvDiamondSearch, SquareSearch; |
197 |
|
|