LiVES  2.4.1-svn
 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
boolean rtemode_callback_hook(LiVESToggleButton *, livespointer user_data)
for widgets
Definition: effects.c:1152
Definition: effects.h:50
lives_fx_cat_t
Definition: effects.h:17
boolean swap_fg_bg_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: effects.c:1165
Definition: effects.h:19
lives_render_error_t
various return conditions from rendering (multitrack or after recording)
Definition: mainwindow.h:161
Definition: effects.h:29
Definition: effects.h:33
Definition: effects.h:25
Definition: effects.h:42
Definition: effects.h:18
Definition: effects.h:38
boolean grabkeys_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
for accel groups
Definition: effects.c:1113
Definition: effects.h:40
lives_af_t
audio filter type (any, analyser only, non analyser only)
Definition: effects.h:47
weed_plant_t * get_blend_layer(weed_timecode_t tc)
Definition: effects.c:977
Definition: effects.h:31
boolean textparm_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: effects.c:1127
Definition: effects.h:37
void on_render_fx_activate(LiVESMenuItem *menuitem, lives_rfx_t *rfx)
Definition: paramwindow.c:278
Definition: effects.h:21
Definition: effects.h:41
boolean on_realfx_activate_inner(int type, lives_rfx_t *rfx)
Definition: effects.c:737
char * lives_fx_cat_to_text(lives_fx_cat_t cat, boolean plural) WARN_UNUSED
Definition: effects.c:54
void on_realfx_activate(LiVESMenuItem *, livespointer rfx)
Definition: effects.c:813
Definition: effects.h:23
Definition: effects.h:32
boolean grabkeys_callback_hook(LiVESToggleButton *button, livespointer user_data)
for widgets
Definition: effects.c:1135
Definition: effects.h:26
void deinterlace_frame(weed_plant_t *layer, weed_timecode_t tc)
Definition: effects.c:922
Definition: effects.h:36
boolean do_effect(lives_rfx_t *rfx, boolean is_preview)
defined as extern in paramwindow.c
Definition: effects.c:147
Definition: effects.h:27
boolean rte_on_off_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
for accel groups
Definition: effects.c:1014
Definition: effects.h:28
Definition: effects.h:34
Definition: effects.h:22
Definition: effects.h:49
Definition: plugins.h:481
Definition: effects.h:39
Definition: effects.h:48
Definition: effects.h:35
weed_plant_t * on_rte_apply(weed_plant_t *main_layer, int opwidth, int opheight, weed_timecode_t tc)
Definition: effects.c:869
Definition: effects.h:20
Definition: effects.h:30
boolean rte_on_off_callback_hook(LiVESToggleButton *, livespointer user_data)
for widgets
Definition: effects.c:1107
boolean rtemode_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
for accel groups
Definition: effects.c:1143
#define WARN_UNUSED
Definition: main.h:261
Definition: effects.h:24
lives_render_error_t realfx_progress(boolean reset)
Definition: effects.c:590