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 |
|
|
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 |
} |
} |