X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/146c201cbe67cf3967cb497b3d67fb579c3ccb0e..0d704c7f5e1ddcf2a4e18f9f5759e6779a30119a:/client/proxgui.h diff --git a/client/proxgui.h b/client/proxgui.h index 6fcf4d0a..0d50a4f6 100644 --- a/client/proxgui.h +++ b/client/proxgui.h @@ -7,6 +7,7 @@ //----------------------------------------------------------------------------- // GUI functions //----------------------------------------------------------------------------- +#include #ifdef __cplusplus extern "C" { @@ -19,14 +20,21 @@ void MainGraphics(void); void InitGraphics(int argc, char **argv); void ExitGraphics(void); -#define MAX_GRAPH_TRACE_LEN (1024*128) +#define MAX_GRAPH_TRACE_LEN (40000 * 8 ) extern int GraphBuffer[MAX_GRAPH_TRACE_LEN]; extern int GraphTraceLen; +extern int s_Buff[MAX_GRAPH_TRACE_LEN]; + extern double CursorScaleFactor; extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault; extern int CommandFinished; extern int offline; +//Operations defined in data_operations +extern int autoCorr(const int* in, int *out, size_t len, int window); +extern int directionalThreshold(const int* in, int *out, size_t len, int8_t up, int8_t down); + + #ifdef __cplusplus } #endif