[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.3, Tue Aug 10 21:58:55 2004 UTC revision 1.4, Tue Oct 12 21:08:41 2004 UTC
# Line 120  Line 120 
120    
121          int32_t x_int, y_int;          int32_t x_int, y_int;
122    
123          const int32_t xRef = x*4 + dx;          const int32_t xRef = (int)x*4 + dx;
124          const int32_t yRef = y*4 + dy;          const int32_t yRef = (int)y*4 + dy;
125    
126          Ops = xvid_QP_Funcs;          Ops = xvid_QP_Funcs;
127          quads = (dx&3) | ((dy&3)<<2);          quads = (dx&3) | ((dy&3)<<2);
# Line 135  Line 135 
135                  y_int--;                  y_int--;
136    
137          dst = cur + y * stride + x;          dst = cur + y * stride + x;
138          src = refn + y_int * stride + x_int;          src = refn + y_int * (int)stride + x_int;
139    
140          tmp = refh; /* we need at least a 16 x stride scratch block */          tmp = refh; /* we need at least a 16 x stride scratch block */
141    
# Line 223  Line 223 
223    
224          int32_t x_int, y_int;          int32_t x_int, y_int;
225    
226          const int32_t xRef = x*4 + dx;          const int32_t xRef = (int)x*4 + dx;
227          const int32_t yRef = y*4 + dy;          const int32_t yRef = (int)y*4 + dy;
228    
229          Ops = xvid_QP_Add_Funcs;          Ops = xvid_QP_Add_Funcs;
230          Ops_Copy = xvid_QP_Funcs;          Ops_Copy = xvid_QP_Funcs;
# Line 239  Line 239 
239                  y_int--;                  y_int--;
240    
241          dst = cur + y * stride + x;          dst = cur + y * stride + x;
242          src = refn + y_int * stride + x_int;          src = refn + y_int * (int)stride + x_int;
243    
244          tmp = refh; /* we need at least a 16 x stride scratch block */          tmp = refh; /* we need at least a 16 x stride scratch block */
245    
# Line 328  Line 328 
328    
329          int32_t x_int, y_int;          int32_t x_int, y_int;
330    
331          const int32_t xRef = x*4 + dx;          const int32_t xRef = (int)x*4 + dx;
332          const int32_t yRef = y*4 + dy;          const int32_t yRef = (int)y*4 + dy;
333    
334          Ops = xvid_QP_Funcs;          Ops = xvid_QP_Funcs;
335          quads = (dx&3) | ((dy&3)<<2);          quads = (dx&3) | ((dy&3)<<2);
# Line 343  Line 343 
343                  y_int--;                  y_int--;
344    
345          dst = cur + y * stride + x;          dst = cur + y * stride + x;
346          src = refn + y_int * stride + x_int;          src = refn + y_int * (int)stride + x_int;
347    
348          tmp = refh; /* we need at least a 16 x stride scratch block */          tmp = refh; /* we need at least a 16 x stride scratch block */
349    
# Line 428  Line 428 
428    
429          int32_t x_int, y_int;          int32_t x_int, y_int;
430    
431          const int32_t xRef = x*4 + dx;          const int32_t xRef = (int)x*4 + dx;
432          const int32_t yRef = y*4 + dy;          const int32_t yRef = (int)y*4 + dy;
433    
434          Ops = xvid_QP_Funcs;          Ops = xvid_QP_Funcs;
435          quads = (dx&3) | ((dy&3)<<2);          quads = (dx&3) | ((dy&3)<<2);
# Line 443  Line 443 
443                  y_int--;                  y_int--;
444    
445          dst = cur + y * stride + x;          dst = cur + y * stride + x;
446          src = refn + y_int * stride + x_int;          src = refn + y_int * (int)stride + x_int;
447    
448          tmp = refh; /* we need at least a 16 x stride scratch block */          tmp = refh; /* we need at least a 16 x stride scratch block */
449    
# Line 528  Line 528 
528    
529          int32_t x_int, y_int;          int32_t x_int, y_int;
530    
531          const int32_t xRef = x*4 + dx;          const int32_t xRef = (int)x*4 + dx;
532          const int32_t yRef = y*4 + dy;          const int32_t yRef = (int)y*4 + dy;
533    
534          Ops = xvid_QP_Add_Funcs;          Ops = xvid_QP_Add_Funcs;
535          Ops_Copy = xvid_QP_Funcs;          Ops_Copy = xvid_QP_Funcs;
# Line 544  Line 544 
544                  y_int--;                  y_int--;
545    
546          dst = cur + y * stride + x;          dst = cur + y * stride + x;
547          src = refn + y_int * stride + x_int;          src = refn + y_int * (int)stride + x_int;
548    
549          tmp = refh; /* we need at least a 16 x stride scratch block */          tmp = refh; /* we need at least a 16 x stride scratch block */
550    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

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