23 |
#include "../global.h" |
#include "../global.h" |
24 |
#include "../encoder.h" |
#include "../encoder.h" |
25 |
#include "gmc.h" |
#include "gmc.h" |
|
#include "motion_est.h" |
|
26 |
|
|
27 |
#include <stdio.h> |
#include <stdio.h> |
28 |
|
|
179 |
} |
} |
180 |
|
|
181 |
|
|
182 |
void get_average_mv_C(NEW_GMC_DATA *Dsp, VECTOR * const mv, |
void get_average_mv_C(const NEW_GMC_DATA * const Dsp, VECTOR * const mv, |
183 |
int x, int y, int qpel) |
int x, int y, int qpel) |
184 |
{ |
{ |
185 |
int i, j; |
int i, j; |
312 |
} |
} |
313 |
|
|
314 |
|
|
315 |
void get_average_mv_1pt_C(NEW_GMC_DATA *Dsp, VECTOR * const mv, |
void get_average_mv_1pt_C(const NEW_GMC_DATA * const Dsp, VECTOR * const mv, |
316 |
int x, int y, int qpel) |
int x, int y, int qpel) |
317 |
{ |
{ |
318 |
mv->x = RSHIFT(Dsp->Uo<<qpel, 3); |
mv->x = RSHIFT(Dsp->Uo<<qpel, 3); |