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  

param.h

Go to the documentation of this file.
00001 /*===========================================================================*
00002  * param.h                                                                   *
00003  *                                                                           *
00004  *      reading the parameter file                                           *
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/param.h,v 1.4 2004/04/02 15:12:42 rwcox Exp $
00031  *  $Log: param.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.8  1995/05/02  01:51:08  eyhung
00045  * added VidRateNum for determining frame rate
00046  *
00047  * Revision 1.7  1995/01/19  23:55:10  eyhung
00048  * Changed copyrights
00049  *
00050  * Revision 1.6  1995/01/17  04:47:26  eyhung
00051  * added coding-on-the-fly variable
00052  *
00053  * Revision 1.5  1995/01/16  06:06:58  eyhung
00054  * added yuvConversion global variable
00055  *
00056  * Revision 1.4  1994/12/08  20:13:28  smoot
00057  * Killed linux MAXPATHLEN warning
00058  *
00059  * Revision 1.3  1994/11/12  02:12:54  keving
00060  * nothing
00061  *
00062  * Revision 1.2  1993/07/22  22:24:23  keving
00063  * nothing
00064  *
00065  * Revision 1.1  1993/07/09  00:17:23  keving
00066  * nothing
00067  *
00068  */
00069 
00070 
00071 /*==============*
00072  * HEADER FILES *
00073  *==============*/
00074 
00075 #include "ansi.h"
00076 
00077 
00078 /*===========*
00079  * CONSTANTS *
00080  *===========*/
00081 
00082 #define MAX_MACHINES        256
00083 #ifndef MAXPATHLEN
00084 #define MAXPATHLEN  1024
00085 #endif
00086 
00087 #define ENCODE_FRAMES   0
00088 #define COMBINE_GOPS    1
00089 #define COMBINE_FRAMES  2
00090 
00091 
00092 /*===============================*
00093  * EXTERNAL PROCEDURE prototypes *
00094  *===============================*/
00095 
00096 boolean ReadParamFile _ANSI_ARGS_((char *fileName, int function));
00097 void    GetNthInputFileName _ANSI_ARGS_((char *fileName, int n));
00098 extern void    JM2JPEG _ANSI_ARGS_((void));
00099 
00100 
00101 /*==================*
00102  * GLOBAL VARIABLES *
00103  *==================*/
00104 
00105 extern int numInputFiles;
00106 extern char     outputFileName[256];
00107 extern int      whichGOP;
00108 extern int numMachines;
00109 extern char     machineName[MAX_MACHINES][256];
00110 extern char     userName[MAX_MACHINES][256];
00111 extern char     executable[MAX_MACHINES][1024];
00112 extern char     remoteParamFile[MAX_MACHINES][1024];
00113 extern boolean  remote[MAX_MACHINES];
00114 extern boolean  childProcess;
00115 extern char     currentPath[MAXPATHLEN];
00116 extern char inputConversion[1024];
00117 extern char yuvConversion[256];
00118 extern int  yuvWidth, yuvHeight;
00119 extern int  realWidth, realHeight;
00120 extern char ioConversion[1024];
00121 extern char slaveConversion[1024];
00122 extern FILE *bitRateFile;
00123 extern boolean showBitRatePerFrame;
00124 extern boolean computeMVHist;
00125 extern boolean stdinUsed;
00126 extern const double VidRateNum[9];
 

Powered by Plone

This site conforms to the following standards: