73 |
); |
); |
74 |
|
|
75 |
|
|
76 |
uint8_t MBTransQuantInter(const MBParam * pParam, /* <-- the parameter for DCT transformation and Quantization */ |
void MBTransQuantIntra2(const MBParam * pParam, |
|
|
|
77 |
FRAMEINFO * frame, |
FRAMEINFO * frame, |
78 |
MACROBLOCK * pMB, |
MACROBLOCK * pMB, |
79 |
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 */ |
86 |
); |
); |
87 |
|
|
88 |
|
|
89 |
|
uint8_t MBTransQuantInter(const MBParam * pParam, |
90 |
|
FRAMEINFO * frame, |
91 |
|
MACROBLOCK * pMB, |
92 |
|
const uint32_t x_pos, |
93 |
|
const uint32_t y_pos, |
94 |
|
int16_t data[6 * 64], |
95 |
|
int16_t qcoeff[6 * 64]); |
96 |
|
|
97 |
|
|
98 |
|
uint8_t MBTransQuantInter2(const MBParam * pParam, |
99 |
|
FRAMEINFO * frame, |
100 |
|
MACROBLOCK * pMB, |
101 |
|
const uint32_t x_pos, |
102 |
|
const uint32_t y_pos, |
103 |
|
int16_t data[6 * 64], |
104 |
|
int16_t qcoeff[6 * 64]); |
105 |
|
|
106 |
|
uint8_t MBTransQuantInterBVOP(const MBParam * pParam, |
107 |
|
FRAMEINFO * frame, |
108 |
|
MACROBLOCK * pMB, |
109 |
|
int16_t data[6 * 64], |
110 |
|
int16_t qcoeff[6 * 64]); |
111 |
|
|
112 |
|
void MBTrans(const MBParam * pParam, |
113 |
|
FRAMEINFO * frame, |
114 |
|
MACROBLOCK * pMB, |
115 |
|
const uint32_t x_pos, |
116 |
|
const uint32_t y_pos, |
117 |
|
int16_t data[6 * 64]); |
118 |
|
|
119 |
|
void MBfDCT(const MBParam * pParam, |
120 |
|
FRAMEINFO * frame, |
121 |
|
MACROBLOCK * pMB, |
122 |
|
int16_t data[6 * 64]); |
123 |
|
|
124 |
|
uint8_t MBQuantInter( const MBParam * pParam, |
125 |
|
const int iQuant, |
126 |
|
int16_t data[6 * 64], |
127 |
|
int16_t qcoeff[6 * 64]); |
128 |
|
|
129 |
|
void MBQuantDeQuantIntra(const MBParam * pParam, |
130 |
|
FRAMEINFO * frame, |
131 |
|
MACROBLOCK *pMB, |
132 |
|
int16_t qcoeff[6 * 64], |
133 |
|
int16_t data[6*64]); |
134 |
|
|
135 |
|
void MBQuantIntra( const MBParam * pParam, |
136 |
|
FRAMEINFO * frame, |
137 |
|
MACROBLOCK *pMB, |
138 |
|
int16_t qcoeff[6 * 64], |
139 |
|
int16_t data[6*64]); |
140 |
|
|
141 |
|
void MBDeQuantIntra(const MBParam * pParam, |
142 |
|
const int iQuant, |
143 |
|
int16_t qcoeff[6 * 64], |
144 |
|
int16_t data[6*64]); |
145 |
|
|
146 |
|
void MBDeQuantInter(const MBParam * pParam, |
147 |
|
const int iQuant, |
148 |
|
int16_t data[6 * 64], |
149 |
|
int16_t qcoeff[6 * 64], |
150 |
|
const uint8_t cbp); |
151 |
|
|
152 |
|
|
153 |
|
void MBiDCT( int16_t data[6 * 64], |
154 |
|
const uint8_t cbp); |
155 |
|
|
156 |
|
|
157 |
|
void MBTransAdd( const MBParam * pParam, |
158 |
|
FRAMEINFO * frame, |
159 |
|
MACROBLOCK * pMB, |
160 |
|
const uint32_t x_pos, |
161 |
|
const uint32_t y_pos, |
162 |
|
int16_t data[6 * 64], |
163 |
|
const uint8_t cbp); |
164 |
|
|
165 |
|
|
166 |
|
|
167 |
/** interlacing **/ |
/** interlacing **/ |
168 |
|
|
169 |
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 |