Header | -- | File header, NVTs, type definitions, etc. |
Directory Pointer | -- | a frame containing the file position of the Directory |
Data | -- | usual SDIF data frames |
Directory | -- | the SDIF directory itself, containing the streams, signatures, times, and file positions of all SDIF data frames (do we need to record the number of matrices and matrix types also?) |
Figure 1: Schema of an SDIF file with n appended data blocks with their respective directories.
If it wasn't for the awkward restriction of one frame-type per stream, we could make one 1DIR frame per stream, recording only the frames of this stream.1DIT double {time} 1DIF int32 {frame-type, stream-id} 1DIP intXX {filepos}
IDIR double {time} 1DIR int32 {frame-type, [stream-id,] filepos}
Again, the stream-id info could be taken from the stream of the directory frame.
IDIR int32 {frame-type, [stream-id]} -- one row only 1DIT double {time} -- one row per data frame 1DIR intXX {filepos} -- corresponding rows
This document was translated from LATEX by HEVEA.