Doxygen Source Code Documentation
Main Page Alphabetical List Data Structures File List Data Fields Globals Search
noparallel.c
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085 #include "all.h"
00086 #include "mtypes.h"
00087 #include "parallel.h"
00088 #include "frame.h"
00089 #ifdef LINUX
00090 #include <time.h>
00091 #endif
00092 #if defined(sco)
00093 #include <time.h>
00094 #endif
00095
00096
00097
00098
00099
00100
00101 int parallelTestFrames = 10;
00102 int parallelTimeChunks = 60;
00103 char *IOhostName;
00104 int ioPortNumber;
00105 int combinePortNumber;
00106 int decodePortNumber;
00107 boolean niceProcesses = FALSE;
00108 boolean forceIalign = FALSE;
00109 int machineNumber = -1;
00110 boolean remoteIO = FALSE;
00111 boolean separateConversion;
00112 time_t IOtime = 0;
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124 void
00125 SetIOConvert(separate)
00126 boolean separate;
00127 {
00128
00129 }
00130
00131
00132 void
00133 SetParallelPerfect()
00134 {
00135
00136 }
00137
00138
00139 void
00140 SetRemoteShell(shell)
00141 char *shell;
00142 {
00143
00144 }
00145
00146
00147
00148
00149 void
00150 StartIOServer(numInputFiles, parallelHostName, portNum)
00151 int numInputFiles;
00152 char *parallelHostName;
00153 int portNum;
00154 {
00155 fprintf(stdout, "ERROR: (StartIOServer) This machine can NOT run parallel version\n");
00156 exit(1);
00157 }
00158
00159
00160 void
00161 StartCombineServer(numInputFiles, outputFileName, parallelHostName, portNum)
00162 int numInputFiles;
00163 char *outputFileName;
00164 char *parallelHostName;
00165 int portNum;
00166 {
00167 fprintf(stdout, "ERROR: (StartCombineServer) This machine can NOT run parallel version\n");
00168 exit(1);
00169 }
00170
00171
00172 void
00173 NoteFrameDone(frameStart, frameEnd)
00174 int frameStart;
00175 int frameEnd;
00176 {
00177 fprintf(stdout, "ERROR: (NoteFrameDone) This machine can NOT run parallel version\n");
00178 exit(1);
00179 }
00180
00181
00182
00183 void
00184 SendRemoteFrame(frameNumber, bb)
00185 int frameNumber;
00186 BitBucket *bb;
00187 {
00188 fprintf(stdout, "ERROR: (SendRemoteFrame) This machine can NOT run parallel version\n");
00189 exit(1);
00190 }
00191
00192
00193
00194
00195 void
00196 GetRemoteFrame(frame, frameNumber)
00197 MpegFrame *frame;
00198 int frameNumber;
00199 {
00200 fprintf(stdout, "ERROR: (GetRemoteFrame) This machine can NOT run parallel version\n");
00201 exit(1);
00202 }
00203
00204
00205 void
00206 WaitForOutputFile(number)
00207 int number;
00208 {
00209 fprintf(stdout, "ERROR: (WaitForOutputFile) This machine can NOT run parallel version\n");
00210 exit(1);
00211 }
00212
00213
00214
00215
00216
00217
00218
00219
00220
00221 void
00222 StartMasterServer(numInputFiles, paramFile, outputFileName)
00223 int numInputFiles;
00224 char *paramFile;
00225 char *outputFileName;
00226 {
00227 fprintf(stdout, "ERROR: (StartMasterServer) This machine can NOT run parallel version\n");
00228 exit(1);
00229 }
00230
00231
00232
00233
00234 boolean
00235 NotifyMasterDone(hostName, portNum, machineNumber, seconds, frameStart,
00236 frameEnd)
00237 char *hostName;
00238 int portNum;
00239 int machineNumber;
00240 int seconds;
00241 int *frameStart;
00242 int *frameEnd;
00243 {
00244 fprintf(stdout, "ERROR: (NotifyMasterDone) This machine can NOT run parallel version\n");
00245 exit(1);
00246 }
00247
00248
00249 void
00250 StartDecodeServer(numInputFiles, decodeFileName, parallelHostName, portNum)
00251 int numInputFiles;
00252 char *decodeFileName;
00253 char *parallelHostName;
00254 int portNum;
00255 {
00256 fprintf(stdout, "ERROR: (StartDecodeServer) This machine can NOT run parallel version\n");
00257 exit(1);
00258 }
00259
00260
00261 void
00262 NotifyDecodeServerReady(id)
00263 int id;
00264 {
00265 fprintf(stdout, "ERROR: (NotifyDecodeServerReady) This machine can NOT run parallel version\n");
00266 exit(1);
00267 }
00268
00269
00270 void
00271 WaitForDecodedFrame(id)
00272 int id;
00273 {
00274 fprintf(stdout, "ERROR: (WaitForDecodedFrame) This machine can NOT run parallel version\n");
00275 exit(1);
00276 }
00277
00278 void
00279 SendDecodedFrame(frame)
00280 MpegFrame *frame;
00281 {
00282 fprintf(stdout, "ERROR: (SendDecodedFrame) This machine can NOT run parallel version\n");
00283 exit(1);
00284 }
00285
00286 void
00287 GetRemoteDecodedRefFrame(frame, frameNumber)
00288 MpegFrame *frame;
00289 int frameNumber;
00290 {
00291 fprintf(stdout, "ERROR: (GetRemoteDecodedRefFrame) This machine can NOT run parallel version\n");
00292 exit(1);
00293 }