28 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
29 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
30 |
* |
* |
31 |
* $Id: motion.h,v 1.15 2002-09-07 09:12:21 chl Exp $ |
* $Id: motion.h,v 1.16 2002-09-07 09:18:48 chl Exp $ |
32 |
* |
* |
33 |
***************************************************************************/ |
***************************************************************************/ |
34 |
|
|
38 |
#include "../portab.h" |
#include "../portab.h" |
39 |
#include "../global.h" |
#include "../global.h" |
40 |
|
|
41 |
/* hard coded motion search parameters for motion_est and smp_motion_est */ |
/* hard coded motion search parameters for motion_est */ |
42 |
|
|
43 |
// very large value |
// very large value |
44 |
#define MV_MAX_ERROR (4096 * 256) |
#define MV_MAX_ERROR (4096 * 256) |
347 |
const IMAGE * const pRefHV, |
const IMAGE * const pRefHV, |
348 |
const uint32_t iLimit); |
const uint32_t iLimit); |
349 |
|
|
|
#ifdef _SMP |
|
|
bool |
|
|
SMP_MotionEstimation(MBParam * const pParam, |
|
|
FRAMEINFO * const current, |
|
|
FRAMEINFO * const reference, |
|
|
const IMAGE * const pRefH, |
|
|
const IMAGE * const pRefV, |
|
|
const IMAGE * const pRefHV, |
|
|
const uint32_t iLimit); |
|
|
#endif |
|
|
|
|
350 |
typedef int32_t(Halfpel8_RefineFunc) (const uint8_t * const pRef, |
typedef int32_t(Halfpel8_RefineFunc) (const uint8_t * const pRef, |
351 |
const uint8_t * const pRefH, |
const uint8_t * const pRefH, |
352 |
const uint8_t * const pRefV, |
const uint8_t * const pRefV, |