26 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
27 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
28 |
* |
* |
29 |
* $Id: motion.h,v 1.13.2.1 2002-09-23 20:36:01 chl Exp $ |
* $Id: motion.h,v 1.13.2.3 2002-10-03 08:26:19 syskin Exp $ |
30 |
* |
* |
31 |
***************************************************************************/ |
***************************************************************************/ |
32 |
|
|
48 |
* based on dx & dy. |
* based on dx & dy. |
49 |
*/ |
*/ |
50 |
|
|
51 |
|
static const uint32_t roundtab[16] = |
52 |
|
{ 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 }; |
53 |
|
|
54 |
|
|
55 |
static __inline const uint8_t * |
static __inline const uint8_t * |
56 |
get_ref(const uint8_t * const refn, |
get_ref(const uint8_t * const refn, |
57 |
const uint8_t * const refh, |
const uint8_t * const refh, |
158 |
const IMAGE * const pRefV, |
const IMAGE * const pRefV, |
159 |
const IMAGE * const pRefHV); |
const IMAGE * const pRefHV); |
160 |
|
|
161 |
|
int |
162 |
|
MEanalysis( const IMAGE * const pRef, |
163 |
|
const IMAGE * const pCurrent, |
164 |
|
MBParam * const pParam, |
165 |
|
MACROBLOCK * const pMBs, |
166 |
|
const uint32_t iFcode); |
167 |
|
|
168 |
|
int |
169 |
|
FindFcode( const MBParam * const pParam, |
170 |
|
const FRAMEINFO * const current); |
171 |
|
|
172 |
|
|
173 |
#endif /* _MOTION_H_ */ |
#endif /* _MOTION_H_ */ |