Tao.Sdl SDK Documentation

SdlGfx.SDL_imageFilterSobelXShiftRight Method 

SDL_imageFilterSobelXShiftRight: Dij = saturation255( ... ). For MMX processors only.

[Visual Basic]
Public Shared Function SDL_imageFilterSobelXShiftRight( _
   ByVal Src1 As Byte(), _
   ByVal Dest As Byte(), _
   ByVal rows As Integer, _
   ByVal columns As Integer, _
   ByVal NRightShift As Byte _
) As Integer
[C#]
public static int SDL_imageFilterSobelXShiftRight(
   byte[] Src1,
   byte[] Dest,
   int rows,
   int columns,
   byte NRightShift
);

Parameters

Src1
Array of bytes
Dest
Array of bytes returned after operation.
rows
Threshold
columns
Threshold
NRightShift

Return Value

Returns 0 for success and -1 for Error.

Remarks

Binds to C-function call in SDL_imageFilter.h.

            int SDL_imageFilterSobelXShiftRight(unsigned char *Src, unsigned char *Dest, int rows, int columns, unsigned char NRightShift);
            

See Also

SdlGfx Class | Tao.Sdl Namespace