]> git.zerfleddert.de Git - proxmark3-svn/blame - client/proxgui.h
update more demods for graphing
[proxmark3-svn] / client / proxgui.h
CommitLineData
a553f267 1//-----------------------------------------------------------------------------
212ef3a0 2// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
3//
a553f267 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
6658905f 11#ifdef __cplusplus
12extern "C" {
13#endif
14
b8fdac9e 15#include <stdint.h>
16#include <string.h>
17
6658905f 18void ShowGraphWindow(void);
19void HideGraphWindow(void);
20void RepaintGraphWindow(void);
21void MainGraphics(void);
22void InitGraphics(int argc, char **argv);
23void ExitGraphics(void);
24
88e85bde 25#define MAX_GRAPH_TRACE_LEN (40000*8)
6658905f 26extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];
27extern int GraphTraceLen;
b8fdac9e 28extern int s_Buff[MAX_GRAPH_TRACE_LEN];
29
6658905f 30extern double CursorScaleFactor;
0f321d63 31extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault, CursorCPos, CursorDPos, GridOffset;
6658905f 32extern int CommandFinished;
d722c4ce 33extern int offline;
0f321d63 34extern bool GridLocked;
6658905f 35
b8fdac9e 36//Operations defined in data_operations
37extern int autoCorr(const int* in, int *out, size_t len, int window);
38extern int directionalThreshold(const int* in, int *out, size_t len, int8_t up, int8_t down);
39extern void save_restoreGB(uint8_t saveOpt);
40
41#define MAX_DEMOD_BUF_LEN (1024*128)
42extern uint8_t DemodBuffer[MAX_DEMOD_BUF_LEN];
43extern size_t DemodBufferLen;
44extern size_t g_DemodStartIdx;
45extern bool showDemod;
46
6658905f 47#ifdef __cplusplus
48}
49#endif
Impressum, Datenschutz