Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fg_viw_start(3)



  fg_size(3)                          CLIX                          fg_size(3)



  NAME

    fg_size - Determines the frame grabber window size

  LIBRARY

    Intergraph Device Library (libix.a)

  SYNOPSIS

    #include <sys/xio/xerr.h>

    int fg_size(
      int fgno ,
      int *x ,
      int *y );

  PARAMETERS

    fgno   The frame grabber location on the Shared Resource (SR) Bus.

    x      The number of columns

    y      The number of rows

  DESCRIPTION

    The fg_size() function returns the window size needed to completely
    display the video image.  Currently, two sizes are possible:  482 rows by
    512 columns and 512 rows by 512 columns.

    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.

    The integer pointed to by x will be set to the number of columns, and the
    integer pointed to by y will be set to the number of rows.

  RETURN VALUES

    Upon successful completion, a value of 0 is returned.  Otherwise, one of
    the following failure codes is returned.

  ERRORS

    The fg_size() function will fail 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_size(3)                          CLIX                          fg_size(3)



    [FG_NOT_OWNER]
           The specified frame grabber was not allocated by the calling
           process.

  RELATED INFORMATION

    Functions:  fg_viw_start(3)















































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026