fg_reset(3) CLIX fg_reset(3)
NAME
fg_reset - Forces the frame grabber to a known state
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int fg_reset(
int fgno );
PARAMETERS
fgno Specifies the frame grabber's location on the Shared Resource (SR)
Bus. The frame grabber in the lowest SR Bus slot will be addressed
by 0.
DESCRIPTION
The fg_reset() function forces the frame grabber into the following state:
⊕ Video output is blanked.
⊕ Frame buffer 0 has display priority over frame buffer 1.
⊕ Both frame buffers are set to FG_DISPLAY mode.
⊕ Input and output video is National Television Systems Committee (NTSC).
⊕ Input and output lookup tables are loaded with a transparent (1:1)
pattern.
⊕ Gen-locking is disabled.
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, either
XIO_FAILURE or FG_NOT_OWNER is returned.
ERRORS
The fg_reset() function fails if one of the following is true:
[XIO_FAILURE]
The system does not contain the driver needed to support this
request.
2/94 - Intergraph Corporation 1
fg_reset(3) CLIX fg_reset(3)
[FG_NOT_PRESENT]
The specified frame grabber is not available.
[FG_NOT_OWNER]
The specified frame grabber was not allocated by the calling
process.
2 Intergraph Corporation - 2/94