mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
FS-10151: [mod_video_filter] Add filters and fg video to mod_video_filter #resolve
This commit is contained in:
@@ -46,6 +46,14 @@ SWITCH_BEGIN_EXTERN_C
|
||||
|
||||
#define CHROMAKEY_MAX_MASK 25
|
||||
|
||||
typedef enum {
|
||||
SCV_FILTER_GRAY_FG = (1 << 0),
|
||||
SCV_FILTER_GRAY_BG = (1 << 1),
|
||||
SCV_FILTER_SEPIA_FG = (1 << 2),
|
||||
SCV_FILTER_SEPIA_BG = (1 << 3)
|
||||
} switch_core_video_filter_t;
|
||||
|
||||
|
||||
typedef enum {
|
||||
SWITCH_SHADE_NONE = 0,
|
||||
SWITCH_SHADE_RED,
|
||||
@@ -476,6 +484,8 @@ SWITCH_DECLARE(void) switch_chromakey_process(switch_chromakey_t *ck, switch_ima
|
||||
SWITCH_DECLARE(switch_image_t *) switch_chromakey_cache_image(switch_chromakey_t *ck);
|
||||
SWITCH_DECLARE(switch_shade_t) switch_chromakey_str2shade(switch_chromakey_t *ck, const char *shade_name);
|
||||
|
||||
SWITCH_DECLARE(void) switch_core_video_parse_filter_string(switch_core_video_filter_t *filters, const char *filter_str);
|
||||
|
||||
SWITCH_END_EXTERN_C
|
||||
#endif
|
||||
/* For Emacs:
|
||||
|
||||
Reference in New Issue
Block a user