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.11 2003-06-26 11:50:27 syskin Exp $ |
* $Id: motion_est.h,v 1.3.2.12 2003-06-28 15:51:54 chl Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
208 |
const IMAGE * const pRefH, |
const IMAGE * const pRefH, |
209 |
const IMAGE * const pRefV, |
const IMAGE * const pRefV, |
210 |
const IMAGE * const pRefHV, |
const IMAGE * const pRefHV, |
211 |
|
const IMAGE * const pGMC, |
212 |
const uint32_t iLimit); |
const uint32_t iLimit); |
213 |
|
|
214 |
static void |
static void |
228 |
const MACROBLOCK * const prevMBs, |
const MACROBLOCK * const prevMBs, |
229 |
MACROBLOCK * const pMB); |
MACROBLOCK * const pMB); |
230 |
|
|
231 |
static WARPPOINTS |
static __inline void |
232 |
GlobalMotionEst(const MACROBLOCK * const pMBs, |
GMEanalyzeMB (const uint8_t * const pCur, |
233 |
|
const uint8_t * const pRef, |
234 |
|
const uint8_t * const pRefH, |
235 |
|
const uint8_t * const pRefV, |
236 |
|
const uint8_t * const pRefHV, |
237 |
|
const int x, |
238 |
|
const int y, |
239 |
|
const MBParam * const pParam, |
240 |
|
MACROBLOCK * const pMBs, |
241 |
|
SearchData * const Data); |
242 |
|
|
243 |
|
void |
244 |
|
GMEanalysis(const MBParam * const pParam, |
245 |
|
const FRAMEINFO * const current, |
246 |
|
const FRAMEINFO * const reference, |
247 |
|
const IMAGE * const pRefH, |
248 |
|
const IMAGE * const pRefV, |
249 |
|
const IMAGE * const pRefHV); |
250 |
|
|
251 |
|
|
252 |
|
|
253 |
|
WARPPOINTS |
254 |
|
GlobalMotionEst(MACROBLOCK * const pMBs, |
255 |
const MBParam * const pParam, |
const MBParam * const pParam, |
256 |
const FRAMEINFO * const current, |
const FRAMEINFO * const current, |
257 |
const FRAMEINFO * const reference, |
const FRAMEINFO * const reference, |
259 |
const IMAGE * const pRefV, |
const IMAGE * const pRefV, |
260 |
const IMAGE * const pRefHV ); |
const IMAGE * const pRefHV ); |
261 |
|
|
262 |
|
|
263 |
|
int |
264 |
|
GlobalMotionEstRefine(WARPPOINTS *const startwp, |
265 |
|
MACROBLOCK * const pMBs, |
266 |
|
const MBParam * const pParam, |
267 |
|
const FRAMEINFO * const current, |
268 |
|
const FRAMEINFO * const reference, |
269 |
|
const IMAGE * const pCurr, |
270 |
|
const IMAGE * const pRef, |
271 |
|
const IMAGE * const pRefH, |
272 |
|
const IMAGE * const pRefV, |
273 |
|
const IMAGE * const pRefHV); |
274 |
|
|
275 |
|
|
276 |
|
|
277 |
|
|
278 |
|
int |
279 |
|
globalSAD(const WARPPOINTS *const wp, |
280 |
|
const MBParam * const pParam, |
281 |
|
const MACROBLOCK * const pMBs, |
282 |
|
const FRAMEINFO * const current, |
283 |
|
const IMAGE * const pRef, |
284 |
|
const IMAGE * const pCurr, |
285 |
|
uint8_t *const GMCblock); |
286 |
|
|
287 |
#define iDiamondSize 2 |
#define iDiamondSize 2 |
288 |
|
|
289 |
static __inline uint32_t |
static __inline uint32_t |