8 #ifndef HAS_LIVES_EFFECTS_WEED_H
9 #define HAS_LIVES_EFFECTS_WEED_H
40 weed_plant_t *
weed_bootstrap_func (weed_default_getter_f *value,
int num_versions,
int *plugin_versions);
60 gboolean
is_pure_audio(weed_plant_t *filter_or_instance, gboolean count_opt);
64 #ifdef HAS_LIVES_EFFECTS_H
88 int num_in_params(weed_plant_t *, gboolean count_reinits, gboolean count_variable);
90 weed_plant_t *
weed_inst_in_param (weed_plant_t *inst,
int param_num, gboolean skip_hidden);
103 gboolean
interpolate_param(weed_plant_t *inst,
int i,
void *pchain, weed_timecode_t tc);
114 int set_copy_to(weed_plant_t *inst,
int pnum,
boolean update);
129 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);
131 int opwidth,
int opheight, weed_timecode_t tc);
132 void weed_apply_audio_effects (weed_plant_t *filter_map,
float **abuf,
int nbtracks,
int nchans, int64_t nsamps, gdouble arate,
133 weed_timecode_t tc,
double *vis);
134 void weed_apply_audio_effects_rt(
float **abuf,
int nchans, int64_t nsamps, gdouble arate, weed_timecode_t tc,
boolean analysers_only);
137 gdouble arate, weed_timecode_t tc,
double *vis);
161 #ifdef HAS_LIVES_EFFECTS_H
240 void fill_param_vals_to (weed_plant_t *paramtmpl, weed_plant_t *param,
int pnum,
int hint,
int index);
245 #define WEED_PLANT_IS_PLUGIN_INFO(plant) (weed_get_plant_type(plant)==WEED_PLANT_PLUGIN_INFO?1:0)
246 #define WEED_PLANT_IS_HOST_INFO(plant) (weed_get_plant_type(plant)==WEED_PLANT_HOST_INFO?1:0)
247 #define WEED_PLANT_IS_FILTER_CLASS(plant) (weed_get_plant_type(plant)==WEED_PLANT_FILTER_CLASS?1:0)
248 #define WEED_PLANT_IS_FILTER_INSTANCE(plant) (weed_get_plant_type(plant)==WEED_PLANT_FILTER_INSTANCE?1:0)
249 #define WEED_PLANT_IS_CHANNEL(plant) (weed_get_plant_type(plant)==WEED_PLANT_CHANNEL?1:0)
250 #define WEED_PLANT_IS_CHANNEL_TEMPLATE(plant) (weed_get_plant_type(plant)==WEED_PLANT_CHANNEL_TEMPLATE?1:0)
251 #define WEED_PLANT_IS_PARAMETER(plant) (weed_get_plant_type(plant)==WEED_PLANT_PARAMETER?1:0)
252 #define WEED_PLANT_IS_PARAMETER_TEMPLATE(plant) (weed_get_plant_type(plant)==WEED_PLANT_PARAMETER_TEMPLATE?1:0)
253 #define WEED_PLANT_IS_GUI(plant) (weed_get_plant_type(plant)==WEED_PLANT_GUI?1:0)