diff options
author | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-06-19 17:24:44 +0200 |
---|---|---|
committer | Matthias Vogelgesang <matthias.vogelgesang@kit.edu> | 2015-06-19 17:24:44 +0200 |
commit | c5a101d6f998b120b1705188c84e7258239ed510 (patch) | |
tree | 8ab0103dbcb12a93936096399c568a8e1e9e9525 | |
parent | 718f024d5b0253ee1309c424c8d121c1ad19e7f1 (diff) | |
download | ufodecode-c5a101d6f998b120b1705188c84e7258239ed510.tar.gz ufodecode-c5a101d6f998b120b1705188c84e7258239ed510.tar.bz2 ufodecode-c5a101d6f998b120b1705188c84e7258239ed510.tar.xz ufodecode-c5a101d6f998b120b1705188c84e7258239ed510.zip |
Add preliminary v6 header struct
-rw-r--r-- | src/ufodecode.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/ufodecode.c b/src/ufodecode.c index a95e3cc..9519489 100644 --- a/src/ufodecode.c +++ b/src/ufodecode.c @@ -49,6 +49,23 @@ typedef struct { } header_v5_t; typedef struct { + uint32_t magic_3; + uint32_t magic_4; + unsigned cmosis_start_address : 16; + unsigned adc_resolution : 4; + unsigned output_mode : 4; + unsigned five_1 : 4; + unsigned n_rows : 16; + unsigned n_skipped_rows : 12; + unsigned five_2 : 4; + unsigned frame_number : 24; + unsigned dataformat_version : 4; + unsigned five_3 : 4; + unsigned timestamp : 28; + unsigned five_4 : 4; +} header_v6_t; + +typedef struct { unsigned int pixel_number : 8; unsigned int row_number : 12; unsigned int pixel_size : 4; |