209#ifndef INCLUDED_FREI0R_H
210#define INCLUDED_FREI0R_H
220#ifdef FREI0R_BUNDLE_PLUGIN_TOKEN
221#define F0R_BUNDLE_CONCAT_INNER(left, right) left##right
222#define F0R_BUNDLE_CONCAT(left, right) F0R_BUNDLE_CONCAT_INNER(left, right)
223#define F0R_BUNDLE_ENTRY(name) \
224 F0R_BUNDLE_CONCAT(FREI0R_BUNDLE_PLUGIN_TOKEN, F0R_BUNDLE_CONCAT(_, name))
226#define f0r_init F0R_BUNDLE_ENTRY(f0r_init)
227#define f0r_deinit F0R_BUNDLE_ENTRY(f0r_deinit)
228#define f0r_get_plugin_info F0R_BUNDLE_ENTRY(f0r_get_plugin_info)
229#define f0r_get_param_info F0R_BUNDLE_ENTRY(f0r_get_param_info)
230#define f0r_construct F0R_BUNDLE_ENTRY(f0r_construct)
231#define f0r_destruct F0R_BUNDLE_ENTRY(f0r_destruct)
232#define f0r_set_param_value F0R_BUNDLE_ENTRY(f0r_set_param_value)
233#define f0r_get_param_value F0R_BUNDLE_ENTRY(f0r_get_param_value)
234#define f0r_update F0R_BUNDLE_ENTRY(f0r_update)
235#define f0r_update2 F0R_BUNDLE_ENTRY(f0r_update2)
239#if defined(_WIN32) || defined(__CYGWIN__)
241#elif defined(__GNUC__) && __GNUC__ >= 4
242#define FREI0R_PUBLIC __attribute__((visibility("hidden")))
257#if defined(_WIN32) || defined(__CYGWIN__)
258#if defined(FREI0R_PLUGIN)
259#define FREI0R_PUBLIC __declspec(dllexport)
263#elif defined(__GNUC__) && __GNUC__ >= 4
264#define FREI0R_PUBLIC __attribute__((visibility("default")))
273#define FREI0R_MAJOR_VERSION 1
278#define FREI0R_MINOR_VERSION 2
303#define F0R_PLUGIN_TYPE_FILTER 0
305#define F0R_PLUGIN_TYPE_SOURCE 1
307#define F0R_PLUGIN_TYPE_MIXER2 2
309#define F0R_PLUGIN_TYPE_MIXER3 3
355#define F0R_COLOR_MODEL_BGRA8888 0
364#define F0R_COLOR_MODEL_RGBA8888 1
378#define F0R_COLOR_MODEL_PACKED32 2
433#define F0R_PARAM_BOOL 0
439#define F0R_PARAM_DOUBLE 1
445#define F0R_PARAM_COLOR 2
450#define F0R_PARAM_POSITION 3
456#define F0R_PARAM_STRING 4
635 double time,
const uint32_t* inframe, uint32_t* outframe);
662 const uint32_t* inframe1,
663 const uint32_t* inframe2,
664 const uint32_t* inframe3,
FREI0R_PUBLIC f0r_instance_t f0r_construct(unsigned int width, unsigned int height)
FREI0R_PUBLIC void f0r_get_param_info(f0r_param_info_t *info, int param_index)
FREI0R_PUBLIC int f0r_init(void)
struct f0r_param_info f0r_param_info_t
FREI0R_PUBLIC void f0r_get_param_value(f0r_instance_t instance, f0r_param_t param, int param_index)
FREI0R_PUBLIC void f0r_deinit(void)
FREI0R_PUBLIC void f0r_update(f0r_instance_t instance, double time, const uint32_t *inframe, uint32_t *outframe)
FREI0R_PUBLIC void f0r_set_param_value(f0r_instance_t instance, f0r_param_t param, int param_index)
FREI0R_PUBLIC void f0r_update2(f0r_instance_t instance, double time, const uint32_t *inframe1, const uint32_t *inframe2, const uint32_t *inframe3, uint32_t *outframe)
struct f0r_plugin_info f0r_plugin_info_t
FREI0R_PUBLIC void f0r_get_plugin_info(f0r_plugin_info_t *info)
FREI0R_PUBLIC void f0r_destruct(f0r_instance_t instance)
struct f0r_param_position f0r_param_position_t
struct f0r_param_color f0r_param_color_t