Hdf5 para (#505)

* incorrect dimensions for virtual hdf5 parameter set

* fix for corner case bug in hdf5 virtual parameter dataset when frames caught is not a multiple of framesperfile

* reafctoring for readability and error prone hard numbers
This commit is contained in:
Dhanya Thattil
2022-08-05 09:09:00 +02:00
committed by GitHub
parent 89e293cb5a
commit 7173785b29
4 changed files with 71 additions and 61 deletions

View File

@ -47,6 +47,9 @@ struct image_structure {
// hdf5
#define MAX_CHUNKED_IMAGES (1)
#define DATA_RANK (3)
#define PARA_RANK (1)
#define VDS_PARA_RANK (2)
// parameters to calculate fifo depth
#define SAMPLE_TIME_IN_NS (100000000) // 100ms