[svn] / trunk / xvidcore / src / image / postprocessing.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/image/postprocessing.c

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

revision 1437, Sun Apr 18 07:55:11 2004 UTC revision 1805, Thu Nov 27 00:47:03 2008 UTC
# Line 20  Line 20 
20   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
21   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
22   *   *
23   * $Id: postprocessing.c,v 1.4 2004-04-18 07:55:11 syskin Exp $   * $Id: postprocessing.c,v 1.5 2008-11-27 00:47:03 Isibaar Exp $
24   *   *
25   ****************************************************************************/   ****************************************************************************/
26    
# Line 433  Line 433 
433          {          {
434                  for(x = 0; x < width; x++)                  for(x = 0; x < width; x++)
435                  {                  {
436                          dst[y*stride + x] = CLIP( dst[y*stride + x] + offset, 0, 255);                          int p = dst[y*stride + x];
437                            dst[y*stride + x] = CLIP( p + offset, 0, 255);
438                  }                  }
439          }          }
440  }  }

Legend:
Removed from v.1437  
changed lines
  Added in v.1805

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