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 uint32_t rounding); |
const uint32_t rounding); |
59 |
|
|
60 |
|
|
170 |
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 |
171 |
for interlacing */ |
for interlacing */ |
172 |
|
|
173 |
|
typedef uint32_t (MBFIELDTEST) (int16_t data[6 * 64]); /* function pointer for field test */ |
174 |
|
typedef MBFIELDTEST *MBFIELDTEST_PTR; |
175 |
|
|
176 |
|
/* global field test pointer for xvid.c */ |
177 |
|
extern MBFIELDTEST_PTR MBFieldTest; |
178 |
|
|
179 |
|
/* field test implementations */ |
180 |
|
MBFIELDTEST MBFieldTest_c; |
181 |
|
MBFIELDTEST MBFieldTest_mmx; |
182 |
|
|
183 |
void MBFrameToField(int16_t data[6 * 64]); /* de-interlace vertical Y blocks */ |
void MBFrameToField(int16_t data[6 * 64]); /* de-interlace vertical Y blocks */ |
184 |
|
|
185 |
|
|
188 |
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 */ |
189 |
|
|
190 |
|
|
191 |
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 */ |
192 |
|
|
193 |
MACROBLOCK * pMB, /* <-- Info of the MB to be coded */ |
MACROBLOCK * pMB, /* <-- Info of the MB to be coded */ |
194 |
|
|