54 |
const uint32_t width, |
const uint32_t width, |
55 |
const uint32_t height, |
const uint32_t height, |
56 |
const uint32_t edged_width, |
const uint32_t edged_width, |
57 |
|
const uint32_t quarterpel, |
58 |
|
const int reduced_resolution, |
59 |
const uint32_t rounding); |
const uint32_t rounding); |
60 |
|
|
61 |
|
|
171 |
uint32_t MBDecideFieldDCT(int16_t data[6 * 64]); /* <- decide whether to use field-based DCT |
uint32_t MBDecideFieldDCT(int16_t data[6 * 64]); /* <- decide whether to use field-based DCT |
172 |
for interlacing */ |
for interlacing */ |
173 |
|
|
174 |
|
typedef uint32_t (MBFIELDTEST) (int16_t data[6 * 64]); /* function pointer for field test */ |
175 |
|
typedef MBFIELDTEST *MBFIELDTEST_PTR; |
176 |
|
|
177 |
|
/* global field test pointer for xvid.c */ |
178 |
|
extern MBFIELDTEST_PTR MBFieldTest; |
179 |
|
|
180 |
|
/* field test implementations */ |
181 |
|
MBFIELDTEST MBFieldTest_c; |
182 |
|
MBFIELDTEST MBFieldTest_mmx; |
183 |
|
|
184 |
void MBFrameToField(int16_t data[6 * 64]); /* de-interlace vertical Y blocks */ |
void MBFrameToField(int16_t data[6 * 64]); /* de-interlace vertical Y blocks */ |
185 |
|
|
186 |
|
|
187 |
/** MBCoding.c **/ |
/** MBCoding.c **/ |
188 |
|
|
189 |
void MBSkip(Bitstream * bs); /* just the bitstream. Since MB is skipped, no info is needed */ |
/* void MBSkip(Bitstream * bs); just the bitstream. Since MB is skipped, no info is needed */ |
190 |
|
|
191 |
|
|
192 |
void MBCoding(const FRAMEINFO * frame, /* <-- the parameter for coding of the bitstream */ |
void MBCoding(const FRAMEINFO * const frame, /* <-- the parameter for coding of the bitstream */ |
193 |
|
|
194 |
MACROBLOCK * pMB, /* <-- Info of the MB to be coded */ |
MACROBLOCK * pMB, /* <-- Info of the MB to be coded */ |
195 |
|
|