MMACH (lmmach) functions
LIBRARY ROUTINE
lvframe - Builds a window.
LIBRARY CALL
int
lvwind(xvimage *img1, long unsigned int border)
INPUT
none
OUTPUT
none
RETURN VALUE
TRUE (1) on success, FALSE (0) on failure
DESCRIPTION
lvwind
will build a window of the dimensions of the input image.
img1 is an input image; img2 is the output image.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
lvwind
can be defined for all data types supported by Khoros, but at the moment it has been implemented just for the bit and unsigned char types.
Due to the simultaneous processing of 32 pixels in BIT images, input images of the BIT data type must be converted to a special data structure before the library is called. This can be accomplished by using the format routine. After the library call, the unformat routine can convert the image back to the BIT data type.
MODIFICATION
none
FILES
$MMACH/objects/library/lmmach/src/lvframe.c
SEE ALSO
lmmach(3)
COPYRIGHT
Copyright (C) 1993-1997 Junior Barrera, Roberto Lotufo. All rights reserved.