13 |
|
|
14 |
#define MVequal(A,B) ( ((A).x)==((B).x) && ((A).y)==((B).y) ) |
#define MVequal(A,B) ( ((A).x)==((B).x) && ((A).y)==((B).y) ) |
15 |
|
|
16 |
void MBPrediction(MBParam *pParam, /* <-- the parameter for ACDC and MV prediction */ |
void MBPrediction(FRAMEINFO *frame, /* <-- the parameter for ACDC and MV prediction */ |
17 |
uint32_t x_pos, /* <-- The x position of the MB to be searched */ |
uint32_t x_pos, /* <-- The x position of the MB to be searched */ |
18 |
uint32_t y_pos, /* <-- The y position of the MB to be searched */ |
uint32_t y_pos, /* <-- The y position of the MB to be searched */ |
19 |
uint32_t x_dim, /* <-- Number of macroblocks in a row */ |
uint32_t x_dim, /* <-- Number of macroblocks in a row */ |
20 |
int16_t qcoeff[][64], /* <-> The quantized DCT coefficients */ |
int16_t *qcoeff /* <-> The quantized DCT coefficients */ |
|
MACROBLOCK *MB_array /* <-> the array of all the MB Infomations */ |
|
21 |
); |
); |
22 |
|
|
23 |
void add_acdc(MACROBLOCK *pMB, |
void add_acdc(MACROBLOCK *pMB, |