freeMXF.org
https://freemxf.org:80/forum/

Numbering of Slice and PosTable entries in index tables
https://freemxf.org:80/forum/viewtopic.php?f=4&t=12
Page 1 of 1

Author:  Board Admin [ Sun Apr 18, 2004 3:08 pm ]
Post subject:  Numbering of Slice and PosTable entries in index tables

There is great scope for confusion about the correct values for various index table properties related to slices and the PosTable.

SliceCount is actually the count of the entries in the SliceOffset array in each entry in the IndexEntryArray and this is one less than the actual number of slices indexed because the first slice (slice 0) always starts at StreamOffset and so is not included in SliceOffset. So, SliceCount is number of slices minus one

NSL is simply a shorthand for SliceCount

PosTableCount is the count of entries in the PosTable array in each entry in the IndexEntryArray - NOT the number of PosTable entries minus one - despite this appearing in some versions of the documentation

NPE is simply a shorthand for PosTableCount

The first entry in the SliceOffset array relates to the second slice (slice 1) and so should be referred to as entry 1 (confusing to C and C++ programmers). This is because the first slice (slice 0) always starts at the position indicated by StreamOffset

The first entry in the PosTable array relates to the element whose PosTableIndex is 1 and so should be referred to as entry 1 (again confusing to C and C++ programmers). This is because a PosTableIndex of zero means there is no temporal offset

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/