Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

parallel.h

Go to the documentation of this file.
00001 /*===========================================================================*
00002  * parallel.h                                                                *
00003  *                                                                           *
00004  *      parallel encoding                                                    *
00005  *                                                                           *
00006  *===========================================================================*/
00007 
00008 /*
00009  * Copyright (c) 1995 The Regents of the University of California.
00010  * All rights reserved.
00011  *
00012  * Permission to use, copy, modify, and distribute this software and its
00013  * documentation for any purpose, without fee, and without written agreement is
00014  * hereby granted, provided that the above copyright notice and the following
00015  * two paragraphs appear in all copies of this software.
00016  *
00017  * IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
00018  * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
00019  * OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
00020  * CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00021  *
00022  * THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
00023  * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
00024  * AND FITNESS FOR A PARTICULAR PURPOSE.  THE SOFTWARE PROVIDED HEREUNDER IS
00025  * ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
00026  * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
00027  */
00028 
00029 /*  
00030  *  $Header: /misc/elrond0/share/cvs/AFNI/src/mpeg_encodedir/headers/parallel.h,v 1.4 2004/04/02 15:12:42 rwcox Exp $
00031  *  $Log: parallel.h,v $
00032  *  Revision 1.4  2004/04/02 15:12:42  rwcox
00033  *  Cput
00034  *
00035  *  Revision 1.3  2003/12/23 13:50:09  rwcox
00036  *  Cput
00037  *
00038  *  Revision 1.2  2003/12/03 14:46:15  rwcox
00039  *  Cput
00040  *
00041  *  Revision 1.1  2001/12/17 18:25:45  rwcox
00042  *  Cadd
00043  *
00044  *  Revision 1.5  1995/08/15 23:43:26  smoot
00045  *  *** empty log message ***
00046  *
00047  *  Revision 1.4  1995/01/19 23:55:08  eyhung
00048  *  Changed copyrights
00049  *
00050  * Revision 1.3  1994/11/12  02:12:53  keving
00051  * nothing
00052  *
00053  * Revision 1.2  1993/07/22  22:24:23  keving
00054  * nothing
00055  *
00056  * Revision 1.1  1993/07/09  00:17:23  keving
00057  * nothing
00058  *
00059  */
00060 
00061 
00062 /*==============*
00063  * HEADER FILES *
00064  *==============*/
00065 
00066 #include "ansi.h"
00067 #include "bitio.h"
00068 #include "frame.h"
00069 
00070 
00071 /*===============================*
00072  * EXTERNAL PROCEDURE prototypes *
00073  *===============================*/
00074 
00075 extern void StartMasterServer _ANSI_ARGS_((int numInputFiles,
00076                                              char *paramFile,
00077                                              char *outputFileName));
00078 extern boolean  NotifyMasterDone _ANSI_ARGS_((char *hostName, int portNum,
00079                                               int machineNumber,
00080                                               int seconds,
00081                                               int *frameStart, int *frameEnd));
00082 extern void     StartIOServer _ANSI_ARGS_((int numInputFiles,
00083                                            char *hostName, int portNum));
00084 extern void     StartCombineServer _ANSI_ARGS_((int numInputFiles,
00085                                                char *outputFileName,
00086                                                char *hostName, int portNum));
00087 extern void     StartDecodeServer _ANSI_ARGS_((int numInputFiles,
00088                                                char *outputFileName,
00089                                                char *hostName, int portNum));
00090 extern void     WaitForOutputFile _ANSI_ARGS_((int number));
00091 extern void     GetRemoteFrame _ANSI_ARGS_((MpegFrame *frame, int frameNumber));
00092 extern void     SendRemoteFrame _ANSI_ARGS_((int frameNumber, BitBucket *bb));
00093 extern void     NoteFrameDone _ANSI_ARGS_((int frameStart, int frameEnd));
00094 extern void     SetIOConvert _ANSI_ARGS_((boolean separate));
00095 void    SetRemoteShell _ANSI_ARGS_((char *shell));
00096 extern void     NotifyDecodeServerReady _ANSI_ARGS_((int id));
00097 extern void     WaitForDecodedFrame _ANSI_ARGS_((int id));
00098 extern void     SendDecodedFrame _ANSI_ARGS_((MpegFrame *frame));
00099 extern void     GetRemoteDecodedRefFrame _ANSI_ARGS_((MpegFrame *frame,
00100                                                       int frameNumber));
00101 extern void     SetParallelPerfect _ANSI_ARGS_((boolean val));
00102 
00103 
00104 /*==================*
00105  * GLOBAL VARIABLES *
00106  *==================*/
00107 
00108 extern int parallelTestFrames;
00109 extern int parallelTimeChunks;
00110 
00111 extern char *IOhostName;
00112 extern int ioPortNumber;
00113 extern int combinePortNumber;
00114 extern int decodePortNumber;
00115 
00116 extern boolean  ioServer;
00117 extern boolean  niceProcesses;
00118 extern boolean  forceIalign;
00119 extern int    machineNumber;
00120 extern boolean remoteIO;
00121 extern boolean  separateConversion;
 

Powered by Plone

This site conforms to the following standards: