]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/proxgui.h
First stab at new graphing; dual buffers, immediate results
[proxmark3-svn] / client / proxgui.h
... / ...
CommitLineData
1//-----------------------------------------------------------------------------
2// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
3//
4// This code is licensed to you under the terms of the GNU GPL, version 2 or,
5// at your option, any later version. See the LICENSE.txt file for the text of
6// the license.
7//-----------------------------------------------------------------------------
8// GUI functions
9//-----------------------------------------------------------------------------
10#include <string.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16void ShowGraphWindow(void);
17void HideGraphWindow(void);
18void RepaintGraphWindow(void);
19void MainGraphics(void);
20void InitGraphics(int argc, char **argv);
21void ExitGraphics(void);
22
23#define MAX_GRAPH_TRACE_LEN (40000 * 8 )
24extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];
25extern int GraphTraceLen;
26extern int s_Buff[MAX_GRAPH_TRACE_LEN];
27
28extern double CursorScaleFactor;
29extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault;
30extern int CommandFinished;
31extern int offline;
32
33//Operations defined in data_operations
34extern int autoCorr(const int* in, int *out, size_t len, int window);
35extern int directionalThreshold(const int* in, int *out, size_t len, int8_t up, int8_t down);
36
37
38#ifdef __cplusplus
39}
40#endif
Impressum, Datenschutz