Merge branch 'ct' of git.pipapo.org:cinelerra-ct into ct
[cinelerra_cv/ct.git] / cinelerra / maskautos.h
blobb1b5970492c4783a86541d8eb851a0062cc484f6
1 #ifndef MASKAUTOS_H
2 #define MASKAUTOS_H
5 #include "autos.h"
6 #include "edl.inc"
7 #include "maskauto.inc"
8 #include "track.inc"
10 class MaskAutos : public Autos
12 public:
13 MaskAutos(EDL *edl, Track *track);
14 ~MaskAutos();
16 Auto* new_auto();
19 void dump();
21 static void avg_points(MaskPoint *output,
22 MaskPoint *input1,
23 MaskPoint *input2,
24 int64_t output_position,
25 int64_t position1,
26 int64_t position2);
27 int mask_exists(int64_t position, int direction);
28 // Perform interpolation
29 void get_points(ArrayList<MaskPoint*> *points, int submask, int64_t position, int direction);
30 int total_submasks(int64_t position, int direction);
31 // Translates all mask points
32 void translate_masks(float translate_x, float translate_y);
38 #endif
40 // Local Variables:
41 // mode: C++
42 // c-file-style: "linux"
43 // End: