source: trunk/include/histogram.h @ 511

Revision 243, 969 bytes checked in by grand, 5 years ago (diff)

applying Allbest's sources as the new trunk

Line 
1#ifndef HISTOGRAM_H
2#define HISTOGRAM_H
3
4#define HISTO_WIDTH                 128
5#define HISTO_HEIGHT                50
6
7#define HISTO_MODE_LINEAR           0
8#define HISTO_MODE_LOG              1
9
10#define HISTO_R                     0
11#define HISTO_G                     1
12#define HISTO_B                     2
13#define HISTO_RGB                   3
14#define HISTO_Y                     4
15
16#define ZEBRA_MODE_BLINKED_1        0
17#define ZEBRA_MODE_BLINKED_2        1
18#define ZEBRA_MODE_BLINKED_3        2
19#define ZEBRA_MODE_SOLID            3
20#define ZEBRA_MODE_ZEBRA_1          4
21#define ZEBRA_MODE_ZEBRA_2          5
22
23void histogram_process();
24void histogram_stop();
25void histogram_restart();
26extern void histogram_set_mode(unsigned int mode);
27extern void histogram_set_main(unsigned int main);
28
29extern unsigned char histogram[5][HISTO_WIDTH];
30extern long exposition_thresh;
31extern long under_exposed;
32extern long over_exposed;
33extern long histo_magnification;
34
35#endif
Note: See TracBrowser for help on using the repository browser.