[cvs] / xvidcore / src / image / qpel.h Repository:
ViewVC logotype

Diff of /xvidcore/src/image/qpel.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2, Mon Mar 22 22:36:23 2004 UTC revision 1.2.2.1, Tue Oct 12 21:06:34 2004 UTC
# Line 116  Line 116 
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);
# Line 131  Line 131 
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    
# Line 218  Line 218 
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);
# Line 233  Line 233 
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    
# Line 318  Line 318 
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);
# Line 333  Line 333 
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    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.2.2.1

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4