LiVES  2.8.9
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 
46 typedef enum {
50 } lives_af_t;
51 
52 char *lives_fx_cat_to_text(lives_fx_cat_t cat, boolean plural) WARN_UNUSED;
53 
54 #include "effects-weed.h"
55 
56 boolean do_effect(lives_rfx_t *rfx, boolean is_preview);
57 
58 void on_render_fx_activate(LiVESMenuItem *menuitem, lives_rfx_t *rfx);
59 
61 
62 // render
63 void on_realfx_activate(LiVESMenuItem *, livespointer rfx);
64 boolean on_realfx_activate_inner(int type, lives_rfx_t *rfx);
65 
67 
68 // key callbacks
69 
70 boolean textparm_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data);
71 
72 boolean grabkeys_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
73 boolean grabkeys_callback_hook(LiVESToggleButton *button, livespointer user_data);
74 
75 boolean rte_on_off_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
76 boolean rte_on_off_callback_hook(LiVESToggleButton *, livespointer user_data);
77 
78 boolean rtemode_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
79 boolean rtemode_callback_hook(LiVESToggleButton *, livespointer user_data);
80 
81 boolean swap_fg_bg_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data);
82 
83 weed_plant_t *get_blend_layer(weed_timecode_t tc);
84 
85 weed_plant_t *on_rte_apply(weed_plant_t *main_layer, int opwidth, int opheight, weed_timecode_t tc);
86 
87 void deinterlace_frame(weed_plant_t *layer, weed_timecode_t tc);
88 
89 #endif
boolean rtemode_callback_hook(LiVESToggleButton *, livespointer user_data)
for widgets
Definition: effects.c:1099
Definition: effects.h:49
lives_fx_cat_t
Definition: effects.h:17
boolean swap_fg_bg_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
Definition: effects.c:1112
Definition: effects.h:19
lives_render_error_t
various return conditions from rendering (multitrack or after recording)
Definition: mainwindow.h:193
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:1059
Definition: effects.h:40
lives_af_t
audio filter type (any, analyser only, non analyser only)
Definition: effects.h:46
weed_plant_t * get_blend_layer(weed_timecode_t tc)
Definition: effects.c:933
Definition: effects.h:31
boolean textparm_callback(LiVESAccelGroup *group, LiVESObject *obj, uint32_t keyval, LiVESXModifierType mod, livespointer user_data)
Definition: effects.c:1076
Definition: effects.h:37
void on_render_fx_activate(LiVESMenuItem *menuitem, lives_rfx_t *rfx)
Definition: paramwindow.c:235
Definition: effects.h:21
Definition: effects.h:41
boolean on_realfx_activate_inner(int type, lives_rfx_t *rfx)
Definition: effects.c:720
char * lives_fx_cat_to_text(lives_fx_cat_t cat, boolean plural) WARN_UNUSED
Definition: effects.c:53
void on_realfx_activate(LiVESMenuItem *, livespointer rfx)
Definition: effects.c:793
Definition: effects.h:23
Definition: effects.h:32
boolean grabkeys_callback_hook(LiVESToggleButton *button, livespointer user_data)
for widgets
Definition: effects.c:1083
Definition: effects.h:26
void deinterlace_frame(weed_plant_t *layer, weed_timecode_t tc)
Definition: effects.c:884
Definition: effects.h:36
boolean do_effect(lives_rfx_t *rfx, boolean is_preview)
defined as extern in paramwindow.c
Definition: effects.c:140
Definition: effects.h:27
boolean rte_on_off_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
for accel groups
Definition: effects.c:964
Definition: effects.h:28
Definition: effects.h:34
Definition: effects.h:22
Definition: effects.h:48
Definition: plugins.h:458
Definition: effects.h:39
Definition: effects.h:47
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:835
Definition: effects.h:20
Definition: effects.h:30
boolean rte_on_off_callback_hook(LiVESToggleButton *, livespointer user_data)
for widgets
Definition: effects.c:1053
boolean rtemode_callback(LiVESAccelGroup *, LiVESObject *, uint32_t, LiVESXModifierType, livespointer user_data)
for accel groups
Definition: effects.c:1090
#define WARN_UNUSED
Definition: main.h:305
Definition: effects.h:24
lives_render_error_t realfx_progress(boolean reset)
Definition: effects.c:578