lzma_index_group_s Struct Reference

Data Fields

lzma_index_groupprev
 Previous group.
lzma_index_groupnext
 Next group.
size_t last
 Index of the last Record in this group.
lzma_vli unpadded_sums [INDEX_GROUP_SIZE]
lzma_vli uncompressed_sums [INDEX_GROUP_SIZE]
bool paddings [INDEX_GROUP_SIZE]
 True if the Record is padding.

Field Documentation

Previous group.

Referenced by index_append_real(), LZMA_API(), and previous_group().

Next group.

Referenced by index_append_real(), LZMA_API(), and next_group().

Index of the last Record in this group.

Referenced by index_append_real(), LZMA_API(), next_group(), and previous_group().

Unpadded Size fields as special cumulative sum relative to the beginning of the group. It's special in sense that the previous value is rounded up the next multiple of four with before calculating the new value. The total encoded size of the Blocks in the group is unpadded_sums[last] rounded up to the next multiple of four.

For example, if the Unpadded Sizes are 39, 57, and 81, the stored values are 39, 97 (40 + 57), and 181 (100 + 181). The total encoded size of these Blocks is 184.

This encoding is nice from point of view of lzma_index_locate().

Referenced by index_append_real(), LZMA_API(), next_group(), previous_group(), and set_info().

Uncompressed Size fields as cumulative sum relative to the beginning of the group. The uncompressed size of the group is uncompressed_sums[last].

Referenced by index_append_real(), LZMA_API(), next_group(), previous_group(), and set_info().

bool lzma_index_group_s::paddings[INDEX_GROUP_SIZE]

True if the Record is padding.

Referenced by index_append_real(), and LZMA_API().


The documentation for this struct was generated from the following file:

Generated on Tue Oct 6 14:02:23 2009 for XZ Utils by  doxygen 1.6.1