PCSERV

Section: LAWRENCE BERKELEY LABORATORY (n)
Updated: 1992
Index Return to Main Contents
 

NAME

pcserv - remote procedure call server running on PC server workstation  

SYNOPSIS

pcserv [-r] [-b r g b]  

DESCRIPTION

Serves incoming remote procedure calls (RPC's) to display and optionally record images sent over the network. The Sun RPC package calls the remote ``program'' graphics_dispatch (located in dispatch.c) based on information in the header of the incoming RPC call. Cases in graphics_dispatch correspond to remote procedures. The remote procedure number identifying a particular case is also located in the RPC call header, which is internal to the Sun RPC package. Routines starting with xdr_ decode incoming information from network byte to PC byte order. For more information on how RPC's are implemented on the PC, see Robertson, D. W., W. E. Johnston, D. E. Hall, and Mendel Rosenblum. Video Movie Making Using Remote Procedure Calls and UNIX IPC, LBL-22767, University of California, Lawrence Berkeley Laboratory, Berkeley, CA (1986).

Remote procedure calls made by the client to the PC are used for the following:

(1) requesting server display characteristics (height, width, and color depth).

(2) initializing the associated video recorder.

(3) transmitting an image to the PC, where it is optionally decompressed, displayed in the frame buffer associated with the PC, and optionally recorded on an associated video recorder.

(4) informing the server that the client is finished with it.

The routines in scry/pcserv, scry/pcrpc, and/or scry/exlnrpc must be ftp'd to the PC, and compiled there. Before the client can run, the server must be invoked on the PC.

The components of the PC server workstations are an IBM PC ``compatible'', equipped with an Ethernet board, a frame buffer, and a recording device. Routines are available for a variety of combinations of devices for use for video recording using Scry. Ethernet boards that can be used with the animation workstation to receive incoming Sun RPC's are the Excelan EXOS 205 and 3COM 3C503 boards, which have 4BSD socket libraries provided with them. Frame buffers that can be used with the animation workstation are the TARGA, 16-bit frame buffer (TARGA-16), the TARGA, 8-bit greyscale frame buffer (TARGA M8), and the ATVista frame buffer. Video recorders that can be used are (1) the Panasonic, TQ-2026F videodisk recorder, and (2) the Sony, LVR-5000 videodisk recorder. Routines will be provided in the next revision to allow the use of videotape recorders with an associated DiaQuest, DQ-50P animation controller, Stubs for these routines are located in dq50p.c

To configure the server for the Excelan board, make rpcserv.lib in scry/exlnrpc, link it in when making the server, and use /DEXCELAN while compiling the main server routines. To configure the server for PC-NFS, make rpcserv.lib in scry/nfsrpc.

To configure the server for the TARGA M8 board, compile and link in the files targam8.c and graph8.c. For the TARGA 16 board, use the files targa16.c and graph16.c. For the ATVISTA board, use the files atvista.c and graph32.c.

Compile and link in sony.c if the SONY LVR-5000 is used, and panason.c if the Panasonic is used.

See scry/NOTES.install for further information on installing the Scry server on the PC.  

OPTIONS

-r
record incoming images
-b r g b
set border color for images smaller than the display resolution. r, g, and b should range from 0 to 255.
 

FILES

Contained in scry/pcserv:
Makefile
makes the executable of the server
scrysrv.h
definitions and declarations
start.c
start up server
dispatch.c
remote ``program''
xdrread.c
XDR routines for information sent using software frame buffer approach
pcdisplay.c
display and optionally record image
cccdec.c
CCC and run-length decompression
lzwdec.c
performs Lempel-Ziv decompression.
lzwdec.h
header file for Lempel-Ziv decompression.
targa16.c
TARGA 16 specific routines
graph16.c
16-bit image display routines
targam8.c
TARGA M8 specific routines
graph8.c
8-bit greyscale image display routines
atvista.c
ATVista specific routines
graph32.c
32-bit image display routines
panason.c
Panasonic videodisk driver
sony.c
Sony videodisk driver
 

WARNINGS

If you are using the TARGA boards, you can use the overscan option, but you will have to generate the image taking account of the distortion involved with the overscan option.  

AUTHORS

David Robertson, Fritz Renema, Max Rible, Nicole Texier, and James Huang  

SEE ALSO

scry_client(n), scry_libclient(n), scripter(n)

D. Robertson, W. Johnston, D. Hall, and M. Rosenblum. ``Video Movie Making Using Remote Procedure Calls and UNIX IPC'', LBL-22767, University of California, Lawrence Berkeley Laboratory, Berkeley, CA (1986).

W. Johnston, D. Hall, F. Renema, D. Robertson, ``Principles and Techniques for Low Cost Computer Generated Video Movies,'' LBL-22330, University of California, Lawrence Berkeley Laboratory, Berkeley, CA, 1987.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
WARNINGS
AUTHORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 01:44:48 GMT, December 05, 2024