Closed rafal-c closed 3 years ago
Consider matio test file matio/test/datasets/matio_test_cases_compressed_hdf_le.mat. h5dump for this file shows
matio/test/datasets/matio_test_cases_compressed_hdf_le.mat
h5dump
DATASET "var70" { ... FILTERS { COMPRESSION DEFLATE { LEVEL 3 } } ...
meaning that the variable is compressed, but if you open this variable with Mat_VarReadInfo the compression field in the matvar structure is set to MAT_COMPRESSION_NONE.
Mat_VarReadInfo
compression
matvar
MAT_COMPRESSION_NONE
Resolved by ffaf07e by using var70 of matio_test_cases_compressed_hdf_le.mat as test.
Consider matio test file
matio/test/datasets/matio_test_cases_compressed_hdf_le.mat
.h5dump
for this file showsmeaning that the variable is compressed, but if you open this variable with
Mat_VarReadInfo
thecompression
field in thematvar
structure is set toMAT_COMPRESSION_NONE
.