Tao.Sdl SDK Documentation

SdlGfx.SDL_imageFilterAbsDiff Method 

SDL_imageFilterAbsDiff: D = | S1 - S2 |

[Visual Basic]
Public Shared Function SDL_imageFilterAbsDiff( _
   ByVal Src1 As Byte(), _
   ByVal Src2 As Byte(), _
   ByVal Dest As Byte(), _
   ByVal length As Integer _
) As Integer
[C#]
public static int SDL_imageFilterAbsDiff(
   byte[] Src1,
   byte[] Src2,
   byte[] Dest,
   int length
);

Parameters

Src1
Array of bytes
Src2
Array of bytes
Dest
Array of bytes returned after operation.
length
Size of array

Return Value

Returns 0 for success and -1 for Error.

Remarks

Binds to C-function call in SDL_imageFilter.h.

            int SDL_imageFilterAbsDiff(unsigned char *Src1, unsigned char *Src2, unsigned char *Dest, int length)
            

See Also

SdlGfx Class | Tao.Sdl Namespace