fg_video_in(3) CLIX fg_video_in(3)
NAME
fg_video_in, fg_video_out - Select the video signal types for I/O
LIBRARY
Intergraph Device Library (libix.a)
SYNOPSIS
#include <sys/xio/xerr.h>
int fg_video_in(
int fgno ,
int mode );
int fg_video_out(
int fgno ,
int mode );
PARAMETERS
fgno The frame grabber location on the Shared Resource (SR) Bus.
mode An integer specifying the type of input to digitize
DESCRIPTION
The fg_video_in() function selects the video signal type for the frame
grabber to digitize. If mode is zero, the Red Green Blue (RGB) video
input is digitized. If mode is nonzero, the National Television Systems
Committee (NTSC) video input is digitized.
The fg_video_out() function selects the video signal type generated by the
frame grabber. If mode is zero, an RGB video signal is generated. If
mode is nonzero, an NTSC video signal is generated.
The fgno parameter specifies the frame grabber location on the Shared
Resource (SR) Bus. The frame grabber in the lowest SR Bus slot will be
addressed by 0.
RETURN VALUES
Upon successful completion, a value of 0 is returned. Otherwise, one of
the following failure codes is returned.
ERRORS
The fg_video_in() and fg_video_out() functions will fail if one of the
following is true:
2/94 - Intergraph Corporation 1
fg_video_in(3) CLIX fg_video_in(3)
[XIO_FAILURE]
The system does not contain the driver needed to support this
request.
[FG_NOT_OWNER]
The specified frame grabber was not allocated by the calling
process.
2 Intergraph Corporation - 2/94