LiVES  3.2.0
Macros | Functions
weed-effects-utils.c File Reference
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include "main.h"
#include <weed/weed-host.h>
#include <weed/weed.h>
#include <weed/weed-utils.h>
#include <weed/weed-effects.h>
#include <weed/weed-palettes.h>
#include "weed-effects-utils.h"

Go to the source code of this file.

Macros

#define WEED_GLOBAL_INLINE   inline
 get_colorspace get_max / min More...
 
#define WEED_LOCAL_INLINE   static inline
 

Functions

WEED_GLOBAL_INLINE int32_t weed_plant_get_type (weed_plant_t *plant)
 
WEED_GLOBAL_INLINE uint32_t weed_leaf_set_flagbits (weed_plant_t *plant, const char *leaf, uint32_t flagbits)
 value ORed with flags More...
 
WEED_GLOBAL_INLINE uint32_t weed_leaf_clear_flagbits (weed_plant_t *plant, const char *leaf, uint32_t flagbits)
 ~value ANDed with flags More...
 
void weed_add_plant_flags (weed_plant_t *plant, uint32_t flags, const char *ign_prefix)
 
void weed_clear_plant_flags (weed_plant_t *plant, uint32_t flags, const char *ign_prefix)
 
WEED_LOCAL_INLINE weed_plant_t * _weed_get_gui (weed_plant_t *plant, int create_if_not_exists)
 
WEED_GLOBAL_INLINE int weed_host_info_get_flags (weed_plant_t *hinfo)
 
WEED_GLOBAL_INLINE void weed_host_info_set_flags (weed_plant_t *hinfo, int flags)
 
WEED_GLOBAL_INLINE void weed_host_set_verbosity (weed_plant_t *hinfo, int verbosity)
 
WEED_GLOBAL_INLINE void weed_host_set_supports_linear_gamma (weed_plant_t *hinfo)
 
WEED_GLOBAL_INLINE void weed_host_set_supports_premult_alpha (weed_plant_t *hinfo)
 
WEED_GLOBAL_INLINE char * weed_plugin_info_get_package_name (weed_plant_t *pinfo)
 
WEED_GLOBAL_INLINE weed_plant_t * weed_filter_get_gui (weed_plant_t *filter, int create_if_not_exists)
 
WEED_GLOBAL_INLINE weed_plant_t * weed_filter_get_plugin_info (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE char * weed_filter_get_package_name (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE weed_plant_t * weed_instance_get_gui (weed_plant_t *inst, int create_if_not_exists)
 
WEED_GLOBAL_INLINE weed_plant_t * weed_paramtmpl_get_gui (weed_plant_t *paramt, int create_if_not_exists)
 
WEED_GLOBAL_INLINE weed_plant_t * weed_param_get_gui (weed_plant_t *param, int create_if_not_exists)
 
WEED_GLOBAL_INLINE int weed_param_is_hidden (weed_plant_t *param, int temporary)
 
WEED_GLOBAL_INLINE int weed_filter_get_flags (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_hints_unstable (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_hints_stateless (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_non_realtime (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_may_thread (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_channel_sizes_vary (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_palettes_vary (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_prefers_linear_gamma (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_prefers_premult_alpha (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_is_converter (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_is_process_last (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_hints_hidden (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE char * weed_filter_get_name (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE weed_plant_t ** weed_filter_get_in_chantmpls (weed_plant_t *filter, int *ntmpls)
 
WEED_GLOBAL_INLINE weed_plant_t ** weed_filter_get_out_chantmpls (weed_plant_t *filter, int *ntmpls)
 
WEED_GLOBAL_INLINE weed_plant_t ** weed_filter_get_in_paramtmpls (weed_plant_t *filter, int *ntmpls)
 
WEED_GLOBAL_INLINE weed_plant_t ** weed_filter_get_out_paramtmpls (weed_plant_t *filter, int *ntmpls)
 
WEED_GLOBAL_INLINE char * weed_chantmpl_get_name (weed_plant_t *chantmpl)
 
WEED_GLOBAL_INLINE int weed_chantmpl_get_flags (weed_plant_t *chantmpl)
 
WEED_GLOBAL_INLINE int weed_chantmpl_get_max_audio_length (weed_plant_t *chantmpl)
 
WEED_GLOBAL_INLINE int weed_paramtmpl_get_flags (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE uint32_t weed_paramtmpl_value_type (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE int weed_paramtmpl_get_type (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE char * weed_paramtmpl_get_name (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE int weed_paramtmpl_has_variable_size (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE int weed_paramtmpl_has_value_perchannel (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE int weed_paramtmpl_does_wrap (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE int weed_paramtmpl_hints_string_choice (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE int weed_paramtmpl_hints_hidden (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE int weed_paramtmpl_value_irrelevant (weed_plant_t *paramtmpl)
 
WEED_GLOBAL_INLINE int weed_chantmpl_is_optional (weed_plant_t *chantmpl)
 
WEED_GLOBAL_INLINE int weed_chantmpl_get_max_repeats (weed_plant_t *chantmpl)
 
WEED_GLOBAL_INLINE int weed_chantmpl_is_audio (weed_plant_t *chantmpl)
 
WEED_GLOBAL_INLINE int * weed_chantmpl_get_palette_list (weed_plant_t *filter, weed_plant_t *chantmpl, int *nvals)
 
WEED_GLOBAL_INLINE void * weed_channel_get_pixel_data (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE void ** weed_channel_get_pixel_data_planar (weed_plant_t *channel, int *nplanes)
 
WEED_GLOBAL_INLINE int weed_channel_get_width (weed_plant_t *channel)
 width in macropixels More...
 
WEED_GLOBAL_INLINE void weed_channel_set_width (weed_plant_t *channel, int width)
 width in macropixels More...
 
WEED_GLOBAL_INLINE int weed_channel_get_width_pixels (weed_plant_t *channel)
 width in pixels: only relevant when comparing widths of diferrent palettes More...
 
WEED_GLOBAL_INLINE int weed_channel_get_height (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE void weed_channel_set_height (weed_plant_t *channel, int height)
 
WEED_GLOBAL_INLINE void weed_channel_set_size (weed_plant_t *channel, int width, int height)
 
WEED_GLOBAL_INLINE void weed_channel_set_palette (weed_plant_t *channel, int palette)
 
WEED_GLOBAL_INLINE int weed_channel_get_palette (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE int weed_channel_get_gamma_type (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE weed_plant_t * weed_channel_set_gamma_type (weed_plant_t *channel, int gamma_type)
 only sets value; no conversion of pixel_data done More...
 
WEED_GLOBAL_INLINE int weed_channel_get_palette_yuv (weed_plant_t *channel, int *clamping, int *sampling, int *subspace)
 
WEED_GLOBAL_INLINE int weed_channel_get_rowstride (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE int * weed_channel_get_rowstrides (weed_plant_t *channel, int *nplanes)
 
WEED_GLOBAL_INLINE int weed_channel_get_audio_rate (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE int weed_channel_get_naudchans (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE int weed_channel_get_audio_length (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE int weed_channel_is_disabled (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE weed_plant_t * weed_channel_get_template (weed_plant_t *channel)
 
WEED_GLOBAL_INLINE weed_plant_t * weed_param_get_template (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int weed_param_get_type (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int weed_param_get_value_type (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int weed_param_has_variable_size (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int weed_param_has_value_perchannel (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int weed_param_value_irrelevant (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int weed_param_does_wrap (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int weed_param_get_nchoices (weed_plant_t *param)
 
WEED_GLOBAL_INLINE float ** weed_channel_get_audio_data (weed_plant_t *channel, int *naudchans)
 
WEED_GLOBAL_INLINE weed_layer_tweed_channel_set_audio_data (weed_plant_t *channel, float **data, int arate, int naudchans, int nsamps)
 
WEED_GLOBAL_INLINE int weed_instance_get_flags (weed_plant_t *inst)
 
WEED_GLOBAL_INLINE void weed_instance_set_flags (weed_plant_t *inst, int flags)
 
WEED_GLOBAL_INLINE weed_plant_t ** weed_instance_get_in_channels (weed_plant_t *instance, int *nchans)
 
WEED_GLOBAL_INLINE weed_plant_t ** weed_instance_get_out_channels (weed_plant_t *instance, int *nchans)
 
WEED_GLOBAL_INLINE weed_plant_t ** weed_instance_get_in_params (weed_plant_t *instance, int *nparams)
 
WEED_GLOBAL_INLINE weed_plant_t ** weed_instance_get_out_params (weed_plant_t *instance, int *nparams)
 
WEED_GLOBAL_INLINE int weed_param_get_value_int (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int weed_param_get_value_boolean (weed_plant_t *param)
 
WEED_GLOBAL_INLINE double weed_param_get_value_double (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int64_t weed_param_get_value_int64 (weed_plant_t *param)
 
WEED_GLOBAL_INLINE char * weed_param_get_value_string (weed_plant_t *param)
 
WEED_GLOBAL_INLINE int weed_gui_get_flags (weed_plant_t *gui)
 gui plants More...
 
char * weed_error_to_text (weed_error_t error)
 
char * weed_seed_type_to_text (uint32_t seed_type)
 
const char * weed_palette_get_name (int pal)
 
const char * weed_yuv_clamping_get_name (int clamping)
 
const char * weed_yuv_subspace_get_name (int subspace)
 
char * weed_palette_get_name_full (int pal, int clamping, int subspace)
 
const char * weed_gamma_get_name (int gamma)
 
double weed_palette_get_compression_ratio (int pal)
 
WEED_GLOBAL_INLINE int weed_filter_is_resizer (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_filter_is_palette_converter (weed_plant_t *filter)
 
WEED_GLOBAL_INLINE int weed_audio_filter_is_resampler (weed_plant_t *filter)
 

Macro Definition Documentation

◆ WEED_GLOBAL_INLINE

#define WEED_GLOBAL_INLINE   inline

get_colorspace get_max / min

Definition at line 37 of file weed-effects-utils.c.

◆ WEED_LOCAL_INLINE

#define WEED_LOCAL_INLINE   static inline

Definition at line 41 of file weed-effects-utils.c.

Function Documentation

◆ _weed_get_gui()

WEED_LOCAL_INLINE weed_plant_t* _weed_get_gui ( weed_plant_t *  plant,
int  create_if_not_exists 
)

◆ weed_add_plant_flags()

void weed_add_plant_flags ( weed_plant_t *  plant,
uint32_t  flags,
const char *  ign_prefix 
)

Definition at line 67 of file weed-effects-utils.c.

Referenced by weed_flagset_array_count(), and weed_params_create().

◆ weed_audio_filter_is_resampler()

WEED_GLOBAL_INLINE int weed_audio_filter_is_resampler ( weed_plant_t *  filter)

Definition at line 832 of file weed-effects-utils.c.

◆ weed_channel_get_audio_data()

WEED_GLOBAL_INLINE float** weed_channel_get_audio_data ( weed_plant_t *  channel,
int *  naudchans 
)

Definition at line 564 of file weed-effects-utils.c.

◆ weed_channel_get_audio_length()

WEED_GLOBAL_INLINE int weed_channel_get_audio_length ( weed_plant_t *  channel)

Definition at line 503 of file weed-effects-utils.c.

◆ weed_channel_get_audio_rate()

WEED_GLOBAL_INLINE int weed_channel_get_audio_rate ( weed_plant_t *  channel)

Definition at line 493 of file weed-effects-utils.c.

◆ weed_channel_get_gamma_type()

WEED_GLOBAL_INLINE int weed_channel_get_gamma_type ( weed_plant_t *  channel)

Definition at line 458 of file weed-effects-utils.c.

◆ weed_channel_get_height()

WEED_GLOBAL_INLINE int weed_channel_get_height ( weed_plant_t *  channel)

Definition at line 432 of file weed-effects-utils.c.

◆ weed_channel_get_naudchans()

WEED_GLOBAL_INLINE int weed_channel_get_naudchans ( weed_plant_t *  channel)

Definition at line 498 of file weed-effects-utils.c.

◆ weed_channel_get_palette()

WEED_GLOBAL_INLINE int weed_channel_get_palette ( weed_plant_t *  channel)

◆ weed_channel_get_palette_yuv()

WEED_GLOBAL_INLINE int weed_channel_get_palette_yuv ( weed_plant_t *  channel,
int *  clamping,
int *  sampling,
int *  subspace 
)

Definition at line 469 of file weed-effects-utils.c.

Referenced by get_palette_name_for_clip().

◆ weed_channel_get_pixel_data()

WEED_GLOBAL_INLINE void* weed_channel_get_pixel_data ( weed_plant_t *  channel)

Definition at line 404 of file weed-effects-utils.c.

◆ weed_channel_get_pixel_data_planar()

WEED_GLOBAL_INLINE void** weed_channel_get_pixel_data_planar ( weed_plant_t *  channel,
int *  nplanes 
)

Definition at line 409 of file weed-effects-utils.c.

◆ weed_channel_get_rowstride()

WEED_GLOBAL_INLINE int weed_channel_get_rowstride ( weed_plant_t *  channel)

Definition at line 482 of file weed-effects-utils.c.

◆ weed_channel_get_rowstrides()

WEED_GLOBAL_INLINE int* weed_channel_get_rowstrides ( weed_plant_t *  channel,
int *  nplanes 
)

Definition at line 487 of file weed-effects-utils.c.

◆ weed_channel_get_template()

WEED_GLOBAL_INLINE weed_plant_t* weed_channel_get_template ( weed_plant_t *  channel)

◆ weed_channel_get_width()

WEED_GLOBAL_INLINE int weed_channel_get_width ( weed_plant_t *  channel)

width in macropixels

width in macropixels

Definition at line 415 of file weed-effects-utils.c.

Referenced by weed_channel_get_width_pixels().

◆ weed_channel_get_width_pixels()

WEED_GLOBAL_INLINE int weed_channel_get_width_pixels ( weed_plant_t *  channel)

width in pixels: only relevant when comparing widths of diferrent palettes

width in pixels: only relevant when comparing widths of diferrent palettes

Definition at line 427 of file weed-effects-utils.c.

◆ weed_channel_is_disabled()

WEED_GLOBAL_INLINE int weed_channel_is_disabled ( weed_plant_t *  channel)

Definition at line 508 of file weed-effects-utils.c.

◆ weed_channel_set_audio_data()

WEED_GLOBAL_INLINE weed_layer_t* weed_channel_set_audio_data ( weed_plant_t *  channel,
float **  data,
int  arate,
int  naudchans,
int  nsamps 
)

Definition at line 570 of file weed-effects-utils.c.

Referenced by get_audio_from_plugin(), and push_audio_to_channel().

◆ weed_channel_set_gamma_type()

WEED_GLOBAL_INLINE weed_plant_t* weed_channel_set_gamma_type ( weed_plant_t *  channel,
int  gamma_type 
)

only sets value; no conversion of pixel_data done

Definition at line 463 of file weed-effects-utils.c.

◆ weed_channel_set_height()

WEED_GLOBAL_INLINE void weed_channel_set_height ( weed_plant_t *  channel,
int  height 
)

Definition at line 437 of file weed-effects-utils.c.

◆ weed_channel_set_palette()

WEED_GLOBAL_INLINE void weed_channel_set_palette ( weed_plant_t *  channel,
int  palette 
)

Definition at line 448 of file weed-effects-utils.c.

◆ weed_channel_set_size()

WEED_GLOBAL_INLINE void weed_channel_set_size ( weed_plant_t *  channel,
int  width,
int  height 
)

Definition at line 442 of file weed-effects-utils.c.

◆ weed_channel_set_width()

WEED_GLOBAL_INLINE void weed_channel_set_width ( weed_plant_t *  channel,
int  width 
)

width in macropixels

width in macropixels

Definition at line 421 of file weed-effects-utils.c.

◆ weed_chantmpl_get_flags()

WEED_GLOBAL_INLINE int weed_chantmpl_get_flags ( weed_plant_t *  chantmpl)

Definition at line 290 of file weed-effects-utils.c.

Referenced by get_audio_from_plugin(), and weed_chantmpl_is_optional().

◆ weed_chantmpl_get_max_audio_length()

WEED_GLOBAL_INLINE int weed_chantmpl_get_max_audio_length ( weed_plant_t *  chantmpl)

Definition at line 295 of file weed-effects-utils.c.

Referenced by push_audio_to_channel().

◆ weed_chantmpl_get_max_repeats()

WEED_GLOBAL_INLINE int weed_chantmpl_get_max_repeats ( weed_plant_t *  chantmpl)

a return value of zero means unlimited repeats

Definition at line 373 of file weed-effects-utils.c.

◆ weed_chantmpl_get_name()

WEED_GLOBAL_INLINE char* weed_chantmpl_get_name ( weed_plant_t *  chantmpl)

Definition at line 285 of file weed-effects-utils.c.

◆ weed_chantmpl_get_palette_list()

WEED_GLOBAL_INLINE int* weed_chantmpl_get_palette_list ( weed_plant_t *  filter,
weed_plant_t *  chantmpl,
int *  nvals 
)

Definition at line 386 of file weed-effects-utils.c.

Referenced by has_alpha_palette(), and has_non_alpha_palette().

◆ weed_chantmpl_is_audio()

WEED_GLOBAL_INLINE int weed_chantmpl_is_audio ( weed_plant_t *  chantmpl)

◆ weed_chantmpl_is_optional()

WEED_GLOBAL_INLINE int weed_chantmpl_is_optional ( weed_plant_t *  chantmpl)

◆ weed_clear_plant_flags()

void weed_clear_plant_flags ( weed_plant_t *  plant,
uint32_t  flags,
const char *  ign_prefix 
)

Definition at line 85 of file weed-effects-utils.c.

Referenced by weed_plant_free_host().

◆ weed_error_to_text()

char* weed_error_to_text ( weed_error_t  error)

Definition at line 647 of file weed-effects-utils.c.

◆ weed_filter_channel_sizes_vary()

WEED_GLOBAL_INLINE int weed_filter_channel_sizes_vary ( weed_plant_t *  filter)

Definition at line 201 of file weed-effects-utils.c.

Referenced by weed_filter_is_resizer().

◆ weed_filter_get_flags()

WEED_GLOBAL_INLINE int weed_filter_get_flags ( weed_plant_t *  filter)

◆ weed_filter_get_gui()

WEED_GLOBAL_INLINE weed_plant_t* weed_filter_get_gui ( weed_plant_t *  filter,
int  create_if_not_exists 
)

Definition at line 146 of file weed-effects-utils.c.

Referenced by weed_filter_hints_hidden().

◆ weed_filter_get_in_chantmpls()

WEED_GLOBAL_INLINE weed_plant_t** weed_filter_get_in_chantmpls ( weed_plant_t *  filter,
int *  ntmpls 
)

◆ weed_filter_get_in_paramtmpls()

WEED_GLOBAL_INLINE weed_plant_t** weed_filter_get_in_paramtmpls ( weed_plant_t *  filter,
int *  ntmpls 
)

◆ weed_filter_get_name()

WEED_GLOBAL_INLINE char* weed_filter_get_name ( weed_plant_t *  filter)

Definition at line 240 of file weed-effects-utils.c.

◆ weed_filter_get_out_chantmpls()

WEED_GLOBAL_INLINE weed_plant_t** weed_filter_get_out_chantmpls ( weed_plant_t *  filter,
int *  ntmpls 
)

◆ weed_filter_get_out_paramtmpls()

WEED_GLOBAL_INLINE weed_plant_t** weed_filter_get_out_paramtmpls ( weed_plant_t *  filter,
int *  ntmpls 
)

Definition at line 263 of file weed-effects-utils.c.

Referenced by weed_params_create().

◆ weed_filter_get_package_name()

WEED_GLOBAL_INLINE char* weed_filter_get_package_name ( weed_plant_t *  filter)

Definition at line 154 of file weed-effects-utils.c.

Referenced by on_rte_info_clicked().

◆ weed_filter_get_plugin_info()

WEED_GLOBAL_INLINE weed_plant_t* weed_filter_get_plugin_info ( weed_plant_t *  filter)

Definition at line 150 of file weed-effects-utils.c.

Referenced by weed_filter_get_package_name().

◆ weed_filter_hints_hidden()

WEED_GLOBAL_INLINE int weed_filter_hints_hidden ( weed_plant_t *  filter)

Definition at line 231 of file weed-effects-utils.c.

◆ weed_filter_hints_stateless()

WEED_GLOBAL_INLINE int weed_filter_hints_stateless ( weed_plant_t *  filter)

Definition at line 186 of file weed-effects-utils.c.

◆ weed_filter_hints_unstable()

WEED_GLOBAL_INLINE int weed_filter_hints_unstable ( weed_plant_t *  filter)

Definition at line 181 of file weed-effects-utils.c.

◆ weed_filter_is_converter()

WEED_GLOBAL_INLINE int weed_filter_is_converter ( weed_plant_t *  filter)

◆ weed_filter_is_palette_converter()

WEED_GLOBAL_INLINE int weed_filter_is_palette_converter ( weed_plant_t *  filter)

Definition at line 827 of file weed-effects-utils.c.

◆ weed_filter_is_process_last()

WEED_GLOBAL_INLINE int weed_filter_is_process_last ( weed_plant_t *  filter)

Definition at line 226 of file weed-effects-utils.c.

Referenced by init_event_is_process_last().

◆ weed_filter_is_resizer()

WEED_GLOBAL_INLINE int weed_filter_is_resizer ( weed_plant_t *  filter)

Definition at line 822 of file weed-effects-utils.c.

Referenced by weed_instance_is_resizer().

◆ weed_filter_may_thread()

WEED_GLOBAL_INLINE int weed_filter_may_thread ( weed_plant_t *  filter)

Definition at line 196 of file weed-effects-utils.c.

◆ weed_filter_non_realtime()

WEED_GLOBAL_INLINE int weed_filter_non_realtime ( weed_plant_t *  filter)

Definition at line 191 of file weed-effects-utils.c.

◆ weed_filter_palettes_vary()

WEED_GLOBAL_INLINE int weed_filter_palettes_vary ( weed_plant_t *  filter)

Definition at line 206 of file weed-effects-utils.c.

Referenced by weed_filter_is_palette_converter().

◆ weed_filter_prefers_linear_gamma()

WEED_GLOBAL_INLINE int weed_filter_prefers_linear_gamma ( weed_plant_t *  filter)

Definition at line 211 of file weed-effects-utils.c.

◆ weed_filter_prefers_premult_alpha()

WEED_GLOBAL_INLINE int weed_filter_prefers_premult_alpha ( weed_plant_t *  filter)

Definition at line 216 of file weed-effects-utils.c.

◆ weed_gamma_get_name()

const char* weed_gamma_get_name ( int  gamma)

Definition at line 774 of file weed-effects-utils.c.

Referenced by do_gamma_import_warn().

◆ weed_gui_get_flags()

WEED_GLOBAL_INLINE int weed_gui_get_flags ( weed_plant_t *  gui)

gui plants

Definition at line 640 of file weed-effects-utils.c.

Referenced by weed_params_to_rfx().

◆ weed_host_info_get_flags()

WEED_GLOBAL_INLINE int weed_host_info_get_flags ( weed_plant_t *  hinfo)

◆ weed_host_info_set_flags()

WEED_GLOBAL_INLINE void weed_host_info_set_flags ( weed_plant_t *  hinfo,
int  flags 
)

◆ weed_host_set_supports_linear_gamma()

WEED_GLOBAL_INLINE void weed_host_set_supports_linear_gamma ( weed_plant_t *  hinfo)

Definition at line 131 of file weed-effects-utils.c.

◆ weed_host_set_supports_premult_alpha()

WEED_GLOBAL_INLINE void weed_host_set_supports_premult_alpha ( weed_plant_t *  hinfo)

Definition at line 136 of file weed-effects-utils.c.

◆ weed_host_set_verbosity()

WEED_GLOBAL_INLINE void weed_host_set_verbosity ( weed_plant_t *  hinfo,
int  verbosity 
)

Definition at line 126 of file weed-effects-utils.c.

◆ weed_instance_get_flags()

WEED_GLOBAL_INLINE int weed_instance_get_flags ( weed_plant_t *  inst)

Definition at line 580 of file weed-effects-utils.c.

◆ weed_instance_get_gui()

WEED_GLOBAL_INLINE weed_plant_t* weed_instance_get_gui ( weed_plant_t *  inst,
int  create_if_not_exists 
)

Definition at line 158 of file weed-effects-utils.c.

Referenced by weed_reinit_effect().

◆ weed_instance_get_in_channels()

WEED_GLOBAL_INLINE weed_plant_t** weed_instance_get_in_channels ( weed_plant_t *  instance,
int *  nchans 
)

◆ weed_instance_get_in_params()

WEED_GLOBAL_INLINE weed_plant_t** weed_instance_get_in_params ( weed_plant_t *  instance,
int *  nparams 
)

◆ weed_instance_get_out_channels()

WEED_GLOBAL_INLINE weed_plant_t** weed_instance_get_out_channels ( weed_plant_t *  instance,
int *  nchans 
)

Definition at line 596 of file weed-effects-utils.c.

Referenced by run_process_func().

◆ weed_instance_get_out_params()

WEED_GLOBAL_INLINE weed_plant_t** weed_instance_get_out_params ( weed_plant_t *  instance,
int *  nparams 
)

Definition at line 608 of file weed-effects-utils.c.

◆ weed_instance_set_flags()

WEED_GLOBAL_INLINE void weed_instance_set_flags ( weed_plant_t *  inst,
int  flags 
)

Definition at line 585 of file weed-effects-utils.c.

◆ weed_leaf_clear_flagbits()

WEED_GLOBAL_INLINE uint32_t weed_leaf_clear_flagbits ( weed_plant_t *  plant,
const char *  leaf,
uint32_t  flagbits 
)

~value ANDed with flags

Definition at line 58 of file weed-effects-utils.c.

Referenced by weed_clear_plant_flags(), and weed_leaf_delete_host().

◆ weed_leaf_set_flagbits()

WEED_GLOBAL_INLINE uint32_t weed_leaf_set_flagbits ( weed_plant_t *  plant,
const char *  leaf,
uint32_t  flagbits 
)

value ORed with flags

Definition at line 49 of file weed-effects-utils.c.

Referenced by weed_add_plant_flags().

◆ weed_palette_get_compression_ratio()

double weed_palette_get_compression_ratio ( int  pal)

Definition at line 803 of file weed-effects-utils.c.

◆ weed_palette_get_name()

const char* weed_palette_get_name ( int  pal)

◆ weed_palette_get_name_full()

char* weed_palette_get_name_full ( int  pal,
int  clamping,
int  subspace 
)

Definition at line 764 of file weed-effects-utils.c.

Referenced by get_palette_name_for_clip(), and open_vid_playback_plugin().

◆ weed_param_does_wrap()

WEED_GLOBAL_INLINE int weed_param_does_wrap ( weed_plant_t *  param)

Definition at line 548 of file weed-effects-utils.c.

◆ weed_param_get_gui()

WEED_GLOBAL_INLINE weed_plant_t* weed_param_get_gui ( weed_plant_t *  param,
int  create_if_not_exists 
)

◆ weed_param_get_nchoices()

WEED_GLOBAL_INLINE int weed_param_get_nchoices ( weed_plant_t *  param)

Definition at line 553 of file weed-effects-utils.c.

◆ weed_param_get_template()

WEED_GLOBAL_INLINE weed_plant_t* weed_param_get_template ( weed_plant_t *  param)

◆ weed_param_get_type()

WEED_GLOBAL_INLINE int weed_param_get_type ( weed_plant_t *  param)

Definition at line 523 of file weed-effects-utils.c.

Referenced by set_copy_to().

◆ weed_param_get_value_boolean()

WEED_GLOBAL_INLINE int weed_param_get_value_boolean ( weed_plant_t *  param)

Definition at line 619 of file weed-effects-utils.c.

◆ weed_param_get_value_double()

WEED_GLOBAL_INLINE double weed_param_get_value_double ( weed_plant_t *  param)

Definition at line 624 of file weed-effects-utils.c.

◆ weed_param_get_value_int()

WEED_GLOBAL_INLINE int weed_param_get_value_int ( weed_plant_t *  param)

Definition at line 614 of file weed-effects-utils.c.

◆ weed_param_get_value_int64()

WEED_GLOBAL_INLINE int64_t weed_param_get_value_int64 ( weed_plant_t *  param)

Definition at line 629 of file weed-effects-utils.c.

◆ weed_param_get_value_string()

WEED_GLOBAL_INLINE char* weed_param_get_value_string ( weed_plant_t *  param)

Definition at line 634 of file weed-effects-utils.c.

◆ weed_param_get_value_type()

WEED_GLOBAL_INLINE int weed_param_get_value_type ( weed_plant_t *  param)

Definition at line 528 of file weed-effects-utils.c.

◆ weed_param_has_value_perchannel()

WEED_GLOBAL_INLINE int weed_param_has_value_perchannel ( weed_plant_t *  param)

Definition at line 538 of file weed-effects-utils.c.

Referenced by set_copy_to().

◆ weed_param_has_variable_size()

WEED_GLOBAL_INLINE int weed_param_has_variable_size ( weed_plant_t *  param)

Definition at line 533 of file weed-effects-utils.c.

Referenced by set_copy_to().

◆ weed_param_is_hidden()

WEED_GLOBAL_INLINE int weed_param_is_hidden ( weed_plant_t *  param,
int  temporary 
)

Definition at line 170 of file weed-effects-utils.c.

Referenced by is_hidden_param(), and on_resetp_clicked().

◆ weed_param_value_irrelevant()

WEED_GLOBAL_INLINE int weed_param_value_irrelevant ( weed_plant_t *  param)

Definition at line 543 of file weed-effects-utils.c.

Referenced by interpolate_param().

◆ weed_paramtmpl_does_wrap()

WEED_GLOBAL_INLINE int weed_paramtmpl_does_wrap ( weed_plant_t *  paramtmpl)

Definition at line 334 of file weed-effects-utils.c.

Referenced by weed_param_does_wrap(), and weed_params_to_rfx().

◆ weed_paramtmpl_get_flags()

WEED_GLOBAL_INLINE int weed_paramtmpl_get_flags ( weed_plant_t *  paramtmpl)

◆ weed_paramtmpl_get_gui()

WEED_GLOBAL_INLINE weed_plant_t* weed_paramtmpl_get_gui ( weed_plant_t *  paramt,
int  create_if_not_exists 
)

◆ weed_paramtmpl_get_name()

WEED_GLOBAL_INLINE char* weed_paramtmpl_get_name ( weed_plant_t *  paramtmpl)

Definition at line 317 of file weed-effects-utils.c.

◆ weed_paramtmpl_get_type()

WEED_GLOBAL_INLINE int weed_paramtmpl_get_type ( weed_plant_t *  paramtmpl)

◆ weed_paramtmpl_has_value_perchannel()

WEED_GLOBAL_INLINE int weed_paramtmpl_has_value_perchannel ( weed_plant_t *  paramtmpl)

Definition at line 328 of file weed-effects-utils.c.

Referenced by weed_param_has_value_perchannel().

◆ weed_paramtmpl_has_variable_size()

WEED_GLOBAL_INLINE int weed_paramtmpl_has_variable_size ( weed_plant_t *  paramtmpl)

◆ weed_paramtmpl_hints_hidden()

WEED_GLOBAL_INLINE int weed_paramtmpl_hints_hidden ( weed_plant_t *  paramtmpl)

Definition at line 351 of file weed-effects-utils.c.

Referenced by weed_param_is_hidden().

◆ weed_paramtmpl_hints_string_choice()

WEED_GLOBAL_INLINE int weed_paramtmpl_hints_string_choice ( weed_plant_t *  paramtmpl)

Definition at line 342 of file weed-effects-utils.c.

◆ weed_paramtmpl_value_irrelevant()

WEED_GLOBAL_INLINE int weed_paramtmpl_value_irrelevant ( weed_plant_t *  paramtmpl)

◆ weed_paramtmpl_value_type()

WEED_GLOBAL_INLINE uint32_t weed_paramtmpl_value_type ( weed_plant_t *  paramtmpl)

Definition at line 305 of file weed-effects-utils.c.

Referenced by weed_param_get_value_type().

◆ weed_plant_get_type()

WEED_GLOBAL_INLINE int32_t weed_plant_get_type ( weed_plant_t *  plant)

Definition at line 44 of file weed-effects-utils.c.

Referenced by _weed_get_gui(), and weed_leaf_set_monitor().

◆ weed_plugin_info_get_package_name()

WEED_GLOBAL_INLINE char* weed_plugin_info_get_package_name ( weed_plant_t *  pinfo)

Definition at line 141 of file weed-effects-utils.c.

Referenced by weed_filter_get_package_name().

◆ weed_seed_type_to_text()

char* weed_seed_type_to_text ( uint32_t  seed_type)

Definition at line 680 of file weed-effects-utils.c.

◆ weed_yuv_clamping_get_name()

const char* weed_yuv_clamping_get_name ( int  clamping)

Definition at line 751 of file weed-effects-utils.c.

Referenced by on_vppa_ok_clicked(), and weed_palette_get_name_full().

◆ weed_yuv_subspace_get_name()

const char* weed_yuv_subspace_get_name ( int  subspace)

Definition at line 757 of file weed-effects-utils.c.

Referenced by weed_palette_get_name_full().