Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / dcoffset.h
blobd97aaadb00c47be8d75d47569b2478fda2569d7e
1 #ifndef DCOFFSET_H
2 #define DCOFFSET_H
4 class DC_Offset;
6 #include "guicast.h"
7 #include "maxchannels.h"
8 #include "mutex.inc"
9 #include "bcprogressbox.inc"
10 #include "recordgui.inc"
11 #include "thread.h"
14 class DC_Offset : public Thread
16 public:
17 DC_Offset();
18 ~DC_Offset();
20 int calibrate_dc_offset(int *output, RecordGUIDCOffsetText **dc_offset_text, int input_channels);
21 void run();
23 int *output;
24 RecordGUIDCOffsetText **dc_offset_text;
25 Mutex *dc_offset_lock;
26 int dc_offset[MAXCHANNELS], dc_offset_total[MAXCHANNELS], dc_offset_count;
27 int input_channels;
28 int getting_dc_offset;
29 BC_ProgressBox *progress;
34 #endif
36 // Local Variables:
37 // mode: C++
38 // c-file-style: "linux"
39 // End: