92#if defined(__linux) || defined(__Lynx__) || defined(__APPLE__)
98typedef unsigned short uint16_t;
101typedef __int32 int32_t;
102typedef __int16 int16_t;
103typedef unsigned __int16 uint16_t;
123typedef unsigned char fiff_byte_t;
124typedef char fiff_char_t;
125typedef qint16 fiff_short_t;
126typedef quint16 fiff_ushort_t;
127typedef qint32 fiff_int_t;
128typedef quint32 fiff_uint_t;
129typedef qint64 fiff_long_t;
130typedef quint64 fiff_ulong_t;
131typedef float fiff_float_t;
132typedef double fiff_double_t;
133typedef quint16 fiff_dau_pack13_t;
134typedef quint16 fiff_dau_pack14_t;
135typedef qint16 fiff_dau_pack16_t;
136typedef qint64 fiff_julian_t;
137typedef char fiff_data_t;
173#define FIFFV_NEXT_SEQ 0
174#define FIFFV_NEXT_NONE -1
176#define FIFFC_TAG_INFO_SIZE (sizeof(fiffTagRec) - sizeof(fiff_data_t *))
177#define FIFFC_DATA_OFFSET FIFFC_TAG_INFO_SIZE
178#define FIFFM_TAG_INFO(x) &((x)->kind)
222#define FIFFV_MAGN_CH 1
224#define FIFFV_MEG_CH FIFFV_MAGN_CH
225#define FIFFV_MCG_CH 201
226#define FIFFV_EEG_CH FIFFV_EL_CH
227#define FIFFV_STIM_CH 3
229#define FIFFV_EOG_CH 202
230#define FIFFV_EMG_CH 302
231#define FIFFV_ECG_CH 402
232#define FIFFV_MISC_CH 502
233#define FIFFV_RESP_CH 602
237#define FIFFV_QUAT_0 700
238#define FIFFV_QUAT_1 701
239#define FIFFV_QUAT_2 702
240#define FIFFV_QUAT_3 703
241#define FIFFV_QUAT_4 704
242#define FIFFV_QUAT_5 705
243#define FIFFV_QUAT_6 706
244#define FIFFV_HPI_G 707
245#define FIFFV_HPI_ERR 708
246#define FIFFV_HPI_MOV 709
248#define FIFFM_QUAT_CH(X) ((X >= FIFFV_QUAT_0) && (X <= FIFFV_HPI_MOV))
250#define FIFFV_DIPOLE_WAVE_CH 1000
251#define FIFFV_GOODNESS_FIT_CH 1001
271#define FIFFV_COIL_NONE 0
272#define FIFFV_COIL_EEG 1
273#define FIFFV_COIL_NM_122 2
274#define FIFFV_COIL_NM_24 3
275#define FIFFV_COIL_NM_MCG_AXIAL 4
276#define FIFFV_COIL_EEG_BIPOLAR 5
278#define FIFFV_COIL_DIPOLE 200
281#define FIFFV_COIL_MCG_42 1000
283#define FIFFV_COIL_POINT_MAGNETOMETER 2000
284#define FIFFV_COIL_AXIAL_GRAD_5CM 2001
286#define FIFFV_COIL_VV_PLANAR_W 3011
287#define FIFFV_COIL_VV_PLANAR_T1 3012
288#define FIFFV_COIL_VV_PLANAR_T2 3013
289#define FIFFV_COIL_VV_PLANAR_T3 3014
290#define FIFFV_COIL_VV_MAG_W 3021
291#define FIFFV_COIL_VV_MAG_T1 3022
292#define FIFFV_COIL_VV_MAG_T2 3023
293#define FIFFV_COIL_VV_MAG_T3 3024
295#define FIFFV_COIL_MAGNES_MAG 4001
296#define FIFFV_COIL_MAGNES_GRAD 4002
297#define FIFFV_COIL_CTF_GRAD 5001
299#define FIFFM_IS_VV_COIL(c) ((c)/1000 == 3)
318#define FIFFM_CHPOS(x) &((x)->chpos)
324#define FIFF_UNIT_NONE -1
329#define FIFF_UNIT_KG 2
330#define FIFF_UNIT_SEC 3
333#define FIFF_UNIT_MOL 6
337#define FIFF_UNIT_RAD 7
338#define FIFF_UNIT_SR 8
342#define FIFF_UNIT_CD 9
346#define FIFF_UNIT_HZ 101
347#define FIFF_UNIT_N 102
348#define FIFF_UNIT_PA 103
349#define FIFF_UNIT_J 104
350#define FIFF_UNIT_W 105
351#define FIFF_UNIT_C 106
352#define FIFF_UNIT_V 107
353#define FIFF_UNIT_F 108
354#define FIFF_UNIT_OHM 109
355#define FIFF_UNIT_MHO 110
356#define FIFF_UNIT_WB 111
357#define FIFF_UNIT_T 112
358#define FIFF_UNIT_H 113
359#define FIFF_UNIT_CEL 114
360#define FIFF_UNIT_LM 115
361#define FIFF_UNIT_LX 116
365#define FIFF_UNIT_T_M 201
366#define FIFF_UNIT_AM 202
370#define FIFF_UNITM_E 18
371#define FIFF_UNITM_PET 15
372#define FIFF_UNITM_T 12
373#define FIFF_UNITM_MEG 6
374#define FIFF_UNITM_K 3
375#define FIFF_UNITM_H 2
376#define FIFF_UNITM_DA 1
377#define FIFF_UNITM_NONE 0
378#define FIFF_UNITM_D -1
379#define FIFF_UNITM_C -2
380#define FIFF_UNITM_M -3
381#define FIFF_UNITM_MU -6
382#define FIFF_UNITM_N -9
383#define FIFF_UNITM_P -12
384#define FIFF_UNITM_F -15
385#define FIFF_UNITM_A -18
417#define FIFFV_POINT_CARDINAL 1
418#define FIFFV_POINT_HPI 2
419#define FIFFV_POINT_EEG 3
420#define FIFFV_POINT_ECG FIFF_POINT_EEG
421#define FIFFV_POINT_EXTRA 4
423#define FIFFV_POINT_LPA 1
424#define FIFFV_POINT_NASION 2
425#define FIFFV_POINT_RPA 3
430#define FIFFV_POINT_CHEST_LEFT 1
431#define FIFFV_POINT_CHEST_STERNUM 2
432#define FIFFV_POINT_CHEST_RIGHT 3
447#define FIFFV_COORD_UNKNOWN 0
448#define FIFFV_COORD_DEVICE 1
449#define FIFFV_COORD_ISOTRAK 2
450#define FIFFV_COORD_HPI 3
451#define FIFFV_COORD_HEAD 4
452#define FIFFV_COORD_MRI 5
453#define FIFFV_COORD_MRI_SLICE 6
454#define FIFFV_COORD_MRI_DISPLAY 7
455#define FIFFV_COORD_XRAY FIFF_COORD_MRI
456#define FIFFV_COORD_XRAY_SLICE FIFF_COORD_MRI_SLICE
457#define FIFFV_COORD_CT FIFF_COORD_MRI
458#define FIFFV_COORD_CT_SLICE FIFF_COORD_MRI_SLICE
460#define FIFFV_COORD_DICOM_DEVICE 8
461#define FIFFV_COORD_IMAGING_DEVICE 9
463#define FIFFV_COORD_TORSO 100
466#define FIFFV_NO_MOVE 0
470#define FIFFV_ARTEF_MAX 100
471#define FIFFV_ARTEF_NONE -1
472#define FIFFV_ARTEF_KEEP 0
473#define FIFFV_ARTEF_JUMP 1
474#define FIFFV_ARTEF_NOJUMP 2
487#define FIFFV_LAYER_BRAIN 1
488#define FIFFV_LAYER_CSF 2
489#define FIFFV_LAYER_SKULL 3
490#define FIFFV_LAYER_HEAD 4
492#define FIFFV_XFIT_MAP_SURF_SENSORS 0
493#define FIFFV_XFIT_MAP_SURF_HEAD 1
494#define FIFFV_XFIT_MAP_SURF_SPHERE 2
Outdated STUFF!!!!!!!!!!!!!!!!!!!!! ToDo Remove.
ToDo Old implementation use new fiff_id.h instead.
ToDo Old implementation use new fiff_dir_entry.h instead.
fiff_float_t invrot[3][3]
fiffEventBitsRec event_bits