Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



  fg_viw_start(3)                     CLIX                     fg_viw_start(3)



  NAME

    fg_viw_start, fg_viw_stop - Starts and stops video in a window

  LIBRARY

    Intergraph Device Library (libix.a)

  SYNOPSIS

    #include <sys/xio/xerr.h>

    int fg_viw_start(
      int fgno ,
      int wno ,
      int x ,
      int y ,
      int mode );

    int fg_viw_stop(
      int fgno );

  PARAMETERS

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

    wno    A window number

    x      The column number

    y      The row number

    mode   A flag specifying the number of raster planes to display

  DESCRIPTION

    The fg_viw_start() function forces the frame grabber into a double-
    buffered sequence of storing frames coordinated with the Integrated Frame
    Buffer (IFB) graphics processor displaying the stored frames.  The wno
    parameter is the window in which the captured video will be displayed.
    The upper-left corner of the video image will be displayed at the window-
    relative offset (x,y).  If mode is zero, the graphics processor will
    display 8 raster planes.  If mode is nonzero, 9 planes will be displayed.
    Video will continue to be displayed until stopped by fg_viw_stop().

    The fgno parameter specifies the frame grabber location on the Shared
    Resource (SR) Bus.  The frame grabber which resides in the lowest SR Bus
    slot will be addressed by 0.

  CAUTIONS




  2/94 - Intergraph Corporation                                              1






  fg_viw_start(3)                     CLIX                     fg_viw_start(3)



    No other frame grabber commands should be called between fg_viw_start()
    and fg_viw_stop().

  RETURN VALUES

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

  ERRORS

    The fg_viw_start() and fg_viw_stop() will fail if one of the following is
    true:

    [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.

    [FG_INVALID_WINDOW]
           The value of wno references a nonexistent window.

    [FG_BUSY]
           A frame grabber is already running in this mode.




























  2                                              Intergraph Corporation - 2/94




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