fast drag mode honours follow_edits labels/plugins/keyframes
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / overlayframe.inc
1
2 /*
3  * CINELERRA
4  * Copyright (C) 2008 Adam Williams <broadcast at earthling dot net>
5  *
6  * This program is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19  *
20  */
21
22 #ifndef OVERLAYFRAME_INC
23 #define OVERLAYFRAME_INC
24
25 // Modes
26
27 #define TRANSFER_TYPES 30
28
29 #define TRANSFER_NORMAL         0
30 #define TRANSFER_ADDITION       1
31 #define TRANSFER_SUBTRACT       2
32 #define TRANSFER_MULTIPLY       3
33 #define TRANSFER_DIVIDE         4
34 #define TRANSFER_REPLACE        5
35 #define TRANSFER_MAX            6
36 #define TRANSFER_MIN            7
37 #define TRANSFER_DARKEN         8
38 #define TRANSFER_LIGHTEN        9
39 #define TRANSFER_DST            10
40 #define TRANSFER_DST_ATOP       11
41 #define TRANSFER_DST_IN         12
42 #define TRANSFER_DST_OUT        13
43 #define TRANSFER_DST_OVER       14
44 #define TRANSFER_SRC            15
45 #define TRANSFER_SRC_ATOP       16
46 #define TRANSFER_SRC_IN         17
47 #define TRANSFER_SRC_OUT        18
48 #define TRANSFER_SRC_OVER       19
49 #define TRANSFER_AND            20
50 #define TRANSFER_OR             21
51 #define TRANSFER_XOR            22
52 #define TRANSFER_OVERLAY        23
53 #define TRANSFER_SCREEN         24
54 #define TRANSFER_BURN           25
55 #define TRANSFER_DODGE          26
56 #define TRANSFER_HARDLIGHT      27
57 #define TRANSFER_SOFTLIGHT      28
58 #define TRANSFER_DIFFERENCE     29
59
60
61 // Interpolation types
62
63
64 #define NEAREST_NEIGHBOR 0        // Nearest for enlargement and reduction
65 #define CUBIC_CUBIC      1        // Bicubic enlargement and reduction
66 #define CUBIC_LINEAR     2        // Bicubic enlargement and linear reduction
67 #define LINEAR_LINEAR    3        // Not explicitely called but used for user
68 #define LANCZOS_LANCZOS  4        // Just because we can
69
70 class OverlayFrame;
71
72 #endif