#include "worgen.h"
FUNCTION c_pxbtan (in, map, out, ns, dtype)
unsigned char *in; unsigned char *map; unsigned char *out; long *ns; long *dtype;
The input array.
The mapping array.
The output array.
The number of samples to be scanned from the buffer.
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
The c_pxbtan() call is used to perform a bitwise AND of an input array with a mapping array to generate an output array.
c_pxbtan() returns
E_SUCC --> successful completion TYPERR --> invalid data type specified