source: trunk/include/histogram.h @ 515

Revision 515, 969 bytes checked in by reyalp, 5 years ago (diff)

set svn:eol-style and fix files that had mixed line endings. See http://chdk.setepontos.com/index.php/topic,2145.15.html

  • Property svn:eol-style set to native
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.