c_pxbxor - Performs a bitwise exclusive OR of two input arrays

SYNTAX

#include "worgen.h"

FUNCTION c_pxbxor (in, map, out, ns, dtype)

     unsigned char          *in;
     unsigned char          *map;
     unsigned char          *out;
     long                   *ns;
     long                   *dtype;

PARAMETERS

in (input, 'dtype')

The input array.

map (input, 'dtype')

The mapping array.

out (output, 'dtype')

The output array.

ns (input, integer)

The number of samples to be scanned from the buffer.

dtype (input, integer)

An integer value that represents the type of data in the input and output arrays. Legal values include:

     = EBYTE(1):     unsigned byte data
     = EWORD(2):     signed two byte data
     = ELONG(3):     signed four byte data
     = EREAL(4):     four byte floating point data

DESCRIPTION

The c_pxbxor() call is used to perform a bitwise exlusive OR of an input array with a mapping array to generate an output array.

RETURN VALUE

c_pxbxor() returns

     E_SUCC -->  successful completion
     TYPERR -->  invalid data type specified