LiVES  2.8.9
Macros | Enumerations | Functions | Variables
effects-weed.h File Reference

Go to the source code of this file.

Macros

#define WEED_PLANT_LAYER   WEED_PLANT_CHANNEL
 
#define WEED_LEAF_TYPE   "type"
 
#define WEED_LEAF_PLUGIN_INFO   "plugin_info"
 
#define WEED_LEAF_FILTERS   "filters"
 
#define WEED_LEAF_MAINTAINER   "maintainer"
 
#define WEED_LEAF_HOST_INFO   "host_info"
 
#define WEED_LEAF_API_VERSION   "api_version"
 
#define WEED_LEAF_GET_FUNC   "weed_leaf_get_func"
 
#define WEED_LEAF_SET_FUNC   "weed_leaf_set_func"
 
#define WEED_PLANT_NEW_FUNC   "weed_plant_new_func"
 
#define WEED_PLANT_LIST_LEAVES_FUNC   "weed_plant_list_leaves_func"
 
#define WEED_LEAF_NUM_ELEMENTS_FUNC   "weed_leaf_num_elements_func"
 
#define WEED_LEAF_ELEMENT_SIZE_FUNC   "weed_leaf_element_size_func"
 
#define WEED_LEAF_SEED_TYPE_FUNC   "weed_leaf_seed_type_func"
 
#define WEED_LEAF_GET_FLAGS_FUNC   "weed_leaf_get_flags_func"
 
#define WEED_LEAF_MALLOC_FUNC   "weed_malloc_func"
 
#define WEED_LEAF_FREE_FUNC   "weed_free_func"
 
#define WEED_LEAF_MEMSET_FUNC   "weed_memset_func"
 
#define WEED_LEAF_MEMCPY_FUNC   "weed_memcpy_func"
 
#define WEED_LEAF_INIT_FUNC   "init_func"
 
#define WEED_LEAF_DEINIT_FUNC   "deinit_func"
 
#define WEED_LEAF_PROCESS_FUNC   "process_func"
 
#define WEED_LEAF_DISPLAY_FUNC   "display_func"
 
#define WEED_LEAF_INTERPOLATE_FUNC   "interpolate_func"
 
#define WEED_LEAF_TARGET_FPS   "target_fps"
 
#define WEED_LEAF_GUI   "gui"
 
#define WEED_LEAF_DESCRIPTION   "description"
 
#define WEED_LEAF_AUTHOR   "author"
 
#define WEED_LEAF_EXTRA_AUTHORS   "extra_authors"
 
#define WEED_LEAF_URL   "url"
 
#define WEED_LEAF_ICON   "icon"
 
#define WEED_LEAF_LICENSE   "license"
 
#define WEED_LEAF_COPYRIGHT   "copyright"
 
#define WEED_LEAF_VERSION   "version"
 
#define WEED_LEAF_FILTER_CLASS   "filter_class"
 
#define WEED_LEAF_TIMECODE   "timecode"
 
#define WEED_LEAF_FPS   "fps"
 
#define WEED_LEAF_PIXEL_DATA   "pixel_data"
 
#define WEED_LEAF_WIDTH   "width"
 
#define WEED_LEAF_HEIGHT   "height"
 
#define WEED_LEAF_PALETTE_LIST   "palette_list"
 
#define WEED_LEAF_CURRENT_PALETTE   "current_palette"
 
#define WEED_LEAF_ROWSTRIDES   "rowstrides"
 
#define WEED_LEAF_YUV_SUBSPACE   "YUV_subspace"
 
#define WEED_LEAF_YUV_SAMPLING   "YUV_sampling"
 
#define WEED_LEAF_YUV_CLAMPING   "YUV_clamping"
 
#define WEED_LEAF_IN_CHANNELS   "in_channels"
 
#define WEED_LEAF_OUT_CHANNELS   "out_channels"
 
#define WEED_LEAF_IN_CHANNEL_TEMPLATES   "in_channel_templates"
 
#define WEED_LEAF_OUT_CHANNEL_TEMPLATES   "out_channel_templates"
 
#define WEED_LEAF_OFFSET   "offset"
 
#define WEED_LEAF_HSTEP   "hstep"
 
#define WEED_LEAF_VSTEP   "vstep"
 
#define WEED_LEAF_MAXWIDTH   "maxwidth"
 
#define WEED_LEAF_MAXHEIGHT   "maxheight"
 
#define WEED_LEAF_OPTIONAL   "optional"
 
#define WEED_LEAF_DISABLED   "disabled"
 
#define WEED_LEAF_ALIGNMENT   "alignment"
 
#define WEED_LEAF_TEMPLATE   "template"
 
#define WEED_LEAF_PIXEL_ASPECT_RATIO   "pixel_aspect_ratio"
 
#define WEED_LEAF_ROWSTRIDE_ALIGNMENT_HINT   "rowstride_alignment_hint"
 
#define WEED_LEAF_MAX_REPEATS   "max_repeats"
 
#define WEED_LEAF_IN_PARAMETERS   "in_parameters"
 
#define WEED_LEAF_OUT_PARAMETERS   "out_parameters"
 
#define WEED_LEAF_VALUE   "value"
 
#define WEED_LEAF_FLAGS   "flags"
 
#define WEED_LEAF_HINT   "hint"
 
#define WEED_LEAF_GROUP   "group"
 
#define WEED_LEAF_NAME   "name"
 
#define WEED_LEAF_DEFAULT   "default"
 
#define WEED_LEAF_MIN   "min"
 
#define WEED_LEAF_MAX   "max"
 
#define WEED_LEAF_IGNORE   "ignore"
 
#define WEED_LEAF_NEW_DEFAULT   "new_default"
 
#define WEED_LEAF_COLORSPACE   "colorspace"
 
#define WEED_LEAF_IN_PARAMETER_TEMPLATES   "in_parameter_templates"
 
#define WEED_LEAF_OUT_PARAMETER_TEMPLATES   "out_parameter_templates"
 
#define WEED_LEAF_TRANSITION   "transition"
 
#define WEED_LEAF_IS_VOLUME_MASTER   "is_volume_master"
 
#define WEED_LEAF_IS_AUDIO   "is_audio"
 
#define WEED_LEAF_AUDIO_DATA   "audio_data"
 
#define WEED_LEAF_AUDIO_DATA_LENGTH   "audio_data_length"
 
#define WEED_LEAF_AUDIO_RATE   "audio_rate"
 
#define WEED_LEAF_AUDIO_CHANNELS   "audio_channels"
 
#define WEED_LEAF_AUDIO_INTERLEAF   "audio_interleaf"
 
#define WEED_LEAF_WRAP   "wrap"
 
#define WEED_LEAF_MAXCHARS   "maxchars"
 
#define WEED_LEAF_LABEL   "label"
 
#define WEED_LEAF_DECIMALS   "decimals"
 
#define WEED_LEAF_STEP_SIZE   "step_size"
 
#define WEED_LEAF_CHOICES   "choices"
 
#define WEED_LEAF_USE_MNEMONIC   "use_mnemonic"
 
#define WEED_LEAF_HIDDEN   "hidden"
 
#define WEED_LEAF_DISPLAY_VALUE   "display_value"
 
#define WEED_LEAF_COPY_VALUE_TO   "copy_value_to"
 
#define WEED_LEAF_LAYOUT_SCHEME   "layout_scheme"
 
#define WEED_LEAF_RFX_STRINGS   "rfx_strings"
 
#define WEED_LEAF_RFX_DELIM   "rfx_delim"
 
#define WEED_LEAF_PLUGIN_UNSTABLE   "plugin_unstable"
 
#define WEED_LEAF_HOST_AUDIO_PLAYER   "host_audio_player"
 
#define WEED_LEAF_HOST_ORIG_PDATA   "host_orig_pdata"
 
#define WEED_LEAF_HOST_MENU_HIDE   "host_menu_hide"
 
#define WEED_LEAF_HOST_DEFAULT   "host_default"
 
#define WEED_LEAF_HOST_WIDTH   "host_width"
 
#define WEED_LEAF_HOST_HEIGHT   "host_height"
 
#define WEED_LEAF_HOST_FPS   "host_fps"
 
#define WEED_LEAF_HOST_TAG   "host_tag"
 
#define WEED_LEAF_HOST_KEY   "host_key"
 
#define WEED_LEAF_HOST_MODE   "host_mode"
 
#define WEED_LEAF_HOST_INPLACE   "host_inplace"
 
#define WEED_LEAF_HOST_DISABLED   "host_disabled"
 
#define WEED_LEAF_HOST_TEMP_DISABLED   "host_temp_disabled"
 
#define WEED_LEAF_HOST_REFS   "host_refs"
 
#define WEED_LEAF_HOST_REPEATS   "host_repeats"
 
#define WEED_LEAF_HOST_INITED   "host_inited"
 
#define WEED_LEAF_HOST_INTERNAL_CONNECTION   "host_internal_connection"
 
#define WEED_LEAF_HOST_INTERNAL_CONNECTION_AUTOSCALE   "host_internal_connection_autoscale"
 
#define WEED_LEAF_HOST_NEXT_INSTANCE   "host_next_instance"
 
#define WEED_LEAF_HOST_COMPOUND_CLASS   "host_compound_class"
 
#define WEED_LEAF_HOST_PLUGIN_PATH   "host_plugin_path"
 
#define WEED_LEAF_HOST_HANDLE   "host_handle"
 
#define WEED_LEAF_HOST_FILTER_LIST   "host_filter_list"
 
#define WEED_LEAF_HOST_INSTANCE   "host_instance"
 
#define WEED_LEAF_HOST_IDX   "host_idx"
 
#define WEED_LEAF_CLIP   "clip"
 
#define WEED_LEAF_FRAME   "frame"
 
#define PLUGIN_COMPOUND_EFFECTS_BUILTIN   "effects/compound/"
 
#define PLUGIN_COMPOUND_EFFECTS_CUSTOM   "plugins/effects/compound/"
 
#define WEED_PLANT_IS_PLUGIN_INFO(plant)   (weed_get_plant_type(plant) == WEED_PLANT_PLUGIN_INFO ? 1 : 0)
 
#define WEED_PLANT_IS_HOST_INFO(plant)   (weed_get_plant_type(plant) == WEED_PLANT_HOST_INFO ? 1 : 0)
 
#define WEED_PLANT_IS_FILTER_CLASS(plant)   (weed_get_plant_type(plant) == WEED_PLANT_FILTER_CLASS ? 1 : 0)
 
#define WEED_PLANT_IS_FILTER_INSTANCE(plant)   (weed_get_plant_type(plant) == WEED_PLANT_FILTER_INSTANCE ? 1 : 0)
 
#define WEED_PLANT_IS_CHANNEL(plant)   (weed_get_plant_type(plant) == WEED_PLANT_CHANNEL ? 1 : 0)
 
#define WEED_PLANT_IS_CHANNEL_TEMPLATE(plant)   (weed_get_plant_type(plant) == WEED_PLANT_CHANNEL_TEMPLATE ? 1 : 0)
 
#define WEED_PLANT_IS_PARAMETER(plant)   (weed_get_plant_type(plant) == WEED_PLANT_PARAMETER ? 1 : 0)
 
#define WEED_PLANT_IS_PARAMETER_TEMPLATE(plant)   (weed_get_plant_type(plant) == WEED_PLANT_PARAMETER_TEMPLATE ? 1 : 0)
 
#define WEED_PLANT_IS_GUI(plant)   (weed_get_plant_type(plant) == WEED_PLANT_GUI ? 1 : 0)
 

Enumerations

enum  lives_filter_error_t {
  FILTER_NO_ERROR = 0, FILTER_ERROR_MISSING_LAYER, FILTER_ERROR_BLANK_FRAME, FILTER_ERROR_MISSING_FRAME,
  FILTER_ERROR_INVALID_PALETTE_CONVERSION, FILTER_ERROR_UNABLE_TO_RESIZE, FILTER_ERROR_INVALID_PALETTE_SETTINGS, FILTER_ERROR_COULD_NOT_REINIT,
  FILTER_ERROR_MUST_RELOAD, FILTER_ERROR_NO_IN_CHANNELS, FILTER_ERROR_INVALID_TRACK, FILTER_ERROR_INTERPOLATION_FAILED,
  FILTER_ERROR_INVALID_INSTANCE, FILTER_ERROR_INVALID_FILTER, FILTER_ERROR_INVALID_INIT_EVENT, FILTER_ERROR_IS_AUDIO,
  FILTER_ERROR_IS_SCRAP_FILE, FILTER_ERROR_MISSING_CHANNEL, FILTER_ERROR_TEMPLATE_MISMATCH, FILTER_ERROR_MEMORY_ERROR,
  FILTER_ERROR_DONT_THREAD, FILTER_INFO_REINITED = 512
}
 filter apply errors More...
 
enum  lives_fx_list_t { FX_LIST_NAME, FX_LIST_NAME_AND_TYPE, FX_LIST_HASHNAME }
 

Functions

weed_plant_t * weed_bootstrap_func (weed_default_getter_f *value, int num_versions, int *plugin_versions)
 bootstrap function for weed plugins More...
 
weed_plant_t * get_weed_filter (int filter_idx)
 
char * weed_filter_idx_get_name (int filter_idx) WARN_UNUSED
 
char * weed_instance_get_filter_name (weed_plant_t *inst, boolean get_compound_parent) WARN_UNUSED
 
char * make_weed_hashname (int filter_idx, boolean fullname, boolean use_extra_authors) WARN_UNUSED
 fullname includes author and version More...
 
int weed_get_idx_for_hashname (const char *hashname, boolean fullname)
 fullname includes author and version More...
 
int * weed_get_indices_from_template (const char *package_name, const char *filter_name, const char *author, int version)
 
int enabled_in_channels (weed_plant_t *plant, boolean count_repeats)
 
int enabled_out_channels (weed_plant_t *plant, boolean count_repeats)
 
weed_plant_t * get_enabled_channel (weed_plant_t *inst, int which, boolean is_in)
 for FILTER_INST More...
 
weed_plant_t * get_enabled_audio_channel (weed_plant_t *inst, int which, boolean is_in)
 for FILTER_INST More...
 
weed_plant_t * get_mandatory_channel (weed_plant_t *filter, int which, boolean is_in)
 for FILTER_CLASS More...
 
boolean weed_filter_is_resizer (weed_plant_t *filt)
 
boolean weed_instance_is_resizer (weed_plant_t *filt)
 
weed_plant_t * weed_instance_get_filter (weed_plant_t *inst, boolean get_compound_parent)
 
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 More...
 
void load_compound_fx (void)
 
boolean has_non_alpha_palette (weed_plant_t *ctmpl)
 
boolean has_alpha_palette (weed_plant_t *ctmpl)
 
boolean is_audio_channel_in (weed_plant_t *inst, int chnum)
 
boolean has_video_chans_in (weed_plant_t *filter, boolean count_opt)
 
boolean has_audio_chans_in (weed_plant_t *filter, boolean count_opt)
 
boolean is_audio_channel_out (weed_plant_t *inst, int chnum)
 
boolean has_video_chans_out (weed_plant_t *filter, boolean count_opt)
 
boolean has_audio_chans_out (weed_plant_t *filter, boolean count_opt)
 
boolean is_pure_audio (weed_plant_t *filter_or_instance, boolean count_opt)
 TRUE if audio in or out and no vid in/out. More...
 
boolean has_video_filters (boolean analysers_only)
 
char * weed_seed_type_to_text (int seed_type)
 
char * weed_error_to_text (int error)
 
boolean has_usable_palette (weed_plant_t *chantmpl)
 
int check_weed_palette_list (int *palette_list, int num_palettes, int palette)
 
int weed_call_init_func (weed_plant_t *instance)
 
int weed_call_deinit_func (weed_plant_t *instance)
 
char * cd_to_plugin_dir (weed_plant_t *filter)
 
boolean weed_init_effect (int hotkey)
 hotkey starts at 1 More...
 
void weed_deinit_effect (int hotkey)
 hotkey starts at 1 More...
 
weed_plant_t * weed_instance_from_filter (weed_plant_t *filter)
 
void weed_instance_ref (weed_plant_t *inst)
 
void weed_instance_unref (weed_plant_t *inst)
 
void weed_in_parameters_free (weed_plant_t *inst)
 
void weed_in_params_free (weed_plant_t **parameters, int num_parameters)
 
void add_param_connections (weed_plant_t *inst)
 
lives_filter_error_t weed_reinit_effect (weed_plant_t *inst, boolean reinit_compound)
 
void weed_reinit_all (void)
 
int weed_flagset_array_count (weed_plant_t **array, boolean set_readonly)
 
int num_alpha_channels (weed_plant_t *filter, boolean out)
 
int num_in_params (weed_plant_t *, boolean skip_hidden, boolean skip_internal)
 
int num_out_params (weed_plant_t *)
 
weed_plant_t * weed_inst_in_param (weed_plant_t *inst, int param_num, boolean skip_hidden, boolean skip_internal)
 
weed_plant_t * weed_inst_out_param (weed_plant_t *inst, int param_num)
 
weed_plant_t * weed_filter_in_paramtmpl (weed_plant_t *filter, int param_num, boolean skip_internal)
 
weed_plant_t * weed_filter_out_paramtmpl (weed_plant_t *filter, int param_num)
 
boolean is_hidden_param (weed_plant_t *, int i)
 
int get_nth_simple_param (weed_plant_t *, int pnum)
 
int count_simple_params (weed_plant_t *)
 
weed_plant_t ** weed_params_create (weed_plant_t *filter, boolean in)
 
int get_transition_param (weed_plant_t *filter, boolean skip_internal)
 
int get_master_vol_param (weed_plant_t *filter, boolean skip_internal)
 
boolean is_perchannel_multiw (weed_plant_t *param)
 
boolean has_perchannel_multiw (weed_plant_t *filter)
 
boolean weed_parameter_has_variable_elements_strict (weed_plant_t *inst, weed_plant_t *ptmpl)
 
boolean interpolate_param (weed_plant_t *inst, int i, void *pchain, weed_timecode_t tc)
 parameter interpolation More...
 
boolean interpolate_params (weed_plant_t *inst, void **pchains, weed_timecode_t tc)
 
void filter_mutex_lock (int key)
 
void filter_mutex_unlock (int key)
 
boolean weed_plant_serialise (int fd, weed_plant_t *plant, unsigned char **mem)
 
weed_plant_t * weed_plant_deserialise (int fd, unsigned char **mem)
 
void rec_param_change (weed_plant_t *inst, int pnum)
 record a parameter value change in our event_list More...
 
int set_copy_to (weed_plant_t *inst, int pnum, boolean update)
 
weed_plant_t * get_textparm ()
 
void weed_set_blend_factor (int hotkey)
 
int weed_get_blend_factor (int hotkey)
 
void weed_memory_init (void)
 call weed_init() with mem functions More...
 
void weed_load_all (void)
 load effects More...
 
void weed_unload_all (void)
 unload all effects More...
 
int get_next_free_key (void)
 next free "key" for the multitrack system More...
 
void weed_deinit_all (boolean shutdown)
 deinit all active effects More...
 
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)
 
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)
 
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)
 
void weed_apply_audio_effects_rt (float **abuf, int nchans, int64_t nsamps, double arate, weed_timecode_t tc, boolean analysers_only)
 
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)
 
boolean weed_generator_start (weed_plant_t *inst, int key)
 
void weed_generator_end (weed_plant_t *inst)
 
boolean weed_playback_gen_start (void)
 
void weed_bg_generator_end (weed_plant_t *inst)
 
void wge_inner (weed_plant_t *inst, boolean unref)
 deinit instance(s) for generator More...
 
weed_plant_t * weed_layer_create_from_generator (weed_plant_t *inst, weed_timecode_t tc)
 
weed_plant_t * weed_layer_new ()
 
weed_plant_t * weed_layer_new_for_frame ()
 
void ** weed_layer_get_pixel_data (weed_plant_t *layer)
 
int * weed_layer_get_rowstrides (weed_plant_t *layer)
 
int weed_layer_get_width (weed_plant_t *layer)
 
int weed_layer_get_height (weed_plant_t *layer)
 
int weed_layer_current_palette (weed_plant_t *layer)
 
void backup_weed_instances (void)
 for multitrack More...
 
void restore_weed_instances (void)
 
boolean rte_key_valid (int key, boolean is_userkey)
 returns TRUE if there is a filter bound to active mode of hotkey More...
 
boolean rte_keymode_valid (int key, int mode, boolean is_userkey)
 set to TRUE More...
 
int rte_keymode_get_filter_idx (int key, int mode)
 returns filter_class index of key/mode (or -1 if no filter bound) More...
 
char * rte_keymode_get_filter_name (int key, int mode) WARN_UNUSED
 returns name of filter_class bound to key/mode (or "") More...
 
char * rte_keymode_get_plugin_name (int key, int mode) WARN_UNUSED
 returns name of plugin package containing filter_class (or "") More...
 
char * rte_keymode_get_type (int key, int mode) WARN_UNUSED
 returns a string filter/instance type (or "") More...
 
weed_plant_t * rte_keymode_get_instance (int key, int mode)
 returns filter_instance bound to key/mode (or NULL) More...
 
weed_plant_t * rte_keymode_get_filter (int key, int mode)
 returns filter_class bound to key/mode (or NULL) More...
 
boolean weed_delete_effectkey (int key, int mode)
 unbinds a filter_class from a key/mode More...
 
int weed_add_effectkey (int key, const char *hashname, boolean fullname)
 bind a filter_class to key/mode using its hashname More...
 
int weed_add_effectkey_by_idx (int key, int idx)
 see description More...
 
int rte_key_getmode (int key)
 returns current active mode for a key (or -1) More...
 
int rte_key_getmaxmode (int key)
 returns highest mode which is set More...
 
weed_plant_t * get_new_inst_for_keymode (int key, int mode)
 get new inst (during recording playback) More...
 
boolean rte_key_setmode (int key, int newmode)
 set mode for a given key; if key==0 then the active key is used More...
 
int rte_switch_keymode (int key, int mode, const char *hashname)
 
int rte_getmodespk (void) __attribute__((__pure__))
 
LiVESList * weed_get_all_names (lives_fx_list_t list_type)
 
int rte_get_numfilters (boolean inc_dupes)
 
void free_key_defaults (int key, int mode)
 
void apply_key_defaults (weed_plant_t *inst, int key, int mode)
 
void write_key_defaults (int fd, int key, int mode)
 
boolean read_key_defaults (int fd, int nparams, int key, int mode, int version)
 
void set_key_defaults (weed_plant_t *inst, int key, int mode)
 
boolean has_key_defaults (void)
 
void rte_swap_fg_bg (void)
 
int rte_bg_gen_key (void) GNU_PURE
 
int rte_fg_gen_key (void) GNU_PURE
 
int rte_bg_gen_mode (void) GNU_PURE
 
int rte_fg_gen_mode (void) GNU_PURE
 
char * get_weed_display_string (weed_plant_t *inst, int pnum)
 
weed_plant_t * add_filter_deinit_events (weed_plant_t *event_list)
 
weed_plant_t * add_filter_init_events (weed_plant_t *event_list, weed_timecode_t tc)
 
void deinit_render_effects (void)
 
boolean write_filter_defaults (int fd, int idx)
 
boolean read_filter_defaults (int fd)
 
boolean write_generator_sizes (int fd, int idx)
 
boolean read_generator_sizes (int fd)
 
int step_val (int val, int step)
 
void set_param_gui_readwrite (weed_plant_t *inst)
 
void set_param_gui_readonly (weed_plant_t *inst)
 
void weed_add_plant_flags (weed_plant_t *plant, int flags)
 
void update_host_info (weed_plant_t *inst)
 
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. More...
 

Variables

int weed_general_error
 

Macro Definition Documentation

◆ PLUGIN_COMPOUND_EFFECTS_BUILTIN

#define PLUGIN_COMPOUND_EFFECTS_BUILTIN   "effects/compound/"

◆ PLUGIN_COMPOUND_EFFECTS_CUSTOM

#define PLUGIN_COMPOUND_EFFECTS_CUSTOM   "plugins/effects/compound/"

◆ WEED_LEAF_ALIGNMENT

#define WEED_LEAF_ALIGNMENT   "alignment"

◆ WEED_LEAF_API_VERSION

#define WEED_LEAF_API_VERSION   "api_version"

◆ WEED_LEAF_AUDIO_CHANNELS

#define WEED_LEAF_AUDIO_CHANNELS   "audio_channels"

◆ WEED_LEAF_AUDIO_DATA

#define WEED_LEAF_AUDIO_DATA   "audio_data"

◆ WEED_LEAF_AUDIO_DATA_LENGTH

#define WEED_LEAF_AUDIO_DATA_LENGTH   "audio_data_length"

◆ WEED_LEAF_AUDIO_INTERLEAF

#define WEED_LEAF_AUDIO_INTERLEAF   "audio_interleaf"

◆ WEED_LEAF_AUDIO_RATE

#define WEED_LEAF_AUDIO_RATE   "audio_rate"

◆ WEED_LEAF_AUTHOR

#define WEED_LEAF_AUTHOR   "author"

◆ WEED_LEAF_CHOICES

#define WEED_LEAF_CHOICES   "choices"

◆ WEED_LEAF_CLIP

#define WEED_LEAF_CLIP   "clip"

◆ WEED_LEAF_COLORSPACE

#define WEED_LEAF_COLORSPACE   "colorspace"

◆ WEED_LEAF_COPY_VALUE_TO

#define WEED_LEAF_COPY_VALUE_TO   "copy_value_to"

◆ WEED_LEAF_COPYRIGHT

#define WEED_LEAF_COPYRIGHT   "copyright"

◆ WEED_LEAF_CURRENT_PALETTE

#define WEED_LEAF_CURRENT_PALETTE   "current_palette"

◆ WEED_LEAF_DECIMALS

#define WEED_LEAF_DECIMALS   "decimals"

◆ WEED_LEAF_DEFAULT

#define WEED_LEAF_DEFAULT   "default"

◆ WEED_LEAF_DEINIT_FUNC

#define WEED_LEAF_DEINIT_FUNC   "deinit_func"

◆ WEED_LEAF_DESCRIPTION

#define WEED_LEAF_DESCRIPTION   "description"

◆ WEED_LEAF_DISABLED

#define WEED_LEAF_DISABLED   "disabled"

◆ WEED_LEAF_DISPLAY_FUNC

#define WEED_LEAF_DISPLAY_FUNC   "display_func"

◆ WEED_LEAF_DISPLAY_VALUE

#define WEED_LEAF_DISPLAY_VALUE   "display_value"

◆ WEED_LEAF_ELEMENT_SIZE_FUNC

#define WEED_LEAF_ELEMENT_SIZE_FUNC   "weed_leaf_element_size_func"

◆ WEED_LEAF_EXTRA_AUTHORS

#define WEED_LEAF_EXTRA_AUTHORS   "extra_authors"

◆ WEED_LEAF_FILTER_CLASS

#define WEED_LEAF_FILTER_CLASS   "filter_class"

◆ WEED_LEAF_FILTERS

#define WEED_LEAF_FILTERS   "filters"

◆ WEED_LEAF_FLAGS

#define WEED_LEAF_FLAGS   "flags"

◆ WEED_LEAF_FPS

#define WEED_LEAF_FPS   "fps"

◆ WEED_LEAF_FRAME

#define WEED_LEAF_FRAME   "frame"

◆ WEED_LEAF_FREE_FUNC

#define WEED_LEAF_FREE_FUNC   "weed_free_func"

◆ WEED_LEAF_GET_FLAGS_FUNC

#define WEED_LEAF_GET_FLAGS_FUNC   "weed_leaf_get_flags_func"

◆ WEED_LEAF_GET_FUNC

#define WEED_LEAF_GET_FUNC   "weed_leaf_get_func"

◆ WEED_LEAF_GROUP

#define WEED_LEAF_GROUP   "group"

◆ WEED_LEAF_GUI

#define WEED_LEAF_GUI   "gui"

◆ WEED_LEAF_HEIGHT

#define WEED_LEAF_HEIGHT   "height"

◆ WEED_LEAF_HIDDEN

#define WEED_LEAF_HIDDEN   "hidden"

◆ WEED_LEAF_HINT

#define WEED_LEAF_HINT   "hint"

◆ WEED_LEAF_HOST_AUDIO_PLAYER

#define WEED_LEAF_HOST_AUDIO_PLAYER   "host_audio_player"

◆ WEED_LEAF_HOST_COMPOUND_CLASS

#define WEED_LEAF_HOST_COMPOUND_CLASS   "host_compound_class"

◆ WEED_LEAF_HOST_DEFAULT

#define WEED_LEAF_HOST_DEFAULT   "host_default"

◆ WEED_LEAF_HOST_DISABLED

#define WEED_LEAF_HOST_DISABLED   "host_disabled"

◆ WEED_LEAF_HOST_FILTER_LIST

#define WEED_LEAF_HOST_FILTER_LIST   "host_filter_list"

◆ WEED_LEAF_HOST_FPS

#define WEED_LEAF_HOST_FPS   "host_fps"

◆ WEED_LEAF_HOST_HANDLE

#define WEED_LEAF_HOST_HANDLE   "host_handle"

◆ WEED_LEAF_HOST_HEIGHT

#define WEED_LEAF_HOST_HEIGHT   "host_height"

◆ WEED_LEAF_HOST_IDX

#define WEED_LEAF_HOST_IDX   "host_idx"

◆ WEED_LEAF_HOST_INFO

#define WEED_LEAF_HOST_INFO   "host_info"

◆ WEED_LEAF_HOST_INITED

#define WEED_LEAF_HOST_INITED   "host_inited"

◆ WEED_LEAF_HOST_INPLACE

#define WEED_LEAF_HOST_INPLACE   "host_inplace"

◆ WEED_LEAF_HOST_INSTANCE

#define WEED_LEAF_HOST_INSTANCE   "host_instance"

◆ WEED_LEAF_HOST_INTERNAL_CONNECTION

#define WEED_LEAF_HOST_INTERNAL_CONNECTION   "host_internal_connection"

◆ WEED_LEAF_HOST_INTERNAL_CONNECTION_AUTOSCALE

#define WEED_LEAF_HOST_INTERNAL_CONNECTION_AUTOSCALE   "host_internal_connection_autoscale"

◆ WEED_LEAF_HOST_KEY

#define WEED_LEAF_HOST_KEY   "host_key"

◆ WEED_LEAF_HOST_MENU_HIDE

#define WEED_LEAF_HOST_MENU_HIDE   "host_menu_hide"

◆ WEED_LEAF_HOST_MODE

#define WEED_LEAF_HOST_MODE   "host_mode"

◆ WEED_LEAF_HOST_NEXT_INSTANCE

#define WEED_LEAF_HOST_NEXT_INSTANCE   "host_next_instance"

◆ WEED_LEAF_HOST_ORIG_PDATA

#define WEED_LEAF_HOST_ORIG_PDATA   "host_orig_pdata"

◆ WEED_LEAF_HOST_PLUGIN_PATH

#define WEED_LEAF_HOST_PLUGIN_PATH   "host_plugin_path"

◆ WEED_LEAF_HOST_REFS

#define WEED_LEAF_HOST_REFS   "host_refs"

◆ WEED_LEAF_HOST_REPEATS

#define WEED_LEAF_HOST_REPEATS   "host_repeats"

◆ WEED_LEAF_HOST_TAG

#define WEED_LEAF_HOST_TAG   "host_tag"

◆ WEED_LEAF_HOST_TEMP_DISABLED

#define WEED_LEAF_HOST_TEMP_DISABLED   "host_temp_disabled"

◆ WEED_LEAF_HOST_WIDTH

#define WEED_LEAF_HOST_WIDTH   "host_width"

◆ WEED_LEAF_HSTEP

#define WEED_LEAF_HSTEP   "hstep"

◆ WEED_LEAF_ICON

#define WEED_LEAF_ICON   "icon"

◆ WEED_LEAF_IGNORE

#define WEED_LEAF_IGNORE   "ignore"

◆ WEED_LEAF_IN_CHANNEL_TEMPLATES

#define WEED_LEAF_IN_CHANNEL_TEMPLATES   "in_channel_templates"

◆ WEED_LEAF_IN_CHANNELS

#define WEED_LEAF_IN_CHANNELS   "in_channels"

◆ WEED_LEAF_IN_PARAMETER_TEMPLATES

#define WEED_LEAF_IN_PARAMETER_TEMPLATES   "in_parameter_templates"

◆ WEED_LEAF_IN_PARAMETERS

#define WEED_LEAF_IN_PARAMETERS   "in_parameters"

◆ WEED_LEAF_INIT_FUNC

#define WEED_LEAF_INIT_FUNC   "init_func"

◆ WEED_LEAF_INTERPOLATE_FUNC

#define WEED_LEAF_INTERPOLATE_FUNC   "interpolate_func"

◆ WEED_LEAF_IS_AUDIO

#define WEED_LEAF_IS_AUDIO   "is_audio"

◆ WEED_LEAF_IS_VOLUME_MASTER

#define WEED_LEAF_IS_VOLUME_MASTER   "is_volume_master"

◆ WEED_LEAF_LABEL

#define WEED_LEAF_LABEL   "label"

◆ WEED_LEAF_LAYOUT_SCHEME

#define WEED_LEAF_LAYOUT_SCHEME   "layout_scheme"

◆ WEED_LEAF_LICENSE

#define WEED_LEAF_LICENSE   "license"

◆ WEED_LEAF_MAINTAINER

#define WEED_LEAF_MAINTAINER   "maintainer"

◆ WEED_LEAF_MALLOC_FUNC

#define WEED_LEAF_MALLOC_FUNC   "weed_malloc_func"

◆ WEED_LEAF_MAX

#define WEED_LEAF_MAX   "max"

◆ WEED_LEAF_MAX_REPEATS

#define WEED_LEAF_MAX_REPEATS   "max_repeats"

◆ WEED_LEAF_MAXCHARS

#define WEED_LEAF_MAXCHARS   "maxchars"

◆ WEED_LEAF_MAXHEIGHT

#define WEED_LEAF_MAXHEIGHT   "maxheight"

◆ WEED_LEAF_MAXWIDTH

#define WEED_LEAF_MAXWIDTH   "maxwidth"

◆ WEED_LEAF_MEMCPY_FUNC

#define WEED_LEAF_MEMCPY_FUNC   "weed_memcpy_func"

◆ WEED_LEAF_MEMSET_FUNC

#define WEED_LEAF_MEMSET_FUNC   "weed_memset_func"

◆ WEED_LEAF_MIN

#define WEED_LEAF_MIN   "min"

◆ WEED_LEAF_NAME

#define WEED_LEAF_NAME   "name"

◆ WEED_LEAF_NEW_DEFAULT

#define WEED_LEAF_NEW_DEFAULT   "new_default"

◆ WEED_LEAF_NUM_ELEMENTS_FUNC

#define WEED_LEAF_NUM_ELEMENTS_FUNC   "weed_leaf_num_elements_func"

◆ WEED_LEAF_OFFSET

#define WEED_LEAF_OFFSET   "offset"

◆ WEED_LEAF_OPTIONAL

#define WEED_LEAF_OPTIONAL   "optional"

◆ WEED_LEAF_OUT_CHANNEL_TEMPLATES

#define WEED_LEAF_OUT_CHANNEL_TEMPLATES   "out_channel_templates"

◆ WEED_LEAF_OUT_CHANNELS

#define WEED_LEAF_OUT_CHANNELS   "out_channels"

◆ WEED_LEAF_OUT_PARAMETER_TEMPLATES

#define WEED_LEAF_OUT_PARAMETER_TEMPLATES   "out_parameter_templates"

◆ WEED_LEAF_OUT_PARAMETERS

#define WEED_LEAF_OUT_PARAMETERS   "out_parameters"

◆ WEED_LEAF_PALETTE_LIST

#define WEED_LEAF_PALETTE_LIST   "palette_list"

◆ WEED_LEAF_PIXEL_ASPECT_RATIO

#define WEED_LEAF_PIXEL_ASPECT_RATIO   "pixel_aspect_ratio"

◆ WEED_LEAF_PIXEL_DATA

#define WEED_LEAF_PIXEL_DATA   "pixel_data"

◆ WEED_LEAF_PLUGIN_INFO

#define WEED_LEAF_PLUGIN_INFO   "plugin_info"

◆ WEED_LEAF_PLUGIN_UNSTABLE

#define WEED_LEAF_PLUGIN_UNSTABLE   "plugin_unstable"

◆ WEED_LEAF_PROCESS_FUNC

#define WEED_LEAF_PROCESS_FUNC   "process_func"

◆ WEED_LEAF_RFX_DELIM

#define WEED_LEAF_RFX_DELIM   "rfx_delim"

◆ WEED_LEAF_RFX_STRINGS

#define WEED_LEAF_RFX_STRINGS   "rfx_strings"

◆ WEED_LEAF_ROWSTRIDE_ALIGNMENT_HINT

#define WEED_LEAF_ROWSTRIDE_ALIGNMENT_HINT   "rowstride_alignment_hint"

◆ WEED_LEAF_ROWSTRIDES

#define WEED_LEAF_ROWSTRIDES   "rowstrides"

◆ WEED_LEAF_SEED_TYPE_FUNC

#define WEED_LEAF_SEED_TYPE_FUNC   "weed_leaf_seed_type_func"

◆ WEED_LEAF_SET_FUNC

#define WEED_LEAF_SET_FUNC   "weed_leaf_set_func"

◆ WEED_LEAF_STEP_SIZE

#define WEED_LEAF_STEP_SIZE   "step_size"

◆ WEED_LEAF_TARGET_FPS

#define WEED_LEAF_TARGET_FPS   "target_fps"

◆ WEED_LEAF_TEMPLATE

#define WEED_LEAF_TEMPLATE   "template"

◆ WEED_LEAF_TIMECODE

#define WEED_LEAF_TIMECODE   "timecode"

◆ WEED_LEAF_TRANSITION

#define WEED_LEAF_TRANSITION   "transition"

◆ WEED_LEAF_TYPE

#define WEED_LEAF_TYPE   "type"

◆ WEED_LEAF_URL

#define WEED_LEAF_URL   "url"

◆ WEED_LEAF_USE_MNEMONIC

#define WEED_LEAF_USE_MNEMONIC   "use_mnemonic"

◆ WEED_LEAF_VALUE

#define WEED_LEAF_VALUE   "value"

◆ WEED_LEAF_VERSION

#define WEED_LEAF_VERSION   "version"

◆ WEED_LEAF_VSTEP

#define WEED_LEAF_VSTEP   "vstep"

◆ WEED_LEAF_WIDTH

#define WEED_LEAF_WIDTH   "width"

◆ WEED_LEAF_WRAP

#define WEED_LEAF_WRAP   "wrap"

◆ WEED_LEAF_YUV_CLAMPING

#define WEED_LEAF_YUV_CLAMPING   "YUV_clamping"

◆ WEED_LEAF_YUV_SAMPLING

#define WEED_LEAF_YUV_SAMPLING   "YUV_sampling"

◆ WEED_LEAF_YUV_SUBSPACE

#define WEED_LEAF_YUV_SUBSPACE   "YUV_subspace"

◆ WEED_PLANT_IS_CHANNEL

#define WEED_PLANT_IS_CHANNEL (   plant)    (weed_get_plant_type(plant) == WEED_PLANT_CHANNEL ? 1 : 0)

◆ WEED_PLANT_IS_CHANNEL_TEMPLATE

#define WEED_PLANT_IS_CHANNEL_TEMPLATE (   plant)    (weed_get_plant_type(plant) == WEED_PLANT_CHANNEL_TEMPLATE ? 1 : 0)

◆ WEED_PLANT_IS_FILTER_CLASS

#define WEED_PLANT_IS_FILTER_CLASS (   plant)    (weed_get_plant_type(plant) == WEED_PLANT_FILTER_CLASS ? 1 : 0)

◆ WEED_PLANT_IS_FILTER_INSTANCE

#define WEED_PLANT_IS_FILTER_INSTANCE (   plant)    (weed_get_plant_type(plant) == WEED_PLANT_FILTER_INSTANCE ? 1 : 0)

◆ WEED_PLANT_IS_GUI

#define WEED_PLANT_IS_GUI (   plant)    (weed_get_plant_type(plant) == WEED_PLANT_GUI ? 1 : 0)

◆ WEED_PLANT_IS_HOST_INFO

#define WEED_PLANT_IS_HOST_INFO (   plant)    (weed_get_plant_type(plant) == WEED_PLANT_HOST_INFO ? 1 : 0)

◆ WEED_PLANT_IS_PARAMETER

#define WEED_PLANT_IS_PARAMETER (   plant)    (weed_get_plant_type(plant) == WEED_PLANT_PARAMETER ? 1 : 0)

◆ WEED_PLANT_IS_PARAMETER_TEMPLATE

#define WEED_PLANT_IS_PARAMETER_TEMPLATE (   plant)    (weed_get_plant_type(plant) == WEED_PLANT_PARAMETER_TEMPLATE ? 1 : 0)

◆ WEED_PLANT_IS_PLUGIN_INFO

#define WEED_PLANT_IS_PLUGIN_INFO (   plant)    (weed_get_plant_type(plant) == WEED_PLANT_PLUGIN_INFO ? 1 : 0)

◆ WEED_PLANT_LAYER

#define WEED_PLANT_LAYER   WEED_PLANT_CHANNEL

◆ WEED_PLANT_LIST_LEAVES_FUNC

#define WEED_PLANT_LIST_LEAVES_FUNC   "weed_plant_list_leaves_func"

◆ WEED_PLANT_NEW_FUNC

#define WEED_PLANT_NEW_FUNC   "weed_plant_new_func"

Enumeration Type Documentation

◆ lives_filter_error_t

filter apply errors

Enumerator
FILTER_NO_ERROR 
FILTER_ERROR_MISSING_LAYER 
FILTER_ERROR_BLANK_FRAME 
FILTER_ERROR_MISSING_FRAME 
FILTER_ERROR_INVALID_PALETTE_CONVERSION 
FILTER_ERROR_UNABLE_TO_RESIZE 
FILTER_ERROR_INVALID_PALETTE_SETTINGS 
FILTER_ERROR_COULD_NOT_REINIT 
FILTER_ERROR_MUST_RELOAD 
FILTER_ERROR_NO_IN_CHANNELS 
FILTER_ERROR_INVALID_TRACK 
FILTER_ERROR_INTERPOLATION_FAILED 
FILTER_ERROR_INVALID_INSTANCE 
FILTER_ERROR_INVALID_FILTER 
FILTER_ERROR_INVALID_INIT_EVENT 
FILTER_ERROR_IS_AUDIO 
FILTER_ERROR_IS_SCRAP_FILE 
FILTER_ERROR_MISSING_CHANNEL 
FILTER_ERROR_TEMPLATE_MISMATCH 
FILTER_ERROR_MEMORY_ERROR 
FILTER_ERROR_DONT_THREAD 
FILTER_INFO_REINITED 

values >= 512 are info

◆ lives_fx_list_t

Enumerator
FX_LIST_NAME 
FX_LIST_NAME_AND_TYPE 
FX_LIST_HASHNAME 

Function Documentation

◆ add_filter_deinit_events()

weed_plant_t* add_filter_deinit_events ( weed_plant_t *  event_list)

◆ add_filter_init_events()

weed_plant_t* add_filter_init_events ( weed_plant_t *  event_list,
weed_timecode_t  tc 
)

◆ add_param_connections()

void add_param_connections ( weed_plant_t *  inst)

◆ apply_key_defaults()

void apply_key_defaults ( weed_plant_t *  inst,
int  key,
int  mode 
)

◆ backup_weed_instances()

void backup_weed_instances ( void  )

for multitrack

◆ cd_to_plugin_dir()

char* cd_to_plugin_dir ( weed_plant_t *  filter)

change directory to plugin installation dir so it can find any data files

returns copy of current directory (before directory change) which should be freed after use

◆ check_weed_palette_list()

int check_weed_palette_list ( int *  palette_list,
int  num_palettes,
int  palette 
)

◆ count_simple_params()

int count_simple_params ( weed_plant_t *  )

◆ deinit_render_effects()

void deinit_render_effects ( void  )

◆ enabled_in_channels()

int enabled_in_channels ( weed_plant_t *  plant,
boolean  count_repeats 
)

◆ enabled_out_channels()

int enabled_out_channels ( weed_plant_t *  plant,
boolean  count_repeats 
)

◆ fill_param_vals_to()

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.

◆ filter_mutex_lock()

void filter_mutex_lock ( int  key)

◆ filter_mutex_unlock()

void filter_mutex_unlock ( int  key)

◆ free_key_defaults()

void free_key_defaults ( int  key,
int  mode 
)

◆ get_enabled_audio_channel()

weed_plant_t* get_enabled_audio_channel ( weed_plant_t *  inst,
int  which,
boolean  is_in 
)

for FILTER_INST

◆ get_enabled_channel()

weed_plant_t* get_enabled_channel ( weed_plant_t *  inst,
int  which,
boolean  is_in 
)

for FILTER_INST

◆ get_mandatory_channel()

weed_plant_t* get_mandatory_channel ( weed_plant_t *  filter,
int  which,
boolean  is_in 
)

for FILTER_CLASS

◆ get_master_vol_param()

int get_master_vol_param ( weed_plant_t *  filter,
boolean  skip_internal 
)

◆ get_new_inst_for_keymode()

weed_plant_t* get_new_inst_for_keymode ( int  key,
int  mode 
)

get new inst (during recording playback)

◆ get_next_free_key()

int get_next_free_key ( void  )

next free "key" for the multitrack system

◆ get_nth_simple_param()

int get_nth_simple_param ( weed_plant_t *  ,
int  pnum 
)

◆ get_textparm()

weed_plant_t* get_textparm ( )

◆ get_transition_param()

int get_transition_param ( weed_plant_t *  filter,
boolean  skip_internal 
)

◆ get_weed_display_string()

char* get_weed_display_string ( weed_plant_t *  inst,
int  pnum 
)

◆ get_weed_filter()

weed_plant_t* get_weed_filter ( int  filter_idx)

◆ has_alpha_palette()

boolean has_alpha_palette ( weed_plant_t *  ctmpl)

< most probably audio

◆ has_audio_chans_in()

boolean has_audio_chans_in ( weed_plant_t *  filter,
boolean  count_opt 
)

◆ has_audio_chans_out()

boolean has_audio_chans_out ( weed_plant_t *  filter,
boolean  count_opt 
)

◆ has_key_defaults()

boolean has_key_defaults ( void  )

◆ has_non_alpha_palette()

boolean has_non_alpha_palette ( weed_plant_t *  ctmpl)

< most probably audio

◆ has_perchannel_multiw()

boolean has_perchannel_multiw ( weed_plant_t *  filter)

◆ has_usable_palette()

boolean has_usable_palette ( weed_plant_t *  chantmpl)

◆ has_video_chans_in()

boolean has_video_chans_in ( weed_plant_t *  filter,
boolean  count_opt 
)

◆ has_video_chans_out()

boolean has_video_chans_out ( weed_plant_t *  filter,
boolean  count_opt 
)

◆ has_video_filters()

boolean has_video_filters ( boolean  analysers_only)

◆ interpolate_param()

boolean interpolate_param ( weed_plant_t *  inst,
int  i,
void *  pchain,
weed_timecode_t  tc 
)

parameter interpolation

◆ interpolate_params()

boolean interpolate_params ( weed_plant_t *  inst,
void **  pchains,
weed_timecode_t  tc 
)

◆ is_audio_channel_in()

boolean is_audio_channel_in ( weed_plant_t *  inst,
int  chnum 
)

◆ is_audio_channel_out()

boolean is_audio_channel_out ( weed_plant_t *  inst,
int  chnum 
)

◆ is_hidden_param()

boolean is_hidden_param ( weed_plant_t *  ,
int  i 
)

◆ is_perchannel_multiw()

boolean is_perchannel_multiw ( weed_plant_t *  param)

◆ is_pure_audio()

boolean is_pure_audio ( weed_plant_t *  filter_or_instance,
boolean  count_opt 
)

TRUE if audio in or out and no vid in/out.

◆ load_compound_fx()

void load_compound_fx ( void  )

◆ make_weed_hashname()

char* make_weed_hashname ( int  filter_idx,
boolean  fullname,
boolean  use_extra_authors 
)

fullname includes author and version

◆ num_alpha_channels()

int num_alpha_channels ( weed_plant_t *  filter,
boolean  out 
)

◆ num_compound_fx()

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

◆ num_in_params()

int num_in_params ( weed_plant_t *  ,
boolean  skip_hidden,
boolean  skip_internal 
)

◆ num_out_params()

int num_out_params ( weed_plant_t *  )

◆ read_filter_defaults()

boolean read_filter_defaults ( int  fd)

◆ read_generator_sizes()

boolean read_generator_sizes ( int  fd)

◆ read_key_defaults()

boolean read_key_defaults ( int  fd,
int  nparams,
int  key,
int  mode,
int  version 
)

◆ rec_param_change()

void rec_param_change ( weed_plant_t *  inst,
int  pnum 
)

record a parameter value change in our event_list

◆ restore_weed_instances()

void restore_weed_instances ( void  )

◆ rte_bg_gen_key()

int rte_bg_gen_key ( void  )

◆ rte_bg_gen_mode()

int rte_bg_gen_mode ( void  )

◆ rte_fg_gen_key()

int rte_fg_gen_key ( void  )

◆ rte_fg_gen_mode()

int rte_fg_gen_mode ( void  )

◆ rte_get_numfilters()

int rte_get_numfilters ( boolean  inc_dupes)

◆ rte_getmodespk()

int rte_getmodespk ( void  )

◆ rte_key_getmaxmode()

int rte_key_getmaxmode ( int  key)

returns highest mode which is set

◆ rte_key_getmode()

int rte_key_getmode ( int  key)

returns current active mode for a key (or -1)

◆ rte_key_setmode()

boolean rte_key_setmode ( int  key,
int  newmode 
)

set mode for a given key; if key==0 then the active key is used

returns -1 if the filter is not found; it will match the first name found - returns -2 if you try to switch a generator/non-generator

◆ rte_key_valid()

boolean rte_key_valid ( int  key,
boolean  is_userkey 
)

returns TRUE if there is a filter bound to active mode of hotkey

◆ rte_keymode_get_filter()

weed_plant_t* rte_keymode_get_filter ( int  key,
int  mode 
)

returns filter_class bound to key/mode (or NULL)

◆ rte_keymode_get_filter_idx()

int rte_keymode_get_filter_idx ( int  key,
int  mode 
)

returns filter_class index of key/mode (or -1 if no filter bound)

◆ rte_keymode_get_filter_name()

char* rte_keymode_get_filter_name ( int  key,
int  mode 
)

returns name of filter_class bound to key/mode (or "")

◆ rte_keymode_get_instance()

weed_plant_t* rte_keymode_get_instance ( int  key,
int  mode 
)

returns filter_instance bound to key/mode (or NULL)

◆ rte_keymode_get_plugin_name()

char* rte_keymode_get_plugin_name ( int  key,
int  mode 
)

returns name of plugin package containing filter_class (or "")

◆ rte_keymode_get_type()

char* rte_keymode_get_type ( int  key,
int  mode 
)

returns a string filter/instance type (or "")

◆ rte_keymode_valid()

boolean rte_keymode_valid ( int  key,
int  mode,
boolean  is_userkey 
)

set to TRUE

returns TRUE if a filter_class is bound to key/mode, is_userkey should be

◆ rte_swap_fg_bg()

void rte_swap_fg_bg ( void  )

◆ rte_switch_keymode()

int rte_switch_keymode ( int  key,
int  mode,
const char *  hashname 
)

◆ set_copy_to()

int set_copy_to ( weed_plant_t *  inst,
int  pnum,
boolean  update 
)

◆ set_key_defaults()

void set_key_defaults ( weed_plant_t *  inst,
int  key,
int  mode 
)

◆ set_param_gui_readonly()

void set_param_gui_readonly ( weed_plant_t *  inst)

◆ set_param_gui_readwrite()

void set_param_gui_readwrite ( weed_plant_t *  inst)

◆ step_val()

int step_val ( int  val,
int  step 
)

◆ update_host_info()

void update_host_info ( weed_plant_t *  inst)

◆ weed_add_effectkey()

int weed_add_effectkey ( int  key,
const char *  hashname,
boolean  fullname 
)

bind a filter_class to key/mode using its hashname

◆ weed_add_effectkey_by_idx()

int weed_add_effectkey_by_idx ( int  key,
int  idx 
)

see description

◆ weed_add_plant_flags()

void weed_add_plant_flags ( weed_plant_t *  plant,
int  flags 
)

◆ weed_apply_audio_effects()

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 
)

◆ weed_apply_audio_effects_rt()

void weed_apply_audio_effects_rt ( float **  abuf,
int  nchans,
int64_t  nsamps,
double  arate,
weed_timecode_t  tc,
boolean  analysers_only 
)

◆ weed_apply_audio_instance()

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 
)

◆ weed_apply_effects()

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 
)

◆ weed_apply_instance()

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 
)

◆ weed_bg_generator_end()

void weed_bg_generator_end ( weed_plant_t *  inst)

◆ weed_bootstrap_func()

weed_plant_t* weed_bootstrap_func ( weed_default_getter_f *  value,
int  num_versions,
int *  plugin_versions 
)

bootstrap function for weed plugins

◆ weed_call_deinit_func()

int weed_call_deinit_func ( weed_plant_t *  instance)

◆ weed_call_init_func()

int weed_call_init_func ( weed_plant_t *  instance)

◆ weed_deinit_all()

void weed_deinit_all ( boolean  shutdown)

deinit all active effects

◆ weed_deinit_effect()

void weed_deinit_effect ( int  hotkey)

hotkey starts at 1

◆ weed_delete_effectkey()

boolean weed_delete_effectkey ( int  key,
int  mode 
)

unbinds a filter_class from a key/mode

◆ weed_error_to_text()

char* weed_error_to_text ( int  error)

◆ weed_filter_idx_get_name()

char* weed_filter_idx_get_name ( int  filter_idx)

◆ weed_filter_in_paramtmpl()

weed_plant_t* weed_filter_in_paramtmpl ( weed_plant_t *  filter,
int  param_num,
boolean  skip_internal 
)

◆ weed_filter_is_resizer()

boolean weed_filter_is_resizer ( weed_plant_t *  filt)

◆ weed_filter_out_paramtmpl()

weed_plant_t* weed_filter_out_paramtmpl ( weed_plant_t *  filter,
int  param_num 
)

◆ weed_flagset_array_count()

int weed_flagset_array_count ( weed_plant_t **  array,
boolean  set_readonly 
)

◆ weed_generator_end()

void weed_generator_end ( weed_plant_t *  inst)

◆ weed_generator_start()

boolean weed_generator_start ( weed_plant_t *  inst,
int  key 
)

◆ weed_get_all_names()

LiVESList* weed_get_all_names ( lives_fx_list_t  list_type)

◆ weed_get_blend_factor()

int weed_get_blend_factor ( int  hotkey)

◆ weed_get_idx_for_hashname()

int weed_get_idx_for_hashname ( const char *  hashname,
boolean  fullname 
)

fullname includes author and version

◆ weed_get_indices_from_template()

int* weed_get_indices_from_template ( const char *  package_name,
const char *  filter_name,
const char *  author,
int  version 
)

◆ weed_in_parameters_free()

void weed_in_parameters_free ( weed_plant_t *  inst)

◆ weed_in_params_free()

void weed_in_params_free ( weed_plant_t **  parameters,
int  num_parameters 
)

◆ weed_init_effect()

boolean weed_init_effect ( int  hotkey)

hotkey starts at 1

◆ weed_inst_in_param()

weed_plant_t* weed_inst_in_param ( weed_plant_t *  inst,
int  param_num,
boolean  skip_hidden,
boolean  skip_internal 
)

◆ weed_inst_out_param()

weed_plant_t* weed_inst_out_param ( weed_plant_t *  inst,
int  param_num 
)

◆ weed_instance_from_filter()

weed_plant_t* weed_instance_from_filter ( weed_plant_t *  filter)

◆ weed_instance_get_filter()

weed_plant_t* weed_instance_get_filter ( weed_plant_t *  inst,
boolean  get_compound_parent 
)

◆ weed_instance_get_filter_name()

char* weed_instance_get_filter_name ( weed_plant_t *  inst,
boolean  get_compound_parent 
)

◆ weed_instance_is_resizer()

boolean weed_instance_is_resizer ( weed_plant_t *  filt)

◆ weed_instance_ref()

void weed_instance_ref ( weed_plant_t *  inst)

◆ weed_instance_unref()

void weed_instance_unref ( weed_plant_t *  inst)

◆ weed_layer_create_from_generator()

weed_plant_t* weed_layer_create_from_generator ( weed_plant_t *  inst,
weed_timecode_t  tc 
)

◆ weed_layer_current_palette()

int weed_layer_current_palette ( weed_plant_t *  layer)

◆ weed_layer_get_height()

int weed_layer_get_height ( weed_plant_t *  layer)

◆ weed_layer_get_pixel_data()

void** weed_layer_get_pixel_data ( weed_plant_t *  layer)

◆ weed_layer_get_rowstrides()

int* weed_layer_get_rowstrides ( weed_plant_t *  layer)

◆ weed_layer_get_width()

int weed_layer_get_width ( weed_plant_t *  layer)

◆ weed_layer_new()

weed_plant_t* weed_layer_new ( )

◆ weed_layer_new_for_frame()

weed_plant_t* weed_layer_new_for_frame ( )

◆ weed_load_all()

void weed_load_all ( void  )

load effects

◆ weed_memory_init()

void weed_memory_init ( void  )

call weed_init() with mem functions

◆ weed_parameter_has_variable_elements_strict()

boolean weed_parameter_has_variable_elements_strict ( weed_plant_t *  inst,
weed_plant_t *  ptmpl 
)

see if param has variable elements, using the strictest check

◆ weed_params_create()

weed_plant_t** weed_params_create ( weed_plant_t *  filter,
boolean  in 
)

◆ weed_plant_deserialise()

weed_plant_t* weed_plant_deserialise ( int  fd,
unsigned char **  mem 
)

◆ weed_plant_serialise()

boolean weed_plant_serialise ( int  fd,
weed_plant_t *  plant,
unsigned char **  mem 
)

◆ weed_playback_gen_start()

boolean weed_playback_gen_start ( void  )

◆ weed_reinit_all()

void weed_reinit_all ( void  )

◆ weed_reinit_effect()

lives_filter_error_t weed_reinit_effect ( weed_plant_t *  inst,
boolean  reinit_compound 
)

◆ weed_seed_type_to_text()

char* weed_seed_type_to_text ( int  seed_type)

◆ weed_set_blend_factor()

void weed_set_blend_factor ( int  hotkey)

◆ weed_unload_all()

void weed_unload_all ( void  )

unload all effects

◆ wge_inner()

void wge_inner ( weed_plant_t *  inst,
boolean  unref 
)

deinit instance(s) for generator

◆ write_filter_defaults()

boolean write_filter_defaults ( int  fd,
int  idx 
)

◆ write_generator_sizes()

boolean write_generator_sizes ( int  fd,
int  idx 
)

◆ write_key_defaults()

void write_key_defaults ( int  fd,
int  key,
int  mode 
)

Variable Documentation

◆ weed_general_error

int weed_general_error