Go to the source code of this file.
Defines | |
#define | DECODEHEADERFIELD(packet, fieldName) packet+offsetof(struct EDFPackedHeader,fieldName), sizeof((struct EDFPackedHeader *)0)->fieldName |
#define | DECODECHANNELFIELD(packet, fieldName, whichChannel, totalChannels) packet+totalChannels*offsetof(struct EDFPackedChannelHeader,fieldName) + whichChannel*sizeof(((struct EDFPackedChannelHeader *)0)->fieldName),sizeof((struct EDFPackedChannelHeader *)0)->fieldName |
#define | LOADHFI(m) result->m = EDFUnpackInt(DECODEHEADERFIELD(packet, m)) |
#define | LOADHFD(m) result->m = EDFUnpackDouble(DECODEHEADERFIELD(packet, m)) |
#define | LOADHFS(m) strcpy(result->m, EDFUnpackString(DECODEHEADERFIELD(packet, m))) |
#define | LOADCFI(m) result->m = EDFUnpackInt(DECODECHANNELFIELD(packet, m, whichChannel, totalChannels)) |
#define | LOADCFD(m) result->m = EDFUnpackDouble(DECODECHANNELFIELD(packet, m, whichChannel, totalChannels)) |
#define | LOADCFS(m) strcpy(result->m, EDFUnpackString(DECODECHANNELFIELD(packet, m, whichChannel, totalChannels))) |
#define | STORECFI(m, i) storeEDFInt(DECODECHANNELFIELD(packet, m, whichChannel, totalChannels), i) |
#define | STORECFD(m, d) storeEDFDouble(DECODECHANNELFIELD(packet, m, whichChannel, totalChannels), d) |
#define | STORECFS(m, s) storeEDFString(DECODECHANNELFIELD(packet, m, whichChannel, totalChannels), s) |
#define | STOREHFI(m, i) storeEDFInt(DECODEHEADERFIELD(packet, m), i) |
#define | STOREHFD(m, d) storeEDFDouble(DECODEHEADERFIELD(packet, m), d) |
#define | STOREHFS(m, s) storeEDFString(DECODEHEADERFIELD(packet, m), s) |
|
Definition at line 33 of file edfmacros.h. |
|
Definition at line 30 of file edfmacros.h. |
|
Definition at line 45 of file edfmacros.h. Referenced by EDFDecodeChannelHeader(). |
|
Definition at line 43 of file edfmacros.h. Referenced by EDFDecodeChannelHeader(). |
|
Definition at line 47 of file edfmacros.h. Referenced by EDFDecodeChannelHeader(). |
|
Definition at line 38 of file edfmacros.h. Referenced by EDFDecodeHeaderPreamble(). |
|
Definition at line 36 of file edfmacros.h. Referenced by EDFDecodeHeaderPreamble(). |
|
Definition at line 40 of file edfmacros.h. Referenced by EDFDecodeHeaderPreamble(). |
|
Definition at line 52 of file edfmacros.h. Referenced by EDFEncodePacket(). |
|
Definition at line 50 of file edfmacros.h. Referenced by EDFEncodePacket(). |
|
Definition at line 54 of file edfmacros.h. Referenced by EDFEncodePacket(). |
|
Definition at line 59 of file edfmacros.h. Referenced by EDFEncodePacket(). |
|
Definition at line 57 of file edfmacros.h. Referenced by EDFEncodePacket(). |
|
Definition at line 61 of file edfmacros.h. Referenced by EDFEncodePacket(). |