2017-06-28 21:21:42 +00:00
|
|
|
/*
|
|
|
|
* Modern effects for a modern Streamer
|
2017-08-19 21:41:53 +00:00
|
|
|
* Copyright (C) 2017 Michael Fabian Dirks
|
2017-06-28 21:21:42 +00:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2019-01-14 10:23:21 +00:00
|
|
|
#include "plugin.hpp"
|
2017-06-28 21:21:42 +00:00
|
|
|
|
2019-12-22 07:31:00 +00:00
|
|
|
#define PLUGIN_NAME "StreamFX"
|
2019-09-05 16:42:28 +00:00
|
|
|
|
2019-08-04 14:20:26 +00:00
|
|
|
#define D_TRANSLATE(x) obs_module_text(x)
|
|
|
|
#define D_DESC(x) x ".Description"
|
|
|
|
|
|
|
|
#define S_FILEFILTERS_IMAGE "*.png *.webp *.tga *.tiff *.jpeg *.jpg *.bmp"
|
2019-08-07 18:21:39 +00:00
|
|
|
#define S_FILEFILTERS_TEXTURE S_FILEFILTERS_IMAGE " *.dds"
|
2019-08-04 14:20:26 +00:00
|
|
|
#define S_FILEFILTERS_VIDEO "*.mkv *.webm *.mp4 *.mov *.flv"
|
|
|
|
#define S_FILEFILTERS_SOUND "*.ogg *.flac *.mp3 *.wav"
|
|
|
|
#define S_FILEFILTERS_EFFECT "*.effect *.txt"
|
|
|
|
#define S_FILEFILTERS_ANY "*.*"
|
2019-01-24 19:34:28 +00:00
|
|
|
|
2019-04-02 01:05:05 +00:00
|
|
|
#define S_VERSION "Version"
|
2019-10-16 02:24:18 +00:00
|
|
|
#define S_COMMIT "Commit"
|
2019-04-02 01:05:05 +00:00
|
|
|
|
2018-09-29 13:57:25 +00:00
|
|
|
#define S_ADVANCED "Advanced"
|
2019-01-24 19:34:28 +00:00
|
|
|
|
2019-12-18 05:38:51 +00:00
|
|
|
#define S_STATE_DISABLED "State.Disabled"
|
|
|
|
#define S_STATE_ENABLED "State.Enabled"
|
|
|
|
#define S_STATE_MANUAL "State.Manual"
|
|
|
|
#define S_STATE_AUTOMATIC "State.Automatic"
|
|
|
|
|
2019-01-24 19:34:28 +00:00
|
|
|
#define S_FILETYPE_IMAGE "FileType.Image"
|
|
|
|
#define S_FILETYPE_IMAGES "FileType.Images"
|
|
|
|
#define S_FILETYPE_VIDEO "FileType.Video"
|
|
|
|
#define S_FILETYPE_VIDEOS "FileType.Videos"
|
|
|
|
#define S_FILETYPE_SOUND "FileType.Sound"
|
|
|
|
#define S_FILETYPE_SOUNDS "FileType.Sounds"
|
|
|
|
#define S_FILETYPE_EFFECT "FileType.Effect"
|
|
|
|
#define S_FILETYPE_EFFECTS "FileType.Effects"
|
2018-09-29 13:57:25 +00:00
|
|
|
|
2019-04-27 14:10:16 +00:00
|
|
|
#define S_SOURCETYPE_SOURCE "SourceType.Source"
|
|
|
|
#define S_SOURCETYPE_SCENE "SourceType.Scene"
|
|
|
|
|
2019-05-28 17:55:22 +00:00
|
|
|
#define S_ALIGNMENT_CENTER "Alignment.Center"
|
|
|
|
#define S_ALIGNMENT_LEFT "Alignment.Left"
|
|
|
|
#define S_ALIGNMENT_RIGHT "Alignment.Right"
|
|
|
|
#define S_ALIGNMENT_TOP "Alignment.Top"
|
|
|
|
#define S_ALIGNMENT_BOTTOM "Alignment.Bottom"
|
|
|
|
|
2019-04-02 01:05:05 +00:00
|
|
|
#define S_BLUR_TYPE_BOX "Blur.Type.Box"
|
|
|
|
#define S_BLUR_TYPE_BOX_LINEAR "Blur.Type.BoxLinear"
|
|
|
|
#define S_BLUR_TYPE_GAUSSIAN "Blur.Type.Gaussian"
|
|
|
|
#define S_BLUR_TYPE_GAUSSIAN_LINEAR "Blur.Type.GaussianLinear"
|
|
|
|
#define S_BLUR_TYPE_DUALFILTERING "Blur.Type.DualFiltering"
|
|
|
|
|
|
|
|
#define S_BLUR_SUBTYPE_AREA "Blur.Subtype.Area"
|
|
|
|
#define S_BLUR_SUBTYPE_DIRECTIONAL "Blur.Subtype.Directional"
|
|
|
|
#define S_BLUR_SUBTYPE_ROTATIONAL "Blur.Subtype.Rotational"
|
|
|
|
#define S_BLUR_SUBTYPE_ZOOM "Blur.Subtype.Zoom"
|
|
|
|
|
2019-01-24 19:18:04 +00:00
|
|
|
#define S_MIPGENERATOR "MipGenerator"
|
|
|
|
#define S_MIPGENERATOR_POINT "MipGenerator.Point"
|
|
|
|
#define S_MIPGENERATOR_LINEAR "MipGenerator.Linear"
|
|
|
|
#define S_MIPGENERATOR_SHARPEN "MipGenerator.Sharpen"
|
|
|
|
#define S_MIPGENERATOR_SMOOTHEN "MipGenerator.Smoothen"
|
|
|
|
#define S_MIPGENERATOR_BICUBIC "MipGenerator.Bicubic"
|
|
|
|
#define S_MIPGENERATOR_LANCZOS "MipGenerator.Lanczos"
|
2019-02-10 11:54:33 +00:00
|
|
|
#define S_MIPGENERATOR_INTENSITY "MipGenerator.Intensity"
|
2019-04-27 14:10:16 +00:00
|
|
|
|
|
|
|
#define S_CHANNEL_RED "Channel.Red"
|
|
|
|
#define S_CHANNEL_GREEN "Channel.Green"
|
|
|
|
#define S_CHANNEL_BLUE "Channel.Blue"
|
|
|
|
#define S_CHANNEL_ALPHA "Channel.Alpha"
|