47 #ifndef __WEED_EFFECTS_H__ 48 #define __WEED_EFFECTS_H__ 60 #define WEED_API_VERSION 131 61 #define WEED_API_VERSION_131 64 #define WEED_PLANT_PLUGIN_INFO 1 65 #define WEED_PLANT_FILTER_CLASS 2 66 #define WEED_PLANT_FILTER_INSTANCE 3 67 #define WEED_PLANT_CHANNEL_TEMPLATE 4 68 #define WEED_PLANT_PARAMETER_TEMPLATE 5 69 #define WEED_PLANT_CHANNEL 6 70 #define WEED_PLANT_PARAMETER 7 71 #define WEED_PLANT_GUI 8 72 #define WEED_PLANT_HOST_INFO 255 75 #define WEED_HINT_UNSPECIFIED 0 76 #define WEED_HINT_INTEGER 1 77 #define WEED_HINT_FLOAT 2 78 #define WEED_HINT_TEXT 3 79 #define WEED_HINT_SWITCH 4 80 #define WEED_HINT_COLOR 5 83 #define WEED_COLORSPACE_RGB 1 84 #define WEED_COLORSPACE_RGBA 2 87 #define WEED_FILTER_NON_REALTIME (1<<0) 88 #define WEED_FILTER_IS_CONVERTER (1<<1) 89 #define WEED_FILTER_HINT_IS_STATELESS (1<<2) 90 #define WEED_FILTER_HINT_IS_POINT_EFFECT (1<<3) // deprecated !! 93 #define WEED_FILTER_HINT_MAY_THREAD (1<<5) 96 #define WEED_FILTER_PROCESS_LAST (1<<4) 99 #define WEED_CHANNEL_REINIT_ON_SIZE_CHANGE (1<<0) 102 #define WEED_CHANNEL_REINIT_ON_ROWSTRIDES_CHANGE (1<<6) 103 #define WEED_CHANNEL_OUT_ALPHA_PREMULT (1<<7) 105 #define WEED_CHANNEL_REINIT_ON_PALETTE_CHANGE (1<<1) 106 #define WEED_CHANNEL_CAN_DO_INPLACE (1<<2) 107 #define WEED_CHANNEL_SIZE_CAN_VARY (1<<3) 108 #define WEED_CHANNEL_PALETTE_CAN_VARY (1<<4) 112 #define WEED_CHANNEL_ALPHA_PREMULT (1<<0) 116 #define WEED_PARAMETER_REINIT_ON_VALUE_CHANGE (1<<0) 117 #define WEED_PARAMETER_VARIABLE_ELEMENTS (1<<1) 120 #define WEED_PARAMETER_ELEMENT_PER_CHANNEL (1<<2) 123 #define WEED_ERROR_TOO_MANY_INSTANCES 6 124 #define WEED_ERROR_HARDWARE 7 125 #define WEED_ERROR_INIT_ERROR 8 126 #define WEED_ERROR_PLUGIN_INVALID 64 149 #endif // #ifndef __WEED_EFFECTS_H__ int(* weed_deinit_f)(weed_plant_t *filter_instance)
Definition: weed-effects.h:136
void(* weed_desetup_f)(void)
Definition: weed-effects.h:133
int(* weed_init_f)(weed_plant_t *filter_instance)
Definition: weed-effects.h:134
int(* weed_process_f)(weed_plant_t *filter_instance, weed_timecode_t timestamp)
Definition: weed-effects.h:135
weed_plant_t * weed_setup(weed_bootstrap_f weed_boot)
void(* weed_display_f)(weed_plant_t *parameter)
Definition: weed-effects.h:139
weed_leaf_t weed_plant_t
Definition: weed.h:99
int(* weed_interpolate_f)(weed_plant_t **in_values, weed_plant_t *out_value)
Definition: weed-effects.h:140
int64_t weed_timecode_t
Definition: weed.h:120
int(* weed_default_getter_f)(weed_plant_t *plant, const char *key, int idx, void *value)
Definition: weed.h:123
weed_plant_t *(* weed_bootstrap_f)(weed_default_getter_f *value, int num_versions, int *plugin_versions)
Definition: weed-effects.h:129