Lines Matching refs:chantmpl

1047   weed_plant_t *chantmpl = weed_channel_get_template(channel);  in set_channel_size()  local
1061 if (check_ctmpl && weed_plant_has_leaf(chantmpl, WEED_LEAF_WIDTH)) { in set_channel_size()
1062 get_fixed_channel_size(chantmpl, &width, &height); in set_channel_size()
1067 if (weed_plant_has_leaf(chantmpl, WEED_LEAF_HOST_WIDTH)) { in set_channel_size()
1068 width = weed_get_int_value(chantmpl, WEED_LEAF_HOST_WIDTH, NULL); in set_channel_size()
1075 if (check_ctmpl && weed_plant_has_leaf(chantmpl, WEED_LEAF_MAXWIDTH)) { in set_channel_size()
1076 max = weed_get_int_value(chantmpl, WEED_LEAF_MAXWIDTH, NULL); in set_channel_size()
1082 if (check_ctmpl && weed_plant_has_leaf(chantmpl, WEED_LEAF_MINWIDTH)) { in set_channel_size()
1083 min = weed_get_int_value(chantmpl, WEED_LEAF_MINWIDTH, NULL); in set_channel_size()
1098 if (check_ctmpl && weed_plant_has_leaf(chantmpl, WEED_LEAF_HEIGHT)) { in set_channel_size()
1099 get_fixed_channel_size(chantmpl, &width, &height); in set_channel_size()
1104 if (weed_plant_has_leaf(chantmpl, WEED_LEAF_HOST_HEIGHT)) { in set_channel_size()
1105 height = weed_get_int_value(chantmpl, WEED_LEAF_HOST_HEIGHT, NULL); in set_channel_size()
1112 if (check_ctmpl && weed_plant_has_leaf(chantmpl, WEED_LEAF_MAXHEIGHT)) { in set_channel_size()
1113 max = weed_get_int_value(chantmpl, WEED_LEAF_MAXHEIGHT, NULL); in set_channel_size()
1119 if (check_ctmpl && weed_plant_has_leaf(chantmpl, WEED_LEAF_MINHEIGHT)) { in set_channel_size()
1120 min = weed_get_int_value(chantmpl, WEED_LEAF_MINHEIGHT, NULL); in set_channel_size()
1527 weed_plant_t *chantmpl = weed_get_plantptr_value(in_channels[i], WEED_LEAF_TEMPLATE, NULL); in check_cconx() local
1528 … if (weed_plant_has_leaf(chantmpl, WEED_LEAF_MAX_REPEATS) || (weed_chantmpl_is_optional(chantmpl))) in check_cconx()
1591 weed_plant_t **in_channels = NULL, **out_channels = NULL, *channel, *chantmpl; in weed_apply_instance() local
1781 chantmpl = weed_get_plantptr_value(channel, WEED_LEAF_TEMPLATE, NULL); in weed_apply_instance()
1782 … if (weed_plant_has_leaf(chantmpl, WEED_LEAF_MAX_REPEATS) || (weed_chantmpl_is_optional(chantmpl))) in weed_apply_instance()
1806 chantmpl = weed_get_plantptr_value(channel, WEED_LEAF_TEMPLATE, NULL); in weed_apply_instance()
1807 …if (weed_plant_has_leaf(chantmpl, WEED_LEAF_MAX_REPEATS) || (weed_chantmpl_is_optional(chantmpl)))… in weed_apply_instance()
1829 chantmpl = weed_channel_get_template(in_channels[i]); in weed_apply_instance()
1832 if (chantmpl == in_ctmpls[j]) { in weed_apply_instance()
2066 chantmpl = weed_channel_get_template(channel); in weed_apply_instance()
2067 channel_flags = weed_chantmpl_get_flags(chantmpl); in weed_apply_instance()
2145 chantmpl = weed_channel_get_template(channel); in weed_apply_instance()
2146 channel_flags = weed_chantmpl_get_flags(chantmpl); in weed_apply_instance()
2165 chantmpl = weed_channel_get_template(channel); in weed_apply_instance()
2166 channel_flags |= weed_chantmpl_get_flags(chantmpl); in weed_apply_instance()
2190 palettes = weed_chantmpl_get_palette_list(filter, chantmpl, &num_palettes); in weed_apply_instance()
2229 if (pvary && weed_plant_has_leaf(chantmpl, WEED_LEAF_YUV_CLAMPING)) { in weed_apply_instance()
2230 oclamping = weed_get_int_value(chantmpl, WEED_LEAF_YUV_CLAMPING, NULL); in weed_apply_instance()
2246 if (pvary && weed_plant_has_leaf(chantmpl, WEED_LEAF_YUV_SAMPLING)) { in weed_apply_instance()
2247 osampling = weed_get_int_value(chantmpl, WEED_LEAF_YUV_SAMPLING, NULL); in weed_apply_instance()
2262 if (pvary && weed_plant_has_leaf(chantmpl, WEED_LEAF_YUV_SUBSPACE)) { in weed_apply_instance()
2263 osubspace = weed_get_int_value(chantmpl, WEED_LEAF_YUV_SUBSPACE, NULL); in weed_apply_instance()
2281 palettes = weed_chantmpl_get_palette_list(filter, chantmpl, &num_palettes); in weed_apply_instance()
2471 chantmpl = weed_channel_get_template(channel); in weed_apply_instance()
2472 channel_flags = weed_chantmpl_get_flags(chantmpl); in weed_apply_instance()
2492 palettes = weed_chantmpl_get_palette_list(filter, chantmpl, &num_palettes); in weed_apply_instance()
2522 palettes = weed_chantmpl_get_palette_list(filter, chantmpl, &num_palettes); in weed_apply_instance()
2541 width = weed_get_int_value(chantmpl, WEED_LEAF_HOST_WIDTH, NULL); in weed_apply_instance()
2543 height = weed_get_int_value(chantmpl, WEED_LEAF_HOST_HEIGHT, NULL); in weed_apply_instance()
2717 weed_plant_t *channel, **channels, *chantmpl, **ctmpls = NULL, *layer; in enable_disable_channels() local
2742 chantmpl = weed_channel_get_template(channel); in enable_disable_channels()
2743 if (weed_chantmpl_get_max_repeats(chantmpl) != 1) { in enable_disable_channels()
2769 chantmpl = weed_channel_get_template(channels[i]); in enable_disable_channels()
2771 if (chantmpl == ctmpls[j]) { in enable_disable_channels()
2857 weed_plant_t **in_channels = NULL, **out_channels = NULL, *channel, *chantmpl; in weed_apply_audio_instance_inner() local
2928 chantmpl = weed_channel_get_template(channel); in weed_apply_audio_instance_inner()
2929 channel_flags = weed_chantmpl_get_flags(chantmpl); in weed_apply_audio_instance_inner()
3976 boolean has_usable_palette(weed_plant_t *chantmpl) { in has_usable_palette() argument
3977 int palette = weed_get_int_value(chantmpl, WEED_LEAF_CURRENT_PALETTE, NULL); in has_usable_palette()
4023 weed_plant_t *chantmpl; in enabled_in_channels() local
4025 if (is_template) chantmpl = channels[i]; in enabled_in_channels()
4026 else chantmpl = weed_get_plantptr_value(channels[i], WEED_LEAF_TEMPLATE, NULL); in enabled_in_channels()
4029 … !has_usable_palette(chantmpl)) continue; // channel was disabled because palette is unusable 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()
4066 else chantmpl = weed_get_plantptr_value(channels[i], WEED_LEAF_TEMPLATE, NULL); in enabled_out_channels()
4069 … !has_usable_palette(chantmpl)) continue; // channel was disabled because palette is unusable in enabled_out_channels()
6353 weed_plant_t *channel, *chantmpl; in set_default_channel_sizes() local
6366 chantmpl = weed_get_plantptr_value(channel, WEED_LEAF_TEMPLATE, NULL); in set_default_channel_sizes()
6367 if (weed_chantmpl_is_audio(chantmpl) == WEED_FALSE) { in set_default_channel_sizes()
6385 chantmpl = weed_channel_get_template(channel); in set_default_channel_sizes()
6386 if (weed_chantmpl_is_audio(chantmpl) == WEED_FALSE) { in set_default_channel_sizes()
7561 weed_plant_t *chantmpl = weed_channel_get_template(channel); in check_filter_chain_palettes() local
7562 int *plist = weed_chantmpl_get_palette_list(filter, chantmpl, &nvals); in check_filter_chain_palettes()
7610 weed_plant_t *chantmpl; in weed_layer_create_from_generator() local
7652 chantmpl = weed_channel_get_template(channel); in weed_layer_create_from_generator()
7653 palette_list = weed_chantmpl_get_palette_list(filter, chantmpl, &npals); in weed_layer_create_from_generator()
7694 chantmpl = weed_channel_get_template(channel); in weed_layer_create_from_generator()
7695 channel_flags = weed_chantmpl_get_flags(chantmpl); in weed_layer_create_from_generator()
7770 if (weed_plant_has_leaf(chantmpl, WEED_LEAF_HOST_WIDTH)) { in weed_layer_create_from_generator()
7771 xwidth = weed_get_int_value(chantmpl, WEED_LEAF_HOST_WIDTH, NULL); in weed_layer_create_from_generator()
7773 if (weed_plant_has_leaf(chantmpl, WEED_LEAF_HOST_HEIGHT)) { in weed_layer_create_from_generator()
7774 xheight = weed_get_int_value(chantmpl, WEED_LEAF_HOST_HEIGHT, NULL); in weed_layer_create_from_generator()