8 #ifndef HAS_LIVES_EFFECTS_WEED_H 9 #define HAS_LIVES_EFFECTS_WEED_H 46 #define WEED_LEAF_TYPE "type" 47 #define WEED_LEAF_PLUGIN_INFO "plugin_info" 48 #define WEED_LEAF_FILTERS "filters" 49 #define WEED_LEAF_MAINTAINER "maintainer" 50 #define WEED_LEAF_HOST_INFO "host_info" 53 #define WEED_LEAF_INIT_FUNC "init_func" 54 #define WEED_LEAF_DEINIT_FUNC "deinit_func" 55 #define WEED_LEAF_PROCESS_FUNC "process_func" 56 #define WEED_LEAF_DISPLAY_FUNC "display_func" 57 #define WEED_LEAF_INTERPOLATE_FUNC "interpolate_func" 58 #define WEED_LEAF_TARGET_FPS "target_fps" 59 #define WEED_LEAF_GUI "gui" 60 #define WEED_LEAF_DESCRIPTION "description" 61 #define WEED_LEAF_AUTHOR "author" 62 #define WEED_LEAF_EXTRA_AUTHORS "extra_authors" 63 #define WEED_LEAF_URL "url" 64 #define WEED_LEAF_ICON "icon" 65 #define WEED_LEAF_LICENSE "license" 66 #define WEED_LEAF_COPYRIGHT "copyright" 67 #define WEED_LEAF_VERSION "version" 70 #define WEED_LEAF_FILTER_CLASS "filter_class" 71 #define WEED_LEAF_TIMECODE "timecode" 72 #define WEED_LEAF_FPS "fps" 75 #define WEED_LEAF_PIXEL_DATA "pixel_data" 76 #define WEED_LEAF_WIDTH "width" 77 #define WEED_LEAF_HEIGHT "height" 78 #define WEED_LEAF_PALETTE_LIST "palette_list" 79 #define WEED_LEAF_CURRENT_PALETTE "current_palette" 80 #define WEED_LEAF_ROWSTRIDES "rowstrides" 81 #define WEED_LEAF_YUV_SUBSPACE "YUV_subspace" 82 #define WEED_LEAF_YUV_SAMPLING "YUV_sampling" 83 #define WEED_LEAF_YUV_CLAMPING "YUV_clamping" 84 #define WEED_LEAF_IN_CHANNELS "in_channels" 85 #define WEED_LEAF_OUT_CHANNELS "out_channels" 86 #define WEED_LEAF_IN_CHANNEL_TEMPLATES "in_channel_templates" 87 #define WEED_LEAF_OUT_CHANNEL_TEMPLATES "out_channel_templates" 88 #define WEED_LEAF_OFFSET "offset" 89 #define WEED_LEAF_HSTEP "hstep" 90 #define WEED_LEAF_VSTEP "vstep" 91 #define WEED_LEAF_MAXWIDTH "maxwidth" 92 #define WEED_LEAF_MAXHEIGHT "maxheight" 93 #define WEED_LEAF_OPTIONAL "optional" 94 #define WEED_LEAF_DISABLED "disabled" 95 #define WEED_LEAF_ALIGNMENT "alignment" 96 #define WEED_LEAF_TEMPLATE "template" 97 #define WEED_LEAF_PIXEL_ASPECT_RATIO "pixel_aspect_ratio" 98 #define WEED_LEAF_ROWSTRIDE_ALIGNMENT_HINT "rowstride_alignment_hint" 99 #define WEED_LEAF_MAX_REPEATS "max_repeats" 102 #define WEED_LEAF_IN_PARAMETERS "in_parameters" 103 #define WEED_LEAF_OUT_PARAMETERS "out_parameters" 104 #define WEED_LEAF_VALUE "value" 105 #define WEED_LEAF_FLAGS "flags" 106 #define WEED_LEAF_HINT "hint" 107 #define WEED_LEAF_GROUP "group" 108 #define WEED_LEAF_NAME "name" 109 #define WEED_LEAF_DEFAULT "default" 110 #define WEED_LEAF_MIN "min" 111 #define WEED_LEAF_MAX "max" 112 #define WEED_LEAF_IGNORE "ignore" 113 #define WEED_LEAF_NEW_DEFAULT "new_default" 114 #define WEED_LEAF_COLORSPACE "colorspace" 115 #define WEED_LEAF_IN_PARAMETER_TEMPLATES "in_parameter_templates" 116 #define WEED_LEAF_OUT_PARAMETER_TEMPLATES "out_parameter_templates" 117 #define WEED_LEAF_TRANSITION "transition" 118 #define WEED_LEAF_IS_VOLUME_MASTER "is_volume_master" 122 #define WEED_LEAF_IS_AUDIO "is_audio" 123 #define WEED_LEAF_AUDIO_DATA "audio_data" 124 #define WEED_LEAF_AUDIO_DATA_LENGTH "audio_data_length" 125 #define WEED_LEAF_AUDIO_RATE "audio_rate" 126 #define WEED_LEAF_AUDIO_CHANNELS "audio_channels" 127 #define WEED_LEAF_AUDIO_INTERLEAF "audio_interleaf" 130 #define WEED_LEAF_WRAP "wrap" 131 #define WEED_LEAF_MAXCHARS "maxchars" 132 #define WEED_LEAF_LABEL "label" 133 #define WEED_LEAF_DECIMALS "decimals" 134 #define WEED_LEAF_STEP_SIZE "step_size" 135 #define WEED_LEAF_CHOICES "choices" 136 #define WEED_LEAF_USE_MNEMONIC "use_mnemonic" 137 #define WEED_LEAF_HIDDEN "hidden" 138 #define WEED_LEAF_DISPLAY_VALUE "display_value" 139 #define WEED_LEAF_COPY_VALUE_TO "copy_value_to" 142 #define WEED_LEAF_LAYOUT_SCHEME "layout_scheme" 143 #define WEED_LEAF_RFX_STRINGS "rfx_strings" 144 #define WEED_LEAF_RFX_DELIM "rfx_delim" 148 #define WEED_LEAF_PLUGIN_UNSTABLE "plugin_unstable" // plugin hint to host 152 #define WEED_LEAF_HOST_AUDIO_PLAYER "host_audio_player" // exported to plugins 154 #define WEED_LEAF_HOST_ORIG_PDATA "host_orig_pdata" // set if we "steal" an alpha channel to chain 155 #define WEED_LEAF_HOST_MENU_HIDE "host_menu_hide" // hide from menus 156 #define WEED_LEAF_HOST_DEFAULT "host_default" // user set default 157 #define WEED_LEAF_HOST_WIDTH "host_width" // user set width 158 #define WEED_LEAF_HOST_HEIGHT "host_height" // user set height 159 #define WEED_LEAF_HOST_FPS "host_fps" // user set fps 160 #define WEED_LEAF_HOST_TAG "host_tag" // internal key mapping (for higher keys) 161 #define WEED_LEAF_HOST_KEY "host_key" // internal key mapping 162 #define WEED_LEAF_HOST_MODE "host_mode" // internal mode mapping 163 #define WEED_LEAF_HOST_INPLACE "host_inplace" // inplace effect 164 #define WEED_LEAF_HOST_DISABLED "host_disabled" // channel is disabled 165 #define WEED_LEAF_HOST_TEMP_DISABLED "host_temp_disabled" // channel is temp disabled 166 #define WEED_LEAF_HOST_REFS "host_refs" // host ref counting 167 #define WEED_LEAF_HOST_REPEATS "host_repeats" // host channel repeats 168 #define WEED_LEAF_HOST_INITED "host_inited" // inited or not 169 #define WEED_LEAF_HOST_INTERNAL_CONNECTION "host_internal_connection" // for chain plugins 170 #define WEED_LEAF_HOST_INTERNAL_CONNECTION_AUTOSCALE "host_internal_connection_autoscale" // for chain plugins 171 #define WEED_LEAF_HOST_NEXT_INSTANCE "host_next_instance" // for chain plugins 172 #define WEED_LEAF_HOST_COMPOUND_CLASS "host_compound_class" // for chain plugins 173 #define WEED_LEAF_HOST_PLUGIN_PATH "host_plugin_path" // plugin path 174 #define WEED_LEAF_HOST_HANDLE "host_handle" // dll handle 175 #define WEED_LEAF_HOST_FILTER_LIST "host_filter_list" // host usable filters 177 #define WEED_LEAF_HOST_INSTANCE "host_instance" // special value for text widgets 178 #define WEED_LEAF_HOST_IDX "host_idx" // special value for text widgets 182 #define WEED_LEAF_CLIP "clip" 183 #define WEED_LEAF_FRAME "frame" 188 weed_plant_t *
weed_bootstrap_func(weed_default_getter_f *value,
int num_versions,
int *plugin_versions);
206 #define PLUGIN_COMPOUND_EFFECTS_BUILTIN "effects/compound/" 207 #define PLUGIN_COMPOUND_EFFECTS_CUSTOM "plugins/effects/compound/" 222 boolean is_pure_audio(weed_plant_t *filter_or_instance,
boolean count_opt);
226 #ifdef HAS_LIVES_EFFECTS_H 258 int num_in_params(weed_plant_t *,
boolean skip_hidden,
boolean skip_internal);
260 weed_plant_t *
weed_inst_in_param(weed_plant_t *inst,
int param_num,
boolean skip_hidden,
boolean skip_internal);
276 boolean interpolate_param(weed_plant_t *inst,
int i,
void *pchain, weed_timecode_t tc);
290 int set_copy_to(weed_plant_t *inst,
int pnum,
boolean update);
305 weed_plant_t *
weed_apply_effects(weed_plant_t **layers, weed_plant_t *filter_map, weed_timecode_t tc,
int opwidth,
int opheight,
308 int opwidth,
int opheight, weed_timecode_t tc);
309 void weed_apply_audio_effects(weed_plant_t *filter_map,
float **abuf,
int nbtracks,
int nchans, int64_t nsamps,
double arate,
310 weed_timecode_t tc,
double *vis);
311 void weed_apply_audio_effects_rt(
float **abuf,
int nchans, int64_t nsamps,
double arate, weed_timecode_t tc,
boolean analysers_only);
314 double arate, weed_timecode_t tc,
double *vis);
321 void wge_inner(weed_plant_t *inst,
boolean unref);
340 #ifdef HAS_LIVES_EFFECTS_H 427 #define WEED_PLANT_IS_PLUGIN_INFO(plant) (weed_get_plant_type(plant)==WEED_PLANT_PLUGIN_INFO?1:0) 428 #define WEED_PLANT_IS_HOST_INFO(plant) (weed_get_plant_type(plant)==WEED_PLANT_HOST_INFO?1:0) 429 #define WEED_PLANT_IS_FILTER_CLASS(plant) (weed_get_plant_type(plant)==WEED_PLANT_FILTER_CLASS?1:0) 430 #define WEED_PLANT_IS_FILTER_INSTANCE(plant) (weed_get_plant_type(plant)==WEED_PLANT_FILTER_INSTANCE?1:0) 431 #define WEED_PLANT_IS_CHANNEL(plant) (weed_get_plant_type(plant)==WEED_PLANT_CHANNEL?1:0) 432 #define WEED_PLANT_IS_CHANNEL_TEMPLATE(plant) (weed_get_plant_type(plant)==WEED_PLANT_CHANNEL_TEMPLATE?1:0) 433 #define WEED_PLANT_IS_PARAMETER(plant) (weed_get_plant_type(plant)==WEED_PLANT_PARAMETER?1:0) 434 #define WEED_PLANT_IS_PARAMETER_TEMPLATE(plant) (weed_get_plant_type(plant)==WEED_PLANT_PARAMETER_TEMPLATE?1:0) 435 #define WEED_PLANT_IS_GUI(plant) (weed_get_plant_type(plant)==WEED_PLANT_GUI?1:0) lives_fx_cat_t weed_filter_categorise(weed_plant_t *pl, int in_channels, int out_channels)
Definition: effects-weed.c:428
boolean is_audio_channel_out(weed_plant_t *inst, int chnum)
Definition: effects-weed.c:887
int weed_flagset_array_count(weed_plant_t **array, boolean set_readonly)
Definition: effects-weed.c:1377
void rte_swap_fg_bg(void)
Definition: effects-weed.c:9234
int rte_getmodespk(void) __attribute__((__pure__))
Definition: effects-weed.c:8972
boolean weed_instance_is_resizer(weed_plant_t *filt)
Definition: effects-weed.c:789
weed_plant_t ** weed_params_create(weed_plant_t *filter, boolean in)
Definition: effects-weed.c:6372
boolean has_audio_filters(lives_af_t af_type)
Definition: effects-weed.c:4061
int rte_key_getmaxmode(int key)
returns highest mode which is set
Definition: effects-weed.c:8877
void deinit_render_effects(void)
Definition: effects-weed.c:7340
void wge_inner(weed_plant_t *inst, boolean unref)
deinit instance(s) for generator
Definition: effects-weed.c:6160
weed_plant_t * get_mandatory_channel(weed_plant_t *filter, int which, boolean is_in)
for FILTER_CLASS
Definition: effects-weed.c:751
lives_fx_cat_t
Definition: effects.h:17
Definition: effects-weed.h:13
boolean has_audio_chans_in(weed_plant_t *filter, boolean count_opt)
Definition: effects-weed.c:865
void weed_add_plant_flags(weed_plant_t *plant, int flags)
Definition: effects-weed.c:150
int step_val(int val, int step)
Definition: effects-weed.c:632
boolean is_hidden_param(weed_plant_t *, int i)
Definition: effects-weed.c:8018
LiVESList * weed_get_all_names(lives_fx_list_t list_type)
Definition: effects-weed.c:9252
boolean weed_delete_effectkey(int key, int mode)
unbinds a filter_class from a key/mode
Definition: effects-weed.c:8785
int weed_call_init_func(weed_plant_t *instance)
Definition: effects-weed.c:7134
int rte_fg_gen_key(void) GNU_PURE
Definition: effects-weed.c:8980
char * cd_to_plugin_dir(weed_plant_t *filter)
Definition: effects-weed.c:1428
Definition: effects-weed.h:28
boolean weed_playback_gen_start(void)
Definition: effects-weed.c:7809
Definition: effects-weed.h:14
weed_plant_t * rte_keymode_get_filter(int key, int mode)
returns filter_class bound to key/mode (or NULL)
Definition: effects-weed.c:8905
void load_compound_fx(void)
Definition: effects-weed.c:5892
char * get_weed_display_string(weed_plant_t *inst, int pnum)
Definition: effects-weed.c:8375
void free_key_defaults(int key, int mode)
Definition: effects-weed.c:11213
void add_param_connections(weed_plant_t *inst)
Definition: effects-weed.c:6537
boolean is_perchannel_multiw(weed_plant_t *param)
Definition: effects-weed.c:8129
int weed_add_effectkey(int key, const char *hashname, boolean fullname)
bind a filter_class to key/mode using its hashname
Definition: effects-weed.c:9183
boolean rte_key_valid(int key, boolean is_userkey)
returns TRUE if there is a filter bound to active mode of hotkey
Definition: effects-weed.c:8851
int rte_switch_keymode(int key, int mode, const char *hashname)
Definition: effects-weed.c:9191
boolean rte_key_setmode(int key, int newmode)
set mode for a given key; if key==0 then the active key is used
Definition: effects-weed.c:9043
int weed_get_idx_for_hashname(const char *hashname, boolean fullname)
fullname includes author and version
Definition: effects-weed.c:10141
weed_plant_t * get_weed_filter(int filter_idx)
Definition: effects-weed.c:10299
lives_filter_error_t weed_apply_instance(weed_plant_t *inst, weed_plant_t *init_event, weed_plant_t **layers, int opwidth, int opheight, weed_timecode_t tc)
Definition: effects-weed.c:1778
void weed_in_parameters_free(weed_plant_t *inst)
Definition: effects-weed.c:6104
boolean write_filter_defaults(int fd, int idx)
Definition: effects-weed.c:10674
Definition: effects-weed.h:25
int weed_add_effectkey_by_idx(int key, int idx)
see description
Definition: effects-weed.c:9141
int set_copy_to(weed_plant_t *inst, int pnum, boolean update)
Definition: effects-weed.c:8413
weed_plant_t * weed_layer_new_from_generator(weed_plant_t *inst, weed_timecode_t tc)
Definition: effects-weed.c:7397
int check_weed_palette_list(int *palette_list, int num_palettes, int palette)
Definition: effects-weed.c:1095
weed_plant_t * weed_instance_from_filter(weed_plant_t *filter)
Definition: effects-weed.c:6582
int get_nth_simple_param(weed_plant_t *, int pnum)
Definition: effects-weed.c:8302
int weed_call_deinit_func(weed_plant_t *instance)
Definition: effects-weed.c:7158
void rec_param_change(weed_plant_t *inst, int pnum)
record a parameter value change in our event_list
Definition: effects-weed.c:8466
Definition: effects-weed.h:27
void apply_key_defaults(weed_plant_t *inst, int key, int mode)
Definition: effects-weed.c:11151
lives_fx_cat_t rte_keymode_get_category(int key, int mode)
Definition: effects-weed.c:8748
weed_plant_t * get_new_inst_for_keymode(int key, int mode)
get new inst (during recording playback)
Definition: effects-weed.c:8678
void weed_apply_audio_effects_rt(float **abuf, int nchans, int64_t nsamps, double arate, weed_timecode_t tc, boolean analysers_only)
Definition: effects-weed.c:3944
weed_plant_t * add_filter_init_events(weed_plant_t *event_list, weed_timecode_t tc)
Definition: effects-weed.c:1069
boolean has_audio_chans_out(weed_plant_t *filter, boolean count_opt)
Definition: effects-weed.c:928
lives_af_t
audio filter type (any, analyser only, non analyser only)
Definition: effects.h:47
weed_plant_t * rte_keymode_get_instance(int key, int mode)
returns filter_instance bound to key/mode (or NULL)
Definition: effects-weed.c:8890
void weed_generator_end(weed_plant_t *inst)
Definition: effects-weed.c:6189
boolean interpolate_param(weed_plant_t *inst, int i, void *pchain, weed_timecode_t tc)
parameter interpolation
Definition: effects-weed.c:9584
lives_filter_error_t
filter apply errors
Definition: effects-weed.h:12
boolean read_generator_sizes(int fd)
Definition: effects-weed.c:10899
void fill_param_vals_to(weed_plant_t *param, weed_plant_t *ptmpl, int fill_slot)
add default filler values to a parameter or pchange.
Definition: effects-weed.c:9298
weed_plant_t * weed_inst_in_param(weed_plant_t *inst, int param_num, boolean skip_hidden, boolean skip_internal)
Definition: effects-weed.c:8167
int rte_fg_gen_mode(void) GNU_PURE
Definition: effects-weed.c:8988
void set_param_gui_readwrite(weed_plant_t *inst)
Definition: effects-weed.c:1406
int rte_bg_gen_mode(void) GNU_PURE
Definition: effects-weed.c:8984
weed_plant_t * weed_filter_in_paramtmpl(weed_plant_t *filter, int param_num, boolean skip_internal)
Definition: effects-weed.c:8244
int get_master_vol_param(weed_plant_t *filter, boolean skip_internal)
Definition: effects-weed.c:8105
void weed_set_blend_factor(int hotkey)
Definition: effects-weed.c:8490
const char * version(void)
__attribute__((__pure__))
Definition: events.c:45
boolean weed_generator_start(weed_plant_t *inst, int key)
Definition: effects-weed.c:7563
_palette * palette
Definition: main.c:89
int rte_bg_gen_key(void) GNU_PURE
Definition: effects-weed.c:8976
weed_plant_t * weed_apply_effects(weed_plant_t **layers, weed_plant_t *filter_map, weed_timecode_t tc, int opwidth, int opheight, void ***pchains)
Definition: effects-weed.c:3755
void update_host_info(weed_plant_t *inst)
Definition: effects-weed.c:666
boolean rte_key_is_enabled(int key)
Definition: effects-weed.c:996
values >= 512 are info
Definition: effects-weed.h:36
boolean read_key_defaults(int fd, int nparams, int key, int mode, int version)
Definition: effects-weed.c:11036
Definition: effects-weed.h:26
weed_plant_t * get_enabled_audio_channel(weed_plant_t *inst, int which, boolean is_in)
for FILTER_INST
Definition: effects-weed.c:745
int rte_key_getmode(int key)
returns current active mode for a key (or -1)
Definition: effects-weed.c:8872
char * weed_instance_get_filter_name(weed_plant_t *inst, boolean get_compound_parent) WARN_UNUSED
Definition: effects-weed.c:8927
boolean has_usable_palette(weed_plant_t *chantmpl)
Definition: effects-weed.c:4189
void weed_deinit_effect(int hotkey)
hotkey starts at 1
Definition: effects-weed.c:7183
char * rte_keymode_get_plugin_name(int key, int mode) WARN_UNUSED
returns name of plugin package containing filter_class (or "")
Definition: effects-weed.c:8950
void weed_deinit_all(boolean shutdown)
deinit all active effects
Definition: effects-weed.c:7357
boolean weed_init_effect(int hotkey)
hotkey starts at 1
Definition: effects-weed.c:6712
char * make_weed_hashname(int filter_idx, boolean fullname, boolean use_extra_authors) WARN_UNUSED
fullname includes author and version
Definition: effects-weed.c:10082
boolean weed_parameter_has_variable_elements_strict(weed_plant_t *inst, weed_plant_t *ptmpl)
Definition: effects-weed.c:961
Definition: effects-weed.h:15
Definition: effects-weed.h:43
void weed_memory_init(void)
call weed_init() with mem functions
Definition: effects-weed.c:4937
int rte_get_numfilters(boolean inc_dupes)
Definition: effects-weed.c:9289
lives_fx_list_t
Definition: effects-weed.h:40
boolean has_video_chans_in(weed_plant_t *filter, boolean count_opt)
Definition: effects-weed.c:842
int enabled_out_channels(weed_plant_t *plant, boolean count_repeats)
Definition: effects-weed.c:4260
weed_plant_t * weed_bootstrap_func(weed_default_getter_f *value, int num_versions, int *plugin_versions)
bootstrap function for weed plugins
Definition: effects-weed.c:209
Definition: effects-weed.h:22
Definition: effects-weed.h:19
weed_plant_t * get_textparm()
Definition: effects-weed.c:8997
void filter_mutex_unlock(int key)
Definition: effects-weed.c:128
int num_in_params(weed_plant_t *, boolean skip_hidden, boolean skip_internal)
Definition: effects-weed.c:4122
int enabled_in_channels(weed_plant_t *plant, boolean count_repeats)
Definition: effects-weed.c:4200
int num_out_params(weed_plant_t *)
Definition: effects-weed.c:4173
weed_plant_t * get_enabled_channel(weed_plant_t *inst, int which, boolean is_in)
for FILTER_INST
Definition: effects-weed.c:739
Definition: effects-weed.h:18
boolean has_alpha_palette(weed_plant_t *ctmpl)
Definition: effects-weed.c:306
void backup_weed_instances(void)
for multitrack
Definition: effects-weed.c:609
boolean is_pure_audio(weed_plant_t *filter_or_instance, boolean count_opt)
TRUE if audio in or out and no vid in/out.
Definition: effects-weed.c:950
boolean rte_keymode_valid(int key, int mode, boolean is_userkey)
set to TRUE
Definition: effects-weed.c:8859
char * weed_filter_idx_get_name(int filter_idx) WARN_UNUSED
Definition: effects-weed.c:8912
Definition: effects-weed.h:32
weed_plant_t * weed_filter_out_paramtmpl(weed_plant_t *filter, int param_num)
Definition: effects-weed.c:8281
void weed_load_all(void)
load effects
Definition: effects-weed.c:5052
char * weed_seed_type_to_text(int seed_type)
Definition: effects-weed.c:504
boolean has_non_alpha_palette(weed_plant_t *ctmpl)
Definition: effects-weed.c:284
int get_transition_param(weed_plant_t *filter, boolean skip_internal)
Definition: effects-weed.c:8083
int weed_get_blend_factor(int hotkey)
Definition: effects-weed.c:8624
char * rte_keymode_get_filter_name(int key, int mode) WARN_UNUSED
returns name of filter_class bound to key/mode (or "")
Definition: effects-weed.c:8942
Definition: effects-weed.h:42
boolean has_video_chans_out(weed_plant_t *filter, boolean count_opt)
Definition: effects-weed.c:905
boolean interpolate_params(weed_plant_t *inst, void **pchains, weed_timecode_t tc)
Definition: effects-weed.c:10041
Definition: effects-weed.h:16
weed_plant_t * weed_plant_deserialise(int fd, unsigned char **mem)
Definition: effects-weed.c:10627
void restore_weed_instances(void)
Definition: effects-weed.c:622
int num_alpha_channels(weed_plant_t *filter, boolean out)
Definition: effects-weed.c:521
Definition: effects-weed.h:30
void set_key_defaults(weed_plant_t *inst, int key, int mode)
Definition: effects-weed.c:11239
Definition: effects-weed.h:24
boolean weed_filter_is_resizer(weed_plant_t *filt)
Definition: effects-weed.c:774
void weed_unload_all(void)
unload all effects
Definition: effects-weed.c:5943
void filter_mutex_lock(int key)
Definition: effects-weed.c:122
int * weed_get_indices_from_template(const char *package_name, const char *filter_name, const char *author, int version)
Definition: effects-weed.c:10254
boolean has_perchannel_multiw(weed_plant_t *filter)
Definition: effects-weed.c:8143
void set_param_gui_readonly(weed_plant_t *inst)
Definition: effects-weed.c:1387
#define GNU_PURE
Definition: main.h:299
weed_plant_t * weed_instance_get_filter(weed_plant_t *inst, boolean get_compound_parent)
Definition: effects-weed.c:328
boolean weed_plant_serialise(int fd, weed_plant_t *plant, unsigned char **mem)
Definition: effects-weed.c:10386
Definition: effects-weed.h:31
void weed_reinit_all(void)
Definition: effects-weed.c:1535
boolean has_video_filters(boolean analysers_only)
Definition: effects-weed.c:4087
int count_simple_params(weed_plant_t *)
Definition: effects-weed.c:8347
Definition: effects-weed.h:23
void weed_bg_generator_end(weed_plant_t *inst)
Definition: effects-weed.c:7799
void weed_instance_ref(weed_plant_t *inst)
Definition: effects-weed.c:6152
weed_plant_t * add_filter_deinit_events(weed_plant_t *event_list)
Definition: effects-weed.c:1037
Definition: effects-weed.h:29
Definition: effects-weed.h:21
void weed_instance_unref(weed_plant_t *inst)
Definition: effects-weed.c:6145
char * weed_error_to_text(int error)
Definition: effects-weed.c:337
Definition: effects-weed.h:33
lives_filter_error_t weed_apply_audio_instance(weed_plant_t *init_event, float **abuf, int nbtracks, int nchans, int64_t nsamps, double arate, weed_timecode_t tc, double *vis)
Definition: effects-weed.c:3262
void weed_apply_audio_effects(weed_plant_t *filter_map, float **abuf, int nbtracks, int nchans, int64_t nsamps, double arate, weed_timecode_t tc, double *vis)
Definition: effects-weed.c:3905
Definition: effects-weed.h:20
boolean is_audio_channel_in(weed_plant_t *inst, int chnum)
Definition: effects-weed.c:796
boolean write_generator_sizes(int fd, int idx)
Definition: effects-weed.c:10842
Definition: effects-weed.h:17
int num_compound_fx(weed_plant_t *plant)
return number of filters in a compound fx (1 if it is not compound) - works for filter or inst ...
Definition: effects-weed.c:270
#define WARN_UNUSED
Definition: main.h:298
lives_filter_error_t weed_reinit_effect(weed_plant_t *inst, boolean reinit_compound)
Definition: effects-weed.c:1441
char * rte_keymode_get_type(int key, int mode) WARN_UNUSED
returns a string filter/instance type (or "")
Definition: effects-weed.c:8721
void write_key_defaults(int fd, int key, int mode)
Definition: effects-weed.c:11187
int get_next_free_key(void)
next free "key" for the multitrack system
Definition: effects-weed.c:8770
int rte_keymode_get_filter_idx(int key, int mode)
returns filter_class index of key/mode (or -1 if no filter bound)
Definition: effects-weed.c:8866
Definition: effects-weed.h:41
void weed_in_params_free(weed_plant_t **parameters, int num_parameters)
Definition: effects-weed.c:6091
lives_fx_cat_t weed_filter_subcategorise(weed_plant_t *pl, lives_fx_cat_t category, boolean count_opt)
Definition: effects-weed.c:473
boolean has_key_defaults(void)
Definition: effects-weed.c:11278
weed_plant_t * weed_inst_out_param(weed_plant_t *inst, int param_num)
Definition: effects-weed.c:8218
boolean read_filter_defaults(int fd)
Definition: effects-weed.c:10723