r125: This commit was manufactured by cvs2svn to create tag 'r1_1_7-last'.
[cinelerra_cv/mob.git] / hvirtual / cinelerra / maskautos.h
blob114373c2df95d2b473696da3241c8bb680431911
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 int dump();
21 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 // Retrieve parameters which don't change over time but are stored somewhere
32 // in mask autos. These parameters are taken from default_auto.
39 #endif