[svn] / branches / dev-api-4 / xvidcore / src / image / interpolate8x8.h Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/image/interpolate8x8.h

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

revision 1122, Wed Aug 13 11:44:02 2003 UTC revision 1123, Mon Aug 18 19:02:50 2003 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.10.2.4 2003-08-13 11:43:57 edgomez Exp $   * $Id: interpolate8x8.h,v 1.10.2.5 2003-08-18 19:02:50 edgomez Exp $
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
# Line 156  Line 156 
156                                            const uint32_t rounding)                                            const uint32_t rounding)
157  {  {
158    
159          const uint8_t * const src = refn + (y + (dy>>1)) * stride + x + (dx>>1);          const uint8_t * const src = refn + (int)((y + (dy>>1)) * stride + x + (dx>>1));
160          uint8_t * const dst = cur + y * stride + x;          uint8_t * const dst = cur + (int)(y * stride + x);
161    
162          switch (((dx & 1) << 1) + (dy & 1))     { /* ((dx%2)?2:0)+((dy%2)?1:0) */          switch (((dx & 1) << 1) + (dy & 1))     { /* ((dx%2)?2:0)+((dy%2)?1:0) */
163          case 0:          case 0:
# Line 221  Line 221 
221                                            const uint32_t rounding)                                            const uint32_t rounding)
222  {  {
223    
224          const uint8_t * const src = refn + (y + (dy>>1)) * stride + x + (dx>>1);          const uint8_t * const src = refn + (int)((y + (dy>>1)) * stride + x + (dx>>1));
225    
226          switch (((dx & 1) << 1) + (dy & 1))     { /* ((dx%2)?2:0)+((dy%2)?1:0) */          switch (((dx & 1) << 1) + (dy & 1))     { /* ((dx%2)?2:0)+((dy%2)?1:0) */
227          case 0:          case 0:

Legend:
Removed from v.1122  
changed lines
  Added in v.1123

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