gimp r27329 - in trunk: . app/gegl
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27329 - in trunk: . app/gegl
- Date: Sun, 19 Oct 2008 14:16:13 +0000 (UTC)
Author: martinn
Date: Sun Oct 19 14:16:13 2008
New Revision: 27329
URL: http://svn.gnome.org/viewvc/gimp?rev=27329&view=rev
Log:
* app/gegl/gimpoperation*mode.c: Refer to the input as 'in'
instead of 'src', the layer as 'layer' instead of 'aux', and the
result as 'out' instead of 'dest'.
Modified:
trunk/ChangeLog
trunk/app/gegl/gimpoperationantierasemode.c
trunk/app/gegl/gimpoperationbehindmode.c
trunk/app/gegl/gimpoperationburnmode.c
trunk/app/gegl/gimpoperationcolorerasemode.c
trunk/app/gegl/gimpoperationcolormode.c
trunk/app/gegl/gimpoperationdarkenonlymode.c
trunk/app/gegl/gimpoperationdifferencemode.c
trunk/app/gegl/gimpoperationdissolvemode.c
trunk/app/gegl/gimpoperationdividemode.c
trunk/app/gegl/gimpoperationdodgemode.c
trunk/app/gegl/gimpoperationerasemode.c
trunk/app/gegl/gimpoperationgrainextractmode.c
trunk/app/gegl/gimpoperationgrainmergemode.c
trunk/app/gegl/gimpoperationhardlightmode.c
trunk/app/gegl/gimpoperationhuemode.c
trunk/app/gegl/gimpoperationlightenonlymode.c
trunk/app/gegl/gimpoperationmultiplymode.c
trunk/app/gegl/gimpoperationoverlaymode.c
trunk/app/gegl/gimpoperationreplacemode.c
trunk/app/gegl/gimpoperationsaturationmode.c
trunk/app/gegl/gimpoperationscreenmode.c
trunk/app/gegl/gimpoperationsoftlightmode.c
trunk/app/gegl/gimpoperationsubtractmode.c
trunk/app/gegl/gimpoperationvaluemode.c
Modified: trunk/app/gegl/gimpoperationantierasemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationantierasemode.c (original)
+++ trunk/app/gegl/gimpoperationantierasemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationbehindmode.c
==============================================================================
--- trunk/app/gegl/gimpoperationbehindmode.c (original)
+++ trunk/app/gegl/gimpoperationbehindmode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationburnmode.c
==============================================================================
--- trunk/app/gegl/gimpoperationburnmode.c (original)
+++ trunk/app/gegl/gimpoperationburnmode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationcolorerasemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationcolorerasemode.c (original)
+++ trunk/app/gegl/gimpoperationcolorerasemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationcolormode.c
==============================================================================
--- trunk/app/gegl/gimpoperationcolormode.c (original)
+++ trunk/app/gegl/gimpoperationcolormode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationdarkenonlymode.c
==============================================================================
--- trunk/app/gegl/gimpoperationdarkenonlymode.c (original)
+++ trunk/app/gegl/gimpoperationdarkenonlymode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationdifferencemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationdifferencemode.c (original)
+++ trunk/app/gegl/gimpoperationdifferencemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationdissolvemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationdissolvemode.c (original)
+++ trunk/app/gegl/gimpoperationdissolvemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationdividemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationdividemode.c (original)
+++ trunk/app/gegl/gimpoperationdividemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationdodgemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationdodgemode.c (original)
+++ trunk/app/gegl/gimpoperationdodgemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationerasemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationerasemode.c (original)
+++ trunk/app/gegl/gimpoperationerasemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationgrainextractmode.c
==============================================================================
--- trunk/app/gegl/gimpoperationgrainextractmode.c (original)
+++ trunk/app/gegl/gimpoperationgrainextractmode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationgrainmergemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationgrainmergemode.c (original)
+++ trunk/app/gegl/gimpoperationgrainmergemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationhardlightmode.c
==============================================================================
--- trunk/app/gegl/gimpoperationhardlightmode.c (original)
+++ trunk/app/gegl/gimpoperationhardlightmode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationhuemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationhuemode.c (original)
+++ trunk/app/gegl/gimpoperationhuemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationlightenonlymode.c
==============================================================================
--- trunk/app/gegl/gimpoperationlightenonlymode.c (original)
+++ trunk/app/gegl/gimpoperationlightenonlymode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationmultiplymode.c
==============================================================================
--- trunk/app/gegl/gimpoperationmultiplymode.c (original)
+++ trunk/app/gegl/gimpoperationmultiplymode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationoverlaymode.c
==============================================================================
--- trunk/app/gegl/gimpoperationoverlaymode.c (original)
+++ trunk/app/gegl/gimpoperationoverlaymode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationreplacemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationreplacemode.c (original)
+++ trunk/app/gegl/gimpoperationreplacemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationsaturationmode.c
==============================================================================
--- trunk/app/gegl/gimpoperationsaturationmode.c (original)
+++ trunk/app/gegl/gimpoperationsaturationmode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationscreenmode.c
==============================================================================
--- trunk/app/gegl/gimpoperationscreenmode.c (original)
+++ trunk/app/gegl/gimpoperationscreenmode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationsoftlightmode.c
==============================================================================
--- trunk/app/gegl/gimpoperationsoftlightmode.c (original)
+++ trunk/app/gegl/gimpoperationsoftlightmode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationsubtractmode.c
==============================================================================
--- trunk/app/gegl/gimpoperationsubtractmode.c (original)
+++ trunk/app/gegl/gimpoperationsubtractmode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
Modified: trunk/app/gegl/gimpoperationvaluemode.c
==============================================================================
--- trunk/app/gegl/gimpoperationvaluemode.c (original)
+++ trunk/app/gegl/gimpoperationvaluemode.c Sun Oct 19 14:16:13 2008
@@ -65,20 +65,20 @@
glong samples,
const GeglRectangle *roi)
{
- gfloat *src = in_buf;
- gfloat *aux = aux_buf;
- gfloat *dest = out_buf;
+ gfloat *in = in_buf;
+ gfloat *layer = aux_buf;
+ gfloat *out = out_buf;
while (samples--)
{
- dest[RED] = src[RED];
- dest[GREEN] = src[GREEN];
- dest[BLUE] = src[BLUE];
- dest[ALPHA] = src[ALPHA];
+ out[RED] = in[RED];
+ out[GREEN] = in[GREEN];
+ out[BLUE] = in[BLUE];
+ out[ALPHA] = in[ALPHA];
- src += 4;
- aux += 4;
- dest += 4;
+ in += 4;
+ layer += 4;
+ out += 4;
}
return TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]