FS-10151: [mod_video_filter] Add filters and fg video to mod_video_filter #resolve

This commit is contained in:
Anthony Minessale
2017-03-17 15:16:13 -05:00
parent cd5182c27c
commit e61f6e227c
7 changed files with 180 additions and 47 deletions
+10
View File
@@ -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: