LiVES  2.4.6
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
effects.h
Go to the documentation of this file.
1 // effects.h
2 // LiVES (lives-exe)
3 // (c) G. Finch 2003 - 2012
4 // Released under the GPL 3 or later
5 // see file ../COPYING for licensing details
6 
7 #ifndef HAS_LIVES_EFFECTS_H
8 #define HAS_LIVES_EFFECTS_H
9 
10 #if HAVE_SYSTEM_WEED
11 #include <weed/weed.h>
12 #else
13 #include "../libweed/weed.h"
14 #endif
15 
16 // general effects
17 typedef enum {
44 
45 
47 typedef enum {
51 } lives_af_t;
52 
53 
54 char *lives_fx_cat_to_text(lives_fx_cat_t cat, boolean plural) WARN_UNUSED;
55 
56 
57 #include "effects-weed.h"
58 
59 boolean do_effect(lives_rfx_t *rfx, boolean is_preview);
60 
61 void on_render_fx_activate(LiVESMenuItem *menuitem, lives_rfx_t *rfx);
62 
64 
65 // render
66 void on_realfx_activate(LiVESMenuItem *, livespointer rfx);
67 boolean on_realfx_activate_inner(int type, lives_rfx_t *rfx);
68 
70 
71 // key callbacks
72 
73 boolean textparm_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data);
74 
75 boolean grabkeys_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
76 boolean grabkeys_callback_hook(LiVESToggleButton *button, livespointer user_data);
77 
78 boolean rte_on_off_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
79 boolean rte_on_off_callback_hook(LiVESToggleButton *, livespointer user_data);
80 
81 boolean rtemode_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
82 boolean rtemode_callback_hook(LiVESToggleButton *, livespointer user_data);
83 
84 boolean swap_fg_bg_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
85 
86 weed_plant_t *get_blend_layer(weed_timecode_t tc);
87 
88 weed_plant_t *on_rte_apply(weed_plant_t *main_layer, int opwidth, int opheight, weed_timecode_t tc);
89 
90 
91 void deinterlace_frame(weed_plant_t *layer, weed_timecode_t tc);
92 
93 
94 #endif
Definition: effects.h:50
lives_fx_cat_t
Definition: effects.h:17
Definition: effects.h:19
lives_render_error_t
various return conditions from rendering (multitrack or after recording)
Definition: mainwindow.h:167
boolean rtemode_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
for accel groups
Definition: effects.c:1146
Definition: effects.h:29
Definition: effects.h:33
boolean swap_fg_bg_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: effects.c:1168
boolean grabkeys_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
for accel groups
Definition: effects.c:1116
Definition: effects.h:25
Definition: effects.h:42
Definition: effects.h:18
char * lives_fx_cat_to_text(lives_fx_cat_t cat, boolean plural)
Definition: effects.c:55
Definition: effects.h:38
Definition: effects.h:40
lives_af_t
audio filter type (any, analyser only, non analyser only)
Definition: effects.h:47
void deinterlace_frame(weed_plant_t *layer, weed_timecode_t tc)
Definition: effects.c:925
Definition: effects.h:31
void on_realfx_activate(LiVESMenuItem *menuitem, livespointer user_data)
Definition: effects.c:816
Definition: effects.h:37
void on_render_fx_activate(LiVESMenuItem *menuitem, lives_rfx_t *rfx)
Definition: paramwindow.c:278
boolean do_effect(lives_rfx_t *rfx, boolean is_preview)
defined as extern in paramwindow.c
Definition: effects.c:148
boolean rte_on_off_callback_hook(LiVESToggleButton *button, livespointer user_data)
for widgets
Definition: effects.c:1110
Definition: effects.h:21
Definition: effects.h:41
boolean rte_on_off_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
for accel groups
Definition: effects.c:1017
boolean rtemode_callback_hook(LiVESToggleButton *button, livespointer user_data)
for widgets
Definition: effects.c:1155
Definition: effects.h:23
Definition: effects.h:32
Definition: effects.h:26
lives_render_error_t realfx_progress(boolean reset)
Definition: effects.c:591
Definition: effects.h:36
weed_plant_t * on_rte_apply(weed_plant_t *layer, int opwidth, int opheight, weed_timecode_t tc)
Definition: effects.c:872
Definition: effects.h:27
weed_plant_t * get_blend_layer(weed_timecode_t tc)
Definition: effects.c:980
Definition: effects.h:28
boolean grabkeys_callback_hook(LiVESToggleButton *button, livespointer user_data)
for widgets
Definition: effects.c:1138
Definition: effects.h:34
boolean textparm_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: effects.c:1130
Definition: effects.h:22
Definition: effects.h:49
Definition: plugins.h:481
Definition: effects.h:39
Definition: effects.h:48
Definition: effects.h:35
Definition: effects.h:20
boolean on_realfx_activate_inner(int type, lives_rfx_t *rfx)
Definition: effects.c:740
Definition: effects.h:30
#define WARN_UNUSED
Definition: main.h:271
Definition: effects.h:24