2 |
* |
* |
3 |
* Modifications: |
* Modifications: |
4 |
* |
* |
5 |
|
* 26.03.2002 interlacing support |
6 |
* 02.12.2001 motion estimation/compensation split |
* 02.12.2001 motion estimation/compensation split |
7 |
* 16.11.2001 const/uint32_t changes to MBMotionEstComp() |
* 16.11.2001 const/uint32_t changes to MBMotionEstComp() |
8 |
* 26.08.2001 added inter4v_mode parameter to MBMotionEstComp() |
* 26.08.2001 added inter4v_mode parameter to MBMotionEstComp() |
53 |
|
|
54 |
|
|
55 |
void MBTransQuantIntra(const MBParam *pParam, |
void MBTransQuantIntra(const MBParam *pParam, |
56 |
|
MACROBLOCK * pMB, |
57 |
const uint32_t x_pos, /* <-- The x position of the MB to be searched */ |
const uint32_t x_pos, /* <-- The x position of the MB to be searched */ |
58 |
const uint32_t y_pos, /* <-- The y position of the MB to be searched */ |
const uint32_t y_pos, /* <-- The y position of the MB to be searched */ |
59 |
int16_t data[][64], /* <-> the data of the MB to be coded */ |
int16_t data[][64], /* <-> the data of the MB to be coded */ |
65 |
|
|
66 |
uint8_t MBTransQuantInter(const MBParam *pParam, /* <-- the parameter for DCT transformation |
uint8_t MBTransQuantInter(const MBParam *pParam, /* <-- the parameter for DCT transformation |
67 |
and Quantization */ |
and Quantization */ |
68 |
|
MACROBLOCK * pMB, |
69 |
const uint32_t x_pos, /* <-- The x position of the MB to be searched */ |
const uint32_t x_pos, /* <-- The x position of the MB to be searched */ |
70 |
const uint32_t y_pos, /* <-- The y position of the MB to be searched */ |
const uint32_t y_pos, /* <-- The y position of the MB to be searched */ |
71 |
int16_t data[][64], /* <-> the data of the MB to be coded */ |
int16_t data[][64], /* <-> the data of the MB to be coded */ |
75 |
); |
); |
76 |
|
|
77 |
|
|
78 |
|
/** interlacing **/ |
79 |
|
|
80 |
|
uint32_t MBDecideFieldDCT(int16_t data[][64]); /* <- decide whether to use field-based DCT |
81 |
|
for interlacing */ |
82 |
|
|
83 |
|
void MBFrameToField(int16_t data[][64]); /* de-interlace vertical Y blocks */ |
84 |
|
|
85 |
|
void MBFieldToFrame(int16_t data[][64]); /* re-interlace vertical Y blocks */ |
86 |
|
|
87 |
|
|
88 |
/** MBCoding.c **/ |
/** MBCoding.c **/ |
89 |
|
|
90 |
void MBCoding(const MBParam *pParam, /* <-- the parameter for coding of the bitstream */ |
void MBCoding(const MBParam *pParam, /* <-- the parameter for coding of the bitstream */ |