116 |
|
|
117 |
int32_t x_int, y_int; |
int32_t x_int, y_int; |
118 |
|
|
119 |
const int32_t xRef = x*4 + dx; |
const int32_t xRef = (int)x*4 + dx; |
120 |
const int32_t yRef = y*4 + dy; |
const int32_t yRef = (int)y*4 + dy; |
121 |
|
|
122 |
Ops = xvid_QP_Funcs; /* TODO: pass as argument */ |
Ops = xvid_QP_Funcs; /* TODO: pass as argument */ |
123 |
quads = (dx&3) | ((dy&3)<<2); |
quads = (dx&3) | ((dy&3)<<2); |
131 |
y_int--; |
y_int--; |
132 |
|
|
133 |
dst = cur + y * stride + x; |
dst = cur + y * stride + x; |
134 |
src = refn + y_int * stride + x_int; |
src = refn + y_int * (int)stride + x_int; |
135 |
|
|
136 |
tmp = refh; /* we need at least a 16 x stride scratch block */ |
tmp = refh; /* we need at least a 16 x stride scratch block */ |
137 |
|
|
218 |
|
|
219 |
int32_t x_int, y_int; |
int32_t x_int, y_int; |
220 |
|
|
221 |
const int32_t xRef = x*4 + dx; |
const int32_t xRef = (int)x*4 + dx; |
222 |
const int32_t yRef = y*4 + dy; |
const int32_t yRef = (int)y*4 + dy; |
223 |
|
|
224 |
Ops = xvid_QP_Funcs; /* TODO: pass as argument */ |
Ops = xvid_QP_Funcs; /* TODO: pass as argument */ |
225 |
quads = (dx&3) | ((dy&3)<<2); |
quads = (dx&3) | ((dy&3)<<2); |
233 |
y_int--; |
y_int--; |
234 |
|
|
235 |
dst = cur + y * stride + x; |
dst = cur + y * stride + x; |
236 |
src = refn + y_int * stride + x_int; |
src = refn + y_int * (int)stride + x_int; |
237 |
|
|
238 |
tmp = refh; /* we need at least a 16 x stride scratch block */ |
tmp = refh; /* we need at least a 16 x stride scratch block */ |
239 |
|
|
318 |
|
|
319 |
int32_t x_int, y_int; |
int32_t x_int, y_int; |
320 |
|
|
321 |
const int32_t xRef = x*4 + dx; |
const int32_t xRef = (int)x*4 + dx; |
322 |
const int32_t yRef = y*4 + dy; |
const int32_t yRef = (int)y*4 + dy; |
323 |
|
|
324 |
Ops = xvid_QP_Funcs; /* TODO: pass as argument */ |
Ops = xvid_QP_Funcs; /* TODO: pass as argument */ |
325 |
quads = (dx&3) | ((dy&3)<<2); |
quads = (dx&3) | ((dy&3)<<2); |
333 |
y_int--; |
y_int--; |
334 |
|
|
335 |
dst = cur + y * stride + x; |
dst = cur + y * stride + x; |
336 |
src = refn + y_int * stride + x_int; |
src = refn + y_int * (int)stride + x_int; |
337 |
|
|
338 |
tmp = refh; /* we need at least a 16 x stride scratch block */ |
tmp = refh; /* we need at least a 16 x stride scratch block */ |
339 |
|
|