yolobs-studio/plugins/obs-filters/obs-filters.c

58 lines
1.9 KiB
C
Raw Normal View History

2016-02-23 23:16:51 +00:00
#include <obs-module.h>
2016-08-28 12:07:43 +00:00
#include "obs-filters-config.h"
2016-02-23 23:16:51 +00:00
OBS_DECLARE_MODULE()
OBS_MODULE_USE_DEFAULT_LOCALE("obs-filters", "en-US")
2019-07-27 12:47:10 +00:00
MODULE_EXPORT const char *obs_module_description(void)
{
return "OBS core filters";
}
2016-02-23 23:16:51 +00:00
extern struct obs_source_info mask_filter;
extern struct obs_source_info crop_filter;
extern struct obs_source_info gain_filter;
extern struct obs_source_info color_filter;
2016-08-28 12:07:43 +00:00
extern struct obs_source_info scale_filter;
2016-02-23 23:16:51 +00:00
extern struct obs_source_info scroll_filter;
2017-06-29 19:01:10 +00:00
extern struct obs_source_info gpu_delay_filter;
2016-02-23 23:16:51 +00:00
extern struct obs_source_info color_key_filter;
2017-04-19 19:54:15 +00:00
extern struct obs_source_info color_grade_filter;
2016-02-23 23:16:51 +00:00
extern struct obs_source_info sharpness_filter;
extern struct obs_source_info chroma_key_filter;
extern struct obs_source_info async_delay_filter;
2016-08-28 12:07:43 +00:00
#if SPEEXDSP_ENABLED
extern struct obs_source_info noise_suppress_filter;
#endif
2019-07-27 12:47:10 +00:00
extern struct obs_source_info invert_polarity_filter;
2016-02-23 23:16:51 +00:00
extern struct obs_source_info noise_gate_filter;
2017-04-19 19:54:15 +00:00
extern struct obs_source_info compressor_filter;
2019-07-27 12:47:10 +00:00
extern struct obs_source_info limiter_filter;
extern struct obs_source_info expander_filter;
extern struct obs_source_info luma_key_filter;
2016-02-23 23:16:51 +00:00
bool obs_module_load(void)
{
obs_register_source(&mask_filter);
obs_register_source(&crop_filter);
obs_register_source(&gain_filter);
obs_register_source(&color_filter);
2016-08-28 12:07:43 +00:00
obs_register_source(&scale_filter);
2016-02-23 23:16:51 +00:00
obs_register_source(&scroll_filter);
2017-06-29 19:01:10 +00:00
obs_register_source(&gpu_delay_filter);
2016-02-23 23:16:51 +00:00
obs_register_source(&color_key_filter);
2017-04-19 19:54:15 +00:00
obs_register_source(&color_grade_filter);
2016-02-23 23:16:51 +00:00
obs_register_source(&sharpness_filter);
obs_register_source(&chroma_key_filter);
obs_register_source(&async_delay_filter);
2016-08-28 12:07:43 +00:00
#if SPEEXDSP_ENABLED
obs_register_source(&noise_suppress_filter);
#endif
2019-07-27 12:47:10 +00:00
obs_register_source(&invert_polarity_filter);
2016-02-23 23:16:51 +00:00
obs_register_source(&noise_gate_filter);
2017-04-19 19:54:15 +00:00
obs_register_source(&compressor_filter);
2019-07-27 12:47:10 +00:00
obs_register_source(&limiter_filter);
obs_register_source(&expander_filter);
obs_register_source(&luma_key_filter);
2016-02-23 23:16:51 +00:00
return true;
}