Home
last modified time | relevance | path

Searched refs:chantmpl (Results 1 – 6 of 6) sorted by relevance

/dports/multimedia/lives/lives-3.2.0/src/
H A Dweed-effects-utils.c286 if (!WEED_PLANT_IS_CHANNEL_TEMPLATE(chantmpl)) return NULL; in weed_chantmpl_get_name()
287 return weed_get_string_value(chantmpl, WEED_LEAF_NAME, NULL); in weed_chantmpl_get_name()
291 if (!WEED_PLANT_IS_CHANNEL_TEMPLATE(chantmpl)) return 0; in weed_chantmpl_get_flags()
292 return weed_get_int_value(chantmpl, WEED_LEAF_FLAGS, NULL); in weed_chantmpl_get_flags()
296 if (!WEED_PLANT_IS_CHANNEL_TEMPLATE(chantmpl)) return 0; in weed_chantmpl_get_max_audio_length()
368 if (!WEED_PLANT_IS_CHANNEL_TEMPLATE(chantmpl)) return WEED_TRUE; in weed_chantmpl_is_optional()
375 if (!WEED_PLANT_IS_CHANNEL_TEMPLATE(chantmpl)) return -1; in weed_chantmpl_get_max_repeats()
376 if (weed_plant_has_leaf(chantmpl, WEED_LEAF_MAX_REPEATS)) in weed_chantmpl_get_max_repeats()
382 if (!WEED_PLANT_IS_CHANNEL_TEMPLATE(chantmpl)) return WEED_TRUE; in weed_chantmpl_is_audio()
383 return weed_get_boolean_value(chantmpl, WEED_LEAF_IS_AUDIO, NULL); in weed_chantmpl_is_audio()
[all …]
H A Dweed-effects-utils.h107 char *weed_chantmpl_get_name(weed_plant_t *chantmpl);
108 int weed_chantmpl_get_flags(weed_plant_t *chantmpl);
109 int weed_chantmpl_is_optional(weed_plant_t *chantmpl);
110 int weed_chantmpl_is_audio(weed_plant_t *chantmpl);
111 int *weed_chantmpl_get_palette_list(weed_plant_t *filter, weed_plant_t *chantmpl, int *nvals);
114 int weed_chantmpl_get_max_audio_length(weed_plant_t *chantmpl);
117 int weed_chantmpl_get_max_repeats(weed_plant_t *chantmpl);
H A Deffects-weed.c1528 … if (weed_plant_has_leaf(chantmpl, WEED_LEAF_MAX_REPEATS) || (weed_chantmpl_is_optional(chantmpl))) in check_cconx()
1782 … if (weed_plant_has_leaf(chantmpl, WEED_LEAF_MAX_REPEATS) || (weed_chantmpl_is_optional(chantmpl))) in weed_apply_instance()
1807 …if (weed_plant_has_leaf(chantmpl, WEED_LEAF_MAX_REPEATS) || (weed_chantmpl_is_optional(chantmpl)))… in weed_apply_instance()
1832 if (chantmpl == in_ctmpls[j]) { in weed_apply_instance()
2771 if (chantmpl == ctmpls[j]) { in enable_disable_channels()
4023 weed_plant_t *chantmpl; in enabled_in_channels() local
4025 if (is_template) chantmpl = channels[i]; in enabled_in_channels()
4063 weed_plant_t *chantmpl; in enabled_out_channels() local
4065 if (is_template) chantmpl = channels[i]; in enabled_out_channels()
6353 weed_plant_t *channel, *chantmpl; in set_default_channel_sizes() local
[all …]
H A Deffects-weed.h153 boolean has_usable_palette(weed_plant_t *chantmpl);
/dports/multimedia/lives/lives-3.2.0/libweed/
H A Dweed-plugin-utils.h131 FN_DECL void weed_chantmpl_set_flags(weed_plant_t *chantmpl, int flags);
135 FN_DECL void weed_chantmpl_set_name(weed_plant_t *chantmpl, const char *name);
165 FN_DECL int weed_chantmpl_get_flags(weed_plant_t *chantmpl);
/dports/multimedia/lives/lives-3.2.0/lives-plugins/weed-plugins/
H A Dweed-plugin-utils.c239 weed_plant_t *chantmpl = weed_plant_new(WEED_PLANT_CHANNEL_TEMPLATE); in weed_channel_template_init() local
240 if (!chantmpl || !name) return NULL; in weed_channel_template_init()
241 weed_chantmpl_set_name(chantmpl, name); weed_chantmpl_set_flags(chantmpl, flags); in weed_channel_template_init()
242 return chantmpl; in weed_channel_template_init()
525 weed_plant_t *chantmpl = weed_channel_template_init(name, flags); in weed_audio_channel_template_init() local
526 if (chantmpl) weed_leaf_set(chantmpl, WEED_LEAF_IS_AUDIO, WEED_SEED_BOOLEAN, 1, &wtrue); in weed_audio_channel_template_init()
527 return chantmpl; in weed_audio_channel_template_init()