TuttleOFX
1
|
00001 #ifndef _TUTTLE_PLUGIN_COMPONENT_DEFINITIONS_HPP_ 00002 #define _TUTTLE_PLUGIN_COMPONENT_DEFINITIONS_HPP_ 00003 00004 #include <tuttle/plugin/global.hpp> 00005 00006 00007 namespace tuttle { 00008 namespace plugin { 00009 namespace component { 00010 00011 static const std::string kParamTo = "to"; 00012 static const std::string kParamToLabel = "To"; 00013 00014 static const std::string kConvertToGray = "gray"; 00015 static const std::string kConvertToRGB = "rgb"; 00016 static const std::string kConvertToRGBA = "rgba"; 00017 00018 enum EConvertTo{ 00019 eConvertToGray = 0, 00020 eConvertToRGB, 00021 eConvertToRGBA 00022 }; 00023 00024 static const std::string kParamToGray = "toGray"; 00025 static const std::string kParamToGrayLabel = "To Gray"; 00026 00027 static const std::string kConvertToGrayMean = "arithmeticMean (1/3, 1/3, 1/3)"; 00028 static const std::string kConvertToGrayRec601 = "rec601-SD"; 00029 static const std::string kConvertToGrayRec709 = "rec709-HD"; 00030 static const std::string kConvertToGraySelectRed = "red"; 00031 static const std::string kConvertToGraySelectGreen = "green"; 00032 static const std::string kConvertToGraySelectBlue = "blue"; 00033 static const std::string kConvertToGraySelectAlpha = "alpha"; 00034 00035 static const std::string kParamPremutliplied = "premultiplied"; 00036 static const std::string kParamPremutlipliedLabel = "Premultiplied"; 00037 00038 00039 00040 00041 } 00042 } 00043 } 00044 00045 #endif