LiVES  2.8.3
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 
82 boolean rtemode_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
83 boolean rtemode_callback_hook(LiVESToggleButton *, livespointer user_data);
84 
85 boolean swap_fg_bg_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
86 
87 weed_plant_t *get_blend_layer(weed_timecode_t tc);
88 
89 weed_plant_t *on_rte_apply(weed_plant_t *main_layer, int opwidth, int opheight, weed_timecode_t tc);
90 
91 
92 void deinterlace_frame(weed_plant_t *layer, weed_timecode_t tc);
93 
94 
95 #endif
boolean rtemode_callback_hook(LiVESToggleButton *, livespointer user_data)
for widgets
Definition: effects.c:1150
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:1163
Definition: effects.h:19
lives_render_error_t
various return conditions from rendering (multitrack or after recording)
Definition: mainwindow.h:199
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:1108
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:974
Definition: effects.h:31
boolean textparm_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: effects.c:1126
Definition: effects.h:37
void on_render_fx_activate(LiVESMenuItem *menuitem, lives_rfx_t *rfx)
Definition: paramwindow.c:242
Definition: effects.h:21
Definition: effects.h:41
boolean on_realfx_activate_inner(int type, lives_rfx_t *rfx)
Definition: effects.c:741
char * lives_fx_cat_to_text(lives_fx_cat_t cat, boolean plural) WARN_UNUSED
Definition: effects.c:56
void on_realfx_activate(LiVESMenuItem *, livespointer rfx)
Definition: effects.c:817
Definition: effects.h:23
Definition: effects.h:32
boolean grabkeys_callback_hook(LiVESToggleButton *button, livespointer user_data)
for widgets
Definition: effects.c:1134
Definition: effects.h:26
void deinterlace_frame(weed_plant_t *layer, weed_timecode_t tc)
Definition: effects.c:918
Definition: effects.h:36
boolean do_effect(lives_rfx_t *rfx, boolean is_preview)
defined as extern in paramwindow.c
Definition: effects.c:149
Definition: effects.h:27
boolean rte_on_off_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
for accel groups
Definition: effects.c:1009
Definition: effects.h:28
Definition: effects.h:34
Definition: effects.h:22
Definition: effects.h:49
Definition: plugins.h:491
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:865
Definition: effects.h:20
Definition: effects.h:30
boolean rte_on_off_callback_hook(LiVESToggleButton *, livespointer user_data)
for widgets
Definition: effects.c:1102
boolean rtemode_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
for accel groups
Definition: effects.c:1141
#define WARN_UNUSED
Definition: main.h:298
Definition: effects.h:24
lives_render_error_t realfx_progress(boolean reset)
Definition: effects.c:592