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

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

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

revision 1.11, Mon Mar 22 22:36:23 2004 UTC revision 1.11.2.1, Tue Oct 12 21:06:33 2004 UTC
# Line 249  Line 249 
249                                           const uint32_t stride,                                           const uint32_t stride,
250                                           const uint32_t rounding)                                           const uint32_t rounding)
251  {  {
252          const int32_t xRef = x*4 + dx;          const int32_t xRef = (int)x*4 + dx;
253          const int32_t yRef = y*4 + dy;          const int32_t yRef = (int)y*4 + dy;
254    
255          uint8_t *src, *dst;          uint8_t *src, *dst;
256          uint8_t *halfpel_h, *halfpel_v, *halfpel_hv;          uint8_t *halfpel_h, *halfpel_v, *halfpel_hv;
# Line 268  Line 268 
268    
269          y_frac = yRef - (4*y_int);          y_frac = yRef - (4*y_int);
270    
271          src = refn + y_int * stride + x_int;          src = refn + y_int * (int)stride + x_int;
272          halfpel_h = refh;          halfpel_h = refh;
273          halfpel_v = refv;          halfpel_v = refv;
274          halfpel_hv = refhv;          halfpel_hv = refhv;
# Line 375  Line 375 
375                                           const uint32_t stride,                                           const uint32_t stride,
376                                           const uint32_t rounding)                                           const uint32_t rounding)
377  {  {
378          const int32_t xRef = x*4 + dx;          const int32_t xRef = (int)x*4 + dx;
379          const int32_t yRef = y*4 + dy;          const int32_t yRef = (int)y*4 + dy;
380    
381          uint8_t *src, *dst;          uint8_t *src, *dst;
382          uint8_t *halfpel_h, *halfpel_v, *halfpel_hv;          uint8_t *halfpel_h, *halfpel_v, *halfpel_hv;
# Line 394  Line 394 
394    
395          y_frac = yRef - (4*y_int);          y_frac = yRef - (4*y_int);
396    
397          src = refn + y_int * stride + x_int;          src = refn + y_int * (int)stride + x_int;
398          halfpel_h = refh;          halfpel_h = refh;
399          halfpel_v = refv;          halfpel_v = refv;
400          halfpel_hv = refhv;          halfpel_hv = refhv;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.11.2.1

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