Parent Directory | Revision Log
Revision 1319 - (view) (download)
1 : | suxen_drol | 1061 | #ifndef _STATUS_H_ |
2 : | #define _STATUS_H_ | ||
3 : | |||
4 : | #include <windows.h> | ||
5 : | |||
6 : | syskin | 1319 | /* int64_t */ |
7 : | #if defined(_MSC_VER) || defined (__WATCOMC__) | ||
8 : | # define int64_t __int64 | ||
9 : | # define uint64_t unsigned __int64 | ||
10 : | #else | ||
11 : | # include <inttypes.h> | ||
12 : | #endif | ||
13 : | |||
14 : | suxen_drol | 1061 | typedef struct |
15 : | { | ||
16 : | syskin | 1319 | double fps; |
17 : | suxen_drol | 1061 | |
18 : | syskin | 1319 | HWND hDlg; |
19 : | HWND hGraph; | ||
20 : | HDC hDc; | ||
21 : | suxen_drol | 1061 | |
22 : | syskin | 1319 | unsigned int width; |
23 : | unsigned int width31; | ||
24 : | unsigned int height; | ||
25 : | unsigned int stride; | ||
26 : | unsigned char * buffer; | ||
27 : | suxen_drol | 1061 | |
28 : | syskin | 1319 | TEXTMETRIC tm; |
29 : | BITMAPINFO * bi; | ||
30 : | suxen_drol | 1061 | |
31 : | syskin | 1319 | int64_t count[4]; |
32 : | int min_quant[4]; | ||
33 : | int max_quant[4]; | ||
34 : | int quant[3][31]; | ||
35 : | int max_quant_frames; | ||
36 : | int min_length[4]; | ||
37 : | int max_length[4]; | ||
38 : | int64_t tot_length[4]; | ||
39 : | suxen_drol | 1061 | } status_t; |
40 : | |||
41 : | |||
42 : | void status_create(status_t * s, unsigned int fps_inc, unsigned int fps_base); | ||
43 : | void status_update(status_t *s, int type, int length, int quant); | ||
44 : | void status_destroy(status_t *s); | ||
45 : | void status_destroy_always(status_t *s); | ||
46 : | |||
47 : | #endif /* _STATUS_H_ */ |
No admin address has been configured | ViewVC Help |
Powered by ViewVC 1.0.4 |