Tao.Sdl SDK Documentation

SdlGfx.SDL_imageFilterConvolveKernel7x7ShiftRight Method 

SDL_imageFilterConvolveKernel7x7ShiftRight: Dij = saturation0and255( ... ). For MMX processors only.

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

Parameters

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

Return Value

Returns 0 for success and -1 for Error.

Remarks

Binds to C-function call in SDL_imageFilter.h.

            int SDL_imageFilterConvolveKernel7x7ShiftRight(unsigned char *Src, unsigned char *Dest, int rows, int columns, signed short *Kernel, unsigned char NRightShift);
            

See Also

SdlGfx Class | Tao.Sdl Namespace