| start |
end |
size |
description |
| 0x00 |
0x03 |
4 |
Magic Bytes, 0x54485000 ('THP0') |
| 0x04 |
0x07 |
4 |
Version |
| |
|
|
| 0x00010000 |
v1.0 |
| 0x00011000 |
v1.1 |
|
| 0x08 |
0x0b |
4 |
maxBufferSize - maximal buffer size needed for one complete frame
(header + video + audio) |
| 0x0c |
0x0f |
4 |
maxAudioSamples - != 0 if sound is stored in file, maximal number
of samples in one frame. |
| 0x10 |
0x13 |
4 |
FPS (float value) |
| |
|
|
|
| 0x14 |
0x17 |
4 |
numFrames - number of frames in the thp file |
| 0x18 |
0x1b |
4 |
firstFrameSize - size of first frame (header + video + audio) |
| 0x1c |
0x1f |
4 |
dataSize - size of all frames (not counting the thp header structures) |
| 0x20 |
0x23 |
4 |
componentDataOffset - ThpComponents stored here (see below) |
| 0x24 |
0x27 |
4 |
offsetsDataOffset - if != 0, offset to table with offsets of all frames? |
| 0x28 |
0x2b |
4 |
firstFrameOffset - offset to first frame's data |
| 0x2c |
0x2f |
4 |
lastFrameOffset - offset to last frame's data |