#include <stdlib.h>#include <stdio.h>#include <time.h>#include <ctype.h>#include <math.h>#include <errno.h>#include <unistd.h>#include <string.h>#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include <dirent.h>#include <signal.h>#include <sys/time.h>#include <sys/resource.h>#include "common.h"
Go to the source code of this file.
Functions | |
| void | ReadSize (char *fsize) |
| read the file size.siz | |
| void | CutDataFile (char *fdata) |
| read the data file and dump the usefull part | |
| int | UpdateIndex (struct IndexType *ndx, char *index) |
| fill the index structure | |
| void | ReadIndex (char *fndx) |
| read the index file | |
Variables | |
| int32_t | lastDataOffset = -1 |
| int32_t | lastIndexOffset = 1<<31 |
| void CutDataFile | ( | char * | fdata | ) |
read the data file and dump the usefull part
| fdata | the data.ndx file |
Definition at line 106 of file titan1.c.
References lastDataOffset, PrintError, and PrintLog.
Referenced by ParseOptions().
| void ReadIndex | ( | char * | fndx | ) |
read the index file
| fndx | the data.ndx file |
Definition at line 242 of file titan1.c.
References lastIndexOffset, ndx2cache, ndx2tl, PrintError, and UpdateIndex().
Referenced by ParseOptions().
| void ReadSize | ( | char * | fsize | ) |
read the file size.siz
| fsize | the size.siz file |
Definition at line 68 of file titan1.c.
References lastDataOffset, lastIndexOffset, PrintError, and PrintLog.
Referenced by ParseOptions().
| int UpdateIndex | ( | struct IndexType * | ndx, | |
| char * | index | |||
| ) |
fill the index structure
| ndx | the index structure | |
| index | the pointer to the binary data |
Definition at line 141 of file titan1.c.
References frame2i24, frame2i32, frame2i32_64, PrintLog, and StrTimeNS().
Referenced by ReadIndex().
| int32_t lastDataOffset = -1 |
| int32_t lastIndexOffset = 1<<31 |
1.5.6