Parent Directory | Revision Log
Revision 530 - (view) (download)
1 : | edgomez | 195 | // 01.05.2002 updated MBMotionCompensationBVOP |
2 : | // 14.04.2002 bframe compensation | ||
3 : | suxen_drol | 118 | |
4 : | Isibaar | 3 | #include "../encoder.h" |
5 : | #include "../utils/mbfunctions.h" | ||
6 : | #include "../image/interpolate8x8.h" | ||
7 : | #include "../utils/timer.h" | ||
8 : | suxen_drol | 118 | #include "motion.h" |
9 : | Isibaar | 3 | |
10 : | #define ABS(X) (((X)>0)?(X):-(X)) | ||
11 : | #define SIGN(X) (((X)>0)?1:-1) | ||
12 : | |||
13 : | chl | 530 | |
14 : | edgomez | 195 | static __inline void |
15 : | compensate8x8_halfpel(int16_t * const dct_codes, | ||
16 : | uint8_t * const cur, | ||
17 : | const uint8_t * const ref, | ||
18 : | const uint8_t * const refh, | ||
19 : | const uint8_t * const refv, | ||
20 : | const uint8_t * const refhv, | ||
21 : | const uint32_t x, | ||
22 : | const uint32_t y, | ||
23 : | const int32_t dx, | ||
24 : | const int dy, | ||
25 : | const uint32_t stride) | ||
26 : | Isibaar | 3 | { |
27 : | chl | 530 | const uint8_t * reference; |
28 : | Isibaar | 3 | |
29 : | edgomez | 195 | switch (((dx & 1) << 1) + (dy & 1)) // ((dx%2)?2:0)+((dy%2)?1:0) |
30 : | { | ||
31 : | chl | 530 | case 0: reference = ref + ((y + dy / 2) * stride + x + dx / 2); break; |
32 : | case 1: reference = refv + ((y + (dy-1) / 2) * stride + x + dx / 2); break; | ||
33 : | case 2: reference = refh + ((y + dy / 2) * stride + x + (dx-1) / 2); break; | ||
34 : | edgomez | 195 | default: // case 3: |
35 : | chl | 530 | reference = refhv + ((y + (dy-1) / 2) * stride + x + (dx-1) / 2); break; |
36 : | edgomez | 195 | } |
37 : | chl | 530 | transfer_8to16sub(dct_codes, cur + y * stride + x, |
38 : | reference, stride); | ||
39 : | Isibaar | 3 | } |
40 : | |||
41 : | edgomez | 195 | void |
42 : | MBMotionCompensation(MACROBLOCK * const mb, | ||
43 : | const uint32_t i, | ||
44 : | const uint32_t j, | ||
45 : | const IMAGE * const ref, | ||
46 : | const IMAGE * const refh, | ||
47 : | const IMAGE * const refv, | ||
48 : | const IMAGE * const refhv, | ||
49 : | IMAGE * const cur, | ||
50 : | int16_t * dct_codes, | ||
51 : | const uint32_t width, | ||
52 : | const uint32_t height, | ||
53 : | const uint32_t edged_width, | ||
54 : | const uint32_t rounding) | ||
55 : | Isibaar | 3 | { |
56 : | static const uint32_t roundtab[16] = | ||
57 : | { 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 }; | ||
58 : | |||
59 : | chl | 530 | if (mb->mode == MODE_NOT_CODED) { |
60 : | transfer8x8_copy(cur->y + 16 * (i + j * edged_width), | ||
61 : | ref->y + 16 * (i + j * edged_width), | ||
62 : | edged_width); | ||
63 : | transfer8x8_copy(cur->y + 16 * (i + j * edged_width) + 8, | ||
64 : | ref->y + 16 * (i + j * edged_width) + 8, | ||
65 : | edged_width); | ||
66 : | transfer8x8_copy(cur->y + 16 * (i + j * edged_width) + 8 * edged_width, | ||
67 : | ref->y + 16 * (i + j * edged_width) + 8 * edged_width, | ||
68 : | edged_width); | ||
69 : | transfer8x8_copy(cur->y + 16 * (i + j * edged_width) + 8 * (edged_width+1), | ||
70 : | ref->y + 16 * (i + j * edged_width) + 8 * (edged_width+1), | ||
71 : | edged_width); | ||
72 : | Isibaar | 3 | |
73 : | chl | 530 | transfer8x8_copy(cur->u + 8 * (i + j * edged_width/2), |
74 : | ref->u + 8 * (i + j * edged_width/2), | ||
75 : | edged_width / 2); | ||
76 : | transfer8x8_copy(cur->v + 8 * (i + j * edged_width/2), | ||
77 : | ref->v + 8 * (i + j * edged_width/2), | ||
78 : | edged_width / 2); | ||
79 : | return; | ||
80 : | } | ||
81 : | |||
82 : | edgomez | 195 | if (mb->mode == MODE_INTER || mb->mode == MODE_INTER_Q) { |
83 : | Isibaar | 3 | int32_t dx = mb->mvs[0].x; |
84 : | int32_t dy = mb->mvs[0].y; | ||
85 : | |||
86 : | edgomez | 195 | compensate8x8_halfpel(&dct_codes[0 * 64], cur->y, ref->y, refh->y, |
87 : | refv->y, refhv->y, 16 * i, 16 * j, dx, dy, | ||
88 : | edged_width); | ||
89 : | compensate8x8_halfpel(&dct_codes[1 * 64], cur->y, ref->y, refh->y, | ||
90 : | refv->y, refhv->y, 16 * i + 8, 16 * j, dx, dy, | ||
91 : | edged_width); | ||
92 : | compensate8x8_halfpel(&dct_codes[2 * 64], cur->y, ref->y, refh->y, | ||
93 : | refv->y, refhv->y, 16 * i, 16 * j + 8, dx, dy, | ||
94 : | edged_width); | ||
95 : | compensate8x8_halfpel(&dct_codes[3 * 64], cur->y, ref->y, refh->y, | ||
96 : | refv->y, refhv->y, 16 * i + 8, 16 * j + 8, dx, | ||
97 : | dy, edged_width); | ||
98 : | Isibaar | 3 | |
99 : | dx = (dx & 3) ? (dx >> 1) | 1 : dx / 2; | ||
100 : | dy = (dy & 3) ? (dy >> 1) | 1 : dy / 2; | ||
101 : | |||
102 : | chl | 530 | /* uv-block-based compensation */ |
103 : | edgomez | 195 | transfer_8to16sub(&dct_codes[4 * 64], |
104 : | chl | 530 | cur->u + 8 * j * edged_width / 2 + 8 * i, |
105 : | interpolate8x8_switch2(refv->u, ref->u, 8 * i, 8 * j, | ||
106 : | dx, dy, edged_width / 2, rounding), | ||
107 : | edged_width / 2); | ||
108 : | Isibaar | 3 | |
109 : | edgomez | 195 | transfer_8to16sub(&dct_codes[5 * 64], |
110 : | chl | 530 | cur->v + 8 * j * edged_width / 2 + 8 * i, |
111 : | interpolate8x8_switch2(refv->u, ref->v, 8 * i, 8 * j, | ||
112 : | dx, dy, edged_width / 2, rounding), | ||
113 : | edged_width / 2); | ||
114 : | suxen_drol | 449 | |
115 : | chl | 530 | } else { // mode == MODE_INTER4V |
116 : | Isibaar | 3 | int32_t sum, dx, dy; |
117 : | |||
118 : | edgomez | 195 | compensate8x8_halfpel(&dct_codes[0 * 64], cur->y, ref->y, refh->y, |
119 : | refv->y, refhv->y, 16 * i, 16 * j, mb->mvs[0].x, | ||
120 : | mb->mvs[0].y, edged_width); | ||
121 : | compensate8x8_halfpel(&dct_codes[1 * 64], cur->y, ref->y, refh->y, | ||
122 : | refv->y, refhv->y, 16 * i + 8, 16 * j, | ||
123 : | mb->mvs[1].x, mb->mvs[1].y, edged_width); | ||
124 : | compensate8x8_halfpel(&dct_codes[2 * 64], cur->y, ref->y, refh->y, | ||
125 : | refv->y, refhv->y, 16 * i, 16 * j + 8, | ||
126 : | mb->mvs[2].x, mb->mvs[2].y, edged_width); | ||
127 : | compensate8x8_halfpel(&dct_codes[3 * 64], cur->y, ref->y, refh->y, | ||
128 : | refv->y, refhv->y, 16 * i + 8, 16 * j + 8, | ||
129 : | mb->mvs[3].x, mb->mvs[3].y, edged_width); | ||
130 : | Isibaar | 3 | |
131 : | sum = mb->mvs[0].x + mb->mvs[1].x + mb->mvs[2].x + mb->mvs[3].x; | ||
132 : | edgomez | 195 | dx = (sum ? SIGN(sum) * |
133 : | (roundtab[ABS(sum) % 16] + (ABS(sum) / 16) * 2) : 0); | ||
134 : | Isibaar | 3 | |
135 : | sum = mb->mvs[0].y + mb->mvs[1].y + mb->mvs[2].y + mb->mvs[3].y; | ||
136 : | edgomez | 195 | dy = (sum ? SIGN(sum) * |
137 : | (roundtab[ABS(sum) % 16] + (ABS(sum) / 16) * 2) : 0); | ||
138 : | Isibaar | 3 | |
139 : | chl | 530 | /* uv-block-based compensation */ |
140 : | edgomez | 195 | transfer_8to16sub(&dct_codes[4 * 64], |
141 : | chl | 530 | cur->u + 8 * j * edged_width / 2 + 8 * i, |
142 : | interpolate8x8_switch2(refv->u, ref->u, 8 * i, 8 * j, | ||
143 : | dx, dy, edged_width / 2, rounding), | ||
144 : | edged_width / 2); | ||
145 : | Isibaar | 3 | |
146 : | edgomez | 195 | transfer_8to16sub(&dct_codes[5 * 64], |
147 : | chl | 530 | cur->v + 8 * j * edged_width / 2 + 8 * i, |
148 : | interpolate8x8_switch2(refv->u, ref->v, 8 * i, 8 * j, | ||
149 : | dx, dy, edged_width / 2, rounding), | ||
150 : | |||
151 : | edged_width / 2); | ||
152 : | Isibaar | 3 | } |
153 : | } | ||
154 : | suxen_drol | 118 | |
155 : | |||
156 : | edgomez | 195 | void |
157 : | MBMotionCompensationBVOP(MBParam * pParam, | ||
158 : | MACROBLOCK * const mb, | ||
159 : | const uint32_t i, | ||
160 : | const uint32_t j, | ||
161 : | IMAGE * const cur, | ||
162 : | const IMAGE * const f_ref, | ||
163 : | const IMAGE * const f_refh, | ||
164 : | const IMAGE * const f_refv, | ||
165 : | const IMAGE * const f_refhv, | ||
166 : | const IMAGE * const b_ref, | ||
167 : | const IMAGE * const b_refh, | ||
168 : | const IMAGE * const b_refv, | ||
169 : | const IMAGE * const b_refhv, | ||
170 : | int16_t * dct_codes) | ||
171 : | suxen_drol | 118 | { |
172 : | static const uint32_t roundtab[16] = | ||
173 : | { 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2 }; | ||
174 : | |||
175 : | const int32_t edged_width = pParam->edged_width; | ||
176 : | int32_t dx, dy; | ||
177 : | int32_t b_dx, b_dy; | ||
178 : | chl | 374 | int k,sum; |
179 : | suxen_drol | 118 | int x = i; |
180 : | int y = j; | ||
181 : | |||
182 : | |||
183 : | edgomez | 195 | switch (mb->mode) { |
184 : | case MODE_FORWARD: | ||
185 : | suxen_drol | 118 | dx = mb->mvs[0].x; |
186 : | dy = mb->mvs[0].y; | ||
187 : | |||
188 : | chl | 530 | transfer_8to16sub(&dct_codes[0 * 64], |
189 : | edgomez | 195 | cur->y + (j * 16) * edged_width + (i * 16), |
190 : | get_ref(f_ref->y, f_refh->y, f_refv->y, f_refhv->y, | ||
191 : | i * 16, j * 16, 1, dx, dy, edged_width), | ||
192 : | edged_width); | ||
193 : | suxen_drol | 118 | |
194 : | edgomez | 195 | transfer_8to16sub(&dct_codes[1 * 64], |
195 : | chl | 530 | cur->y + (j * 16) * edged_width + (i * 16 + 8), |
196 : | get_ref(f_ref->y, f_refh->y, f_refv->y, f_refhv->y, | ||
197 : | edgomez | 195 | i * 16 + 8, j * 16, 1, dx, dy, edged_width), |
198 : | chl | 530 | edged_width); |
199 : | suxen_drol | 118 | |
200 : | chl | 530 | transfer_8to16sub(&dct_codes[2 * 64], |
201 : | edgomez | 195 | cur->y + (j * 16 + 8) * edged_width + (i * 16), |
202 : | get_ref(f_ref->y, f_refh->y, f_refv->y, f_refhv->y, | ||
203 : | chl | 530 | i * 16, j * 16 + 8, 1, dx, dy, edged_width), |
204 : | edged_width); | ||
205 : | suxen_drol | 118 | |
206 : | edgomez | 195 | transfer_8to16sub(&dct_codes[3 * 64], |
207 : | chl | 530 | cur->y + (j * 16 + 8) * edged_width + (i * 16 + 8), |
208 : | get_ref(f_ref->y, f_refh->y, f_refv->y, f_refhv->y, | ||
209 : | i * 16 + 8, j * 16 + 8, 1, dx, dy, edged_width), | ||
210 : | edged_width); | ||
211 : | suxen_drol | 118 | |
212 : | |||
213 : | dx = (dx & 3) ? (dx >> 1) | 1 : dx / 2; | ||
214 : | dy = (dy & 3) ? (dy >> 1) | 1 : dy / 2; | ||
215 : | |||
216 : | chl | 530 | /* uv-block-based compensation */ |
217 : | suxen_drol | 449 | transfer_8to16sub(&dct_codes[4 * 64], |
218 : | chl | 530 | cur->u + 8 * j * edged_width / 2 + 8 * i, |
219 : | interpolate8x8_switch2(f_refv->u, f_ref->u, 8 * i, 8 * j, | ||
220 : | dx, dy, edged_width / 2, 0), | ||
221 : | |||
222 : | suxen_drol | 449 | edged_width / 2); |
223 : | |||
224 : | transfer_8to16sub(&dct_codes[5 * 64], | ||
225 : | chl | 530 | cur->v + 8 * j * edged_width / 2 + 8 * i, |
226 : | interpolate8x8_switch2(f_refv->u, f_ref->v, 8 * i, 8 * j, | ||
227 : | dx, dy, edged_width / 2, 0), | ||
228 : | |||
229 : | suxen_drol | 449 | edged_width / 2); |
230 : | |||
231 : | suxen_drol | 118 | break; |
232 : | |||
233 : | edgomez | 195 | case MODE_BACKWARD: |
234 : | suxen_drol | 118 | b_dx = mb->b_mvs[0].x; |
235 : | b_dy = mb->b_mvs[0].y; | ||
236 : | |||
237 : | chl | 530 | transfer_8to16sub(&dct_codes[0 * 64], |
238 : | edgomez | 195 | cur->y + (j * 16) * edged_width + (i * 16), |
239 : | get_ref(b_ref->y, b_refh->y, b_refv->y, b_refhv->y, | ||
240 : | i * 16, j * 16, 1, b_dx, b_dy, | ||
241 : | edged_width), edged_width); | ||
242 : | suxen_drol | 118 | |
243 : | edgomez | 195 | transfer_8to16sub(&dct_codes[1 * 64], |
244 : | cur->y + (j * 16) * edged_width + (i * 16 + 8), | ||
245 : | get_ref(b_ref->y, b_refh->y, b_refv->y, b_refhv->y, | ||
246 : | i * 16 + 8, j * 16, 1, b_dx, b_dy, | ||
247 : | edged_width), edged_width); | ||
248 : | suxen_drol | 118 | |
249 : | chl | 530 | transfer_8to16sub(&dct_codes[2 * 64], |
250 : | edgomez | 195 | cur->y + (j * 16 + 8) * edged_width + (i * 16), |
251 : | get_ref(b_ref->y, b_refh->y, b_refv->y, b_refhv->y, | ||
252 : | i * 16, j * 16 + 8, 1, b_dx, b_dy, | ||
253 : | edged_width), edged_width); | ||
254 : | suxen_drol | 118 | |
255 : | edgomez | 195 | transfer_8to16sub(&dct_codes[3 * 64], |
256 : | cur->y + (j * 16 + 8) * edged_width + (i * 16 + 8), | ||
257 : | get_ref(b_ref->y, b_refh->y, b_refv->y, b_refhv->y, | ||
258 : | i * 16 + 8, j * 16 + 8, 1, b_dx, b_dy, | ||
259 : | edged_width), edged_width); | ||
260 : | suxen_drol | 118 | |
261 : | b_dx = (b_dx & 3) ? (b_dx >> 1) | 1 : b_dx / 2; | ||
262 : | b_dy = (b_dy & 3) ? (b_dy >> 1) | 1 : b_dy / 2; | ||
263 : | |||
264 : | chl | 530 | /* uv-block-based compensation */ |
265 : | suxen_drol | 449 | transfer_8to16sub(&dct_codes[4 * 64], |
266 : | chl | 530 | cur->u + 8 * j * edged_width / 2 + 8 * i, |
267 : | interpolate8x8_switch2(f_refv->u, b_ref->u, 8 * i, 8 * j, | ||
268 : | b_dx, b_dy, edged_width / 2, 0), | ||
269 : | suxen_drol | 449 | |
270 : | chl | 530 | edged_width / 2); |
271 : | |||
272 : | suxen_drol | 449 | transfer_8to16sub(&dct_codes[5 * 64], |
273 : | chl | 530 | cur->v + 8 * j * edged_width / 2 + 8 * i, |
274 : | interpolate8x8_switch2(f_refv->u, b_ref->v, 8 * i, 8 * j, | ||
275 : | b_dx, b_dy, edged_width / 2, 0), | ||
276 : | suxen_drol | 449 | |
277 : | chl | 530 | edged_width / 2); |
278 : | |||
279 : | suxen_drol | 118 | break; |
280 : | |||
281 : | |||
282 : | chl | 374 | case MODE_INTERPOLATE: /* _could_ use DIRECT, but would be overkill (no 4MV there) */ |
283 : | chl | 530 | case MODE_DIRECT_NO4V: |
284 : | chl | 374 | |
285 : | suxen_drol | 118 | dx = mb->mvs[0].x; |
286 : | dy = mb->mvs[0].y; | ||
287 : | chl | 374 | |
288 : | suxen_drol | 118 | b_dx = mb->b_mvs[0].x; |
289 : | b_dy = mb->b_mvs[0].y; | ||
290 : | |||
291 : | chl | 530 | for (k = 0; k < 4; k++) { |
292 : | transfer_8to16sub2(&dct_codes[k * 64], | ||
293 : | cur->y + (i * 16+(k&1)*8) + (j * 16+((k>>1)*8)) * edged_width, | ||
294 : | get_ref(f_ref->y, f_refh->y, f_refv->y, | ||
295 : | f_refhv->y, 2*i + (k&1), 2*j + (k>>1), 8, dx, dy, | ||
296 : | edged_width), | ||
297 : | get_ref(b_ref->y, b_refh->y, b_refv->y, | ||
298 : | b_refhv->y, 2*i + (k&1), 2 * j+(k>>1), 8, b_dx, b_dy, | ||
299 : | edged_width), | ||
300 : | edged_width); | ||
301 : | chl | 374 | } |
302 : | suxen_drol | 118 | |
303 : | dx = (dx & 3) ? (dx >> 1) | 1 : dx / 2; | ||
304 : | dy = (dy & 3) ? (dy >> 1) | 1 : dy / 2; | ||
305 : | |||
306 : | b_dx = (b_dx & 3) ? (b_dx >> 1) | 1 : b_dx / 2; | ||
307 : | b_dy = (b_dy & 3) ? (b_dy >> 1) | 1 : b_dy / 2; | ||
308 : | |||
309 : | chl | 530 | transfer_8to16sub2(&dct_codes[4 * 64], |
310 : | cur->u + (y * 8) * edged_width / 2 + (x * 8), | ||
311 : | interpolate8x8_switch2(f_refv->u, b_ref->u, 8 * i, 8 * j, | ||
312 : | b_dx, b_dy, edged_width / 2, 0), | ||
313 : | interpolate8x8_switch2(f_refv->u + 8, f_ref->u, 8 * i, 8 * j, | ||
314 : | dx, dy, edged_width / 2, 0), | ||
315 : | suxen_drol | 449 | edged_width / 2); |
316 : | |||
317 : | chl | 530 | transfer_8to16sub2(&dct_codes[5 * 64], |
318 : | cur->v + (y * 8) * edged_width / 2 + (x * 8), | ||
319 : | interpolate8x8_switch2(f_refv->u, b_ref->v, 8 * i, 8 * j, | ||
320 : | b_dx, b_dy, edged_width / 2, 0), | ||
321 : | interpolate8x8_switch2(f_refv->u + 8, f_ref->v, 8 * i, 8 * j, | ||
322 : | dx, dy, edged_width / 2, 0), | ||
323 : | suxen_drol | 449 | edged_width / 2); |
324 : | chl | 530 | |
325 : | suxen_drol | 118 | break; |
326 : | chl | 374 | |
327 : | case MODE_DIRECT: | ||
328 : | suxen_drol | 118 | |
329 : | chl | 374 | for (k=0;k<4;k++) |
330 : | { | ||
331 : | dx = mb->mvs[k].x; | ||
332 : | dy = mb->mvs[k].y; | ||
333 : | |||
334 : | b_dx = mb->b_mvs[k].x; | ||
335 : | b_dy = mb->b_mvs[k].y; | ||
336 : | |||
337 : | // fprintf(stderr,"Direct Vector %d -- %d:%d %d:%d\n",k,dx,dy,b_dx,b_dy); | ||
338 : | |||
339 : | chl | 530 | transfer_8to16sub2(&dct_codes[k * 64], |
340 : | cur->y + (i*16 + (k&1)*8) + (j*16 + (k>>1)*8 ) * edged_width, | ||
341 : | get_ref(f_ref->y, f_refh->y, f_refv->y, f_refhv->y, | ||
342 : | 2*i + (k&1), 2*j + (k>>1), 8, dx, dy, | ||
343 : | edged_width), | ||
344 : | get_ref(b_ref->y, b_refh->y, b_refv->y, b_refhv->y, | ||
345 : | 2*i + (k&1), 2*j + (k>>1), 8, b_dx, b_dy, | ||
346 : | edged_width), | ||
347 : | edged_width); | ||
348 : | chl | 374 | } |
349 : | |||
350 : | sum = mb->mvs[0].x + mb->mvs[1].x + mb->mvs[2].x + mb->mvs[3].x; | ||
351 : | dx = (sum == 0 ? 0 : SIGN(sum) * (roundtab[ABS(sum) % 16] + (ABS(sum) / 16) * 2)); | ||
352 : | |||
353 : | sum = mb->mvs[0].y + mb->mvs[1].y + mb->mvs[2].y + mb->mvs[3].y; | ||
354 : | dy = (sum == 0 ? 0 : SIGN(sum) * (roundtab[ABS(sum) % 16] + (ABS(sum) / 16) * 2)); | ||
355 : | |||
356 : | |||
357 : | sum = mb->b_mvs[0].x + mb->b_mvs[1].x + mb->b_mvs[2].x + mb->b_mvs[3].x; | ||
358 : | b_dx = (sum == 0 ? 0 : SIGN(sum) * (roundtab[ABS(sum) % 16] + (ABS(sum) / 16) * 2)); | ||
359 : | |||
360 : | sum = mb->b_mvs[0].y + mb->b_mvs[1].y + mb->b_mvs[2].y + mb->b_mvs[3].y; | ||
361 : | b_dy = (sum == 0 ? 0 : SIGN(sum) * (roundtab[ABS(sum) % 16] + (ABS(sum) / 16) * 2)); | ||
362 : | |||
363 : | /* // for QPel don't forget to always do | ||
364 : | |||
365 : | if (quarterpel) | ||
366 : | chl | 530 | sum /= 2; |
367 : | chl | 374 | */ |
368 : | chl | 530 | transfer_8to16sub2(&dct_codes[4 * 64], |
369 : | cur->u + (y * 8) * edged_width / 2 + (x * 8), | ||
370 : | interpolate8x8_switch2(f_refv->u, b_ref->u, 8 * i, 8 * j, | ||
371 : | b_dx, b_dy, edged_width / 2, 0), | ||
372 : | interpolate8x8_switch2(f_refv->u + 8, f_ref->u, 8 * i, 8 * j, dx, dy, | ||
373 : | edged_width / 2, 0), | ||
374 : | suxen_drol | 449 | edged_width / 2); |
375 : | |||
376 : | chl | 530 | transfer_8to16sub2(&dct_codes[5 * 64], |
377 : | cur->v + (y * 8) * edged_width / 2 + (x * 8), | ||
378 : | interpolate8x8_switch2(f_refv->u, b_ref->v, 8 * i, 8 * j, | ||
379 : | b_dx, b_dy, edged_width / 2, 0), | ||
380 : | interpolate8x8_switch2(f_refv->u + 8, f_ref->v, 8 * i, 8 * j, | ||
381 : | dx, dy, edged_width / 2, 0), | ||
382 : | suxen_drol | 449 | edged_width / 2); |
383 : | chl | 530 | |
384 : | |||
385 : | suxen_drol | 118 | break; |
386 : | } | ||
387 : | } |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |