Go to the documentation of this file.
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__