[svn] / branches / release-1_0-branch / xvidcore / src / image / interpolate8x8.h Repository:
ViewVC logotype

Diff of /branches/release-1_0-branch/xvidcore/src/image/interpolate8x8.h

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

revision 1387, Mon Mar 22 23:56:55 2004 UTC revision 1555, Tue Oct 12 21:06:34 2004 UTC
# Line 19  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
22   * $Id: interpolate8x8.h,v 1.11 2004-03-22 22:36:23 edgomez Exp $   * $Id: interpolate8x8.h,v 1.11.2.1 2004-10-12 21:06:33 edgomez Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# 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.1387  
changed lines
  Added in v.1555

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