]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/data_operations.h
1 #ifndef DATA_OPERATIONS_H
2 #define DATA_OPERATIONS_H
7 // Max graph trace len: 40000 (bigbuf) * 8 (at 1 bit per sample)
8 #define MAX_GRAPH_TRACE_LEN (40000 * 8 )
10 extern int GraphBuffer
[MAX_GRAPH_TRACE_LEN
];
11 extern int GraphTraceLen
;
12 extern int s_Buff
[MAX_GRAPH_TRACE_LEN
];
15 int autoCorr(const int* in
, int *out
, size_t len
, int window
);
16 int directionalThreshold(const int* in
, int *out
, size_t len
, int8_t up
, int8_t down
);
17 #endif // DATA_OPERATIONS_H