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.c File Reference

#include "all.h"
#include "mtypes.h"
#include "mpeg.h"
#include "search.h"
#include "prototypes.h"
#include "parallel.h"
#include "param.h"
#include "readframe.h"
#include "fsize.h"
#include "frames.h"
#include "jpeg.h"
#include <string.h>
#include <ctype.h>
#include "rate.h"
#include "opts.h"
#include <stdio.h>

Go to the source code of this file.


Data Structures

struct  InputFileEntryStruct

Defines

#define INPUT_ENTRY_BLOCK_SIZE   128
#define FIRST_OPTION   0
#define OPTION_GOP   0
#define OPTION_PATTERN   1
#define OPTION_PIXEL   2
#define OPTION_PQSCALE   3
#define OPTION_OUTPUT   4
#define OPTION_RANGE   5
#define OPTION_PSEARCH_ALG   6
#define OPTION_IQSCALE   7
#define OPTION_INPUT_DIR   8
#define OPTION_INPUT_CONVERT   9
#define OPTION_INPUT   10
#define OPTION_BQSCALE   11
#define OPTION_BASE_FORMAT   12
#define OPTION_SPF   13
#define OPTION_BSEARCH_ALG   14
#define OPTION_REF_FRAME   15
#define LAST_OPTION   15
#define OPTION_RESIZE   16
#define OPTION_IO_CONVERT   17
#define OPTION_SLAVE_CONVERT   18
#define OPTION_IQTABLE   19
#define OPTION_NIQTABLE   20
#define OPTION_FRAME_RATE   21
#define OPTION_ASPECT_RATIO   22
#define OPTION_YUV_SIZE   23
#define OPTION_SPECIFICS   24
#define OPTION_DEFS_SPECIFICS   25
#define OPTION_BUFFER_SIZE   26
#define OPTION_BIT_RATE   27
#define OPTION_USER_DATA   28
#define OPTION_YUV_FORMAT   29
#define OPTION_GAMMA   30
#define OPTION_PARALLEL   31
#define NUM_OPTIONS   31

Typedefs

typedef InputFileEntryStruct InputFileEntry

Functions

void ReadInputFileNames _ANSI_ARGS_ ((FILE *fpointer, char *endInput))
void ReadMachineNames _ANSI_ARGS_ ((FILE *fpointer))
int GetAspectRatio _ANSI_ARGS_ ((char *p))
boolean ReadParamFile (fileName, function) char *fileName

Variables

InputFileEntry ** inputFileEntries
int numInputFileEntries = 0
int maxInputFileEntries
char currentPath [MAXPATHLEN]
char currentGOPPath [MAXPATHLEN]
char currentFramePath [MAXPATHLEN]
char outputFileName [256]
int outputWidth
int outputHeight
int numInputFiles = 0
char inputConversion [1024]
char ioConversion [1024]
char slaveConversion [1024]
char yuvConversion [256]
char specificsFile [256]
char specificsDefines [1024] = ""
boolean GammaCorrection = FALSE
float GammaValue
unsigned char userDataFileName [256] = {0}
boolean specificsOn = FALSE
boolean optionSeen [NUM_OPTIONS+1]
int numMachines
char machineName [MAX_MACHINES][256]
char userName [MAX_MACHINES][256]
char executable [MAX_MACHINES][1024]
char remoteParamFile [MAX_MACHINES][1024]
boolean remote [MAX_MACHINES]
boolean stdinUsed = FALSE
int mult_seq_headers = 0
int function
int n
char * endInput

Define Documentation

#define FIRST_OPTION   0
 

Definition at line 203 of file param.c.

#define INPUT_ENTRY_BLOCK_SIZE   128
 

Definition at line 201 of file param.c.

#define LAST_OPTION   15
 

Definition at line 220 of file param.c.

#define NUM_OPTIONS   31
 

Definition at line 240 of file param.c.

#define OPTION_ASPECT_RATIO   22
 

Definition at line 229 of file param.c.

#define OPTION_BASE_FORMAT   12
 

Definition at line 216 of file param.c.

#define OPTION_BIT_RATE   27
 

Definition at line 234 of file param.c.

#define OPTION_BQSCALE   11
 

Definition at line 215 of file param.c.

#define OPTION_BSEARCH_ALG   14
 

Definition at line 218 of file param.c.

#define OPTION_BUFFER_SIZE   26
 

Definition at line 233 of file param.c.

#define OPTION_DEFS_SPECIFICS   25
 

Definition at line 232 of file param.c.

#define OPTION_FRAME_RATE   21
 

Definition at line 228 of file param.c.

#define OPTION_GAMMA   30
 

Definition at line 237 of file param.c.

#define OPTION_GOP   0
 

Definition at line 204 of file param.c.

#define OPTION_INPUT   10
 

Definition at line 214 of file param.c.

#define OPTION_INPUT_CONVERT   9
 

Definition at line 213 of file param.c.

#define OPTION_INPUT_DIR   8
 

Definition at line 212 of file param.c.

#define OPTION_IO_CONVERT   17
 

Definition at line 224 of file param.c.

#define OPTION_IQSCALE   7
 

Definition at line 211 of file param.c.

#define OPTION_IQTABLE   19
 

Definition at line 226 of file param.c.

#define OPTION_NIQTABLE   20
 

Definition at line 227 of file param.c.

#define OPTION_OUTPUT   4
 

Definition at line 208 of file param.c.

#define OPTION_PARALLEL   31
 

Definition at line 238 of file param.c.

#define OPTION_PATTERN   1
 

Definition at line 205 of file param.c.

#define OPTION_PIXEL   2
 

Definition at line 206 of file param.c.

#define OPTION_PQSCALE   3
 

Definition at line 207 of file param.c.

#define OPTION_PSEARCH_ALG   6
 

Definition at line 210 of file param.c.

#define OPTION_RANGE   5
 

Definition at line 209 of file param.c.

#define OPTION_REF_FRAME   15
 

Definition at line 219 of file param.c.

#define OPTION_RESIZE   16
 

Definition at line 223 of file param.c.

#define OPTION_SLAVE_CONVERT   18
 

Definition at line 225 of file param.c.

#define OPTION_SPECIFICS   24
 

Definition at line 231 of file param.c.

#define OPTION_SPF   13
 

Definition at line 217 of file param.c.

#define OPTION_USER_DATA   28
 

Definition at line 235 of file param.c.

#define OPTION_YUV_FORMAT   29
 

Definition at line 236 of file param.c.

#define OPTION_YUV_SIZE   23
 

Definition at line 230 of file param.c.


Typedef Documentation

typedef struct InputFileEntryStruct InputFileEntry
 


Function Documentation

int GetFrameRate _ANSI_ARGS_ (char *p   [static]
 

void ReadMachineNames _ANSI_ARGS_ (FILE *fpointer   [static]
 

void ReadInputFileNames _ANSI_ARGS_ (FILE *fpointer, char *endInput   [static]
 

boolean ReadParamFile fileName   ,
function   
 


Variable Documentation

char currentFramePath[MAXPATHLEN]
 

Definition at line 274 of file param.c.

char currentGOPPath[MAXPATHLEN]
 

Definition at line 273 of file param.c.

char currentPath[MAXPATHLEN]
 

Definition at line 272 of file param.c.

char* endInput
 

Definition at line 978 of file param.c.

char executable[MAX_MACHINES][1024]
 

Definition at line 291 of file param.c.

int function
 

Definition at line 329 of file param.c.

boolean GammaCorrection = FALSE
 

Definition at line 283 of file param.c.

float GammaValue
 

Definition at line 284 of file param.c.

char inputConversion[1024]
 

Definition at line 278 of file param.c.

InputFileEntry** inputFileEntries [static]
 

Definition at line 263 of file param.c.

char ioConversion[1024]
 

Definition at line 279 of file param.c.

char machineName[MAX_MACHINES][256]
 

Definition at line 289 of file param.c.

int maxInputFileEntries [static]
 

Definition at line 265 of file param.c.

int mult_seq_headers = 0
 

Definition at line 295 of file param.c.

int n
 

Definition at line 846 of file param.c.

int numInputFileEntries = 0 [static]
 

Definition at line 264 of file param.c.

int numInputFiles = 0
 

Definition at line 277 of file param.c.

int numMachines
 

Definition at line 288 of file param.c.

boolean optionSeen[NUM_OPTIONS+1]
 

Definition at line 287 of file param.c.

char outputFileName[256]
 

include <malloc.h> *

Definition at line 275 of file param.c.

Referenced by Tune_Init().

int outputHeight
 

Definition at line 276 of file param.c.

int outputWidth
 

Definition at line 276 of file param.c.

boolean remote[MAX_MACHINES]
 

Definition at line 293 of file param.c.

char remoteParamFile[MAX_MACHINES][1024]
 

Definition at line 292 of file param.c.

char slaveConversion[1024]
 

Definition at line 280 of file param.c.

char specificsDefines[1024] = ""
 

Definition at line 282 of file param.c.

Referenced by Specifics_Init().

char specificsFile[256]
 

Definition at line 282 of file param.c.

Referenced by Specifics_Init().

boolean specificsOn = FALSE
 

Definition at line 286 of file param.c.

boolean stdinUsed = FALSE
 

Definition at line 294 of file param.c.

unsigned char userDataFileName[256] = {0}
 

Definition at line 285 of file param.c.

char userName[MAX_MACHINES][256]
 

Definition at line 290 of file param.c.

char yuvConversion[256]
 

Definition at line 281 of file param.c.

 

Powered by Plone

This site conforms to the following standards: