TuttleOFX  1
ColorGradationDefinitions.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_COLORGRADATION_DEFINITIONS_HPP_
00002 #define _TUTTLE_PLUGIN_COLORGRADATION_DEFINITIONS_HPP_
00003 
00004 #include <tuttle/plugin/global.hpp>
00005 
00006 namespace tuttle {
00007 namespace plugin {
00008 namespace colorGradation {
00009 
00010 const std::string kParamIn  = "in";
00011 const std::string kParamOut = "out";
00012 
00013 const std::string kParamGradation_linear    = "Linear";
00014 const std::string kParamGradation_sRGB      = "sRGB";
00015 const std::string kParamGradation_Rec709 = "Rec709";
00016 const std::string kParamGradation_cineon    = "Cineon";
00017 const std::string kParamGradation_gamma     = "Gamma";
00018 const std::string kParamGradation_panalog   = "Panalog";
00019 const std::string kParamGradation_REDLog    = "REDLog";
00020 const std::string kParamGradation_ViperLog  = "ViperLog";
00021 const std::string kParamGradation_REDSpace  = "REDSpace";
00022 const std::string kParamGradation_AlexaV3LogC = "AlexaV3LogC";
00023 
00024 //const std::string kParamGradation_rec601  = "rec601";
00025 
00026 enum EParamGradation
00027 {
00028         eParamGradation_linear = 0,
00029         eParamGradation_sRGB,
00030         eParamGradation_Rec709,
00031         eParamGradation_cineon,
00032         eParamGradation_gamma,
00033         eParamGradation_panalog,
00034         eParamGradation_REDLog,
00035         eParamGradation_ViperLog,
00036         eParamGradation_REDSpace,
00037         eParamGradation_AlexaV3LogC
00038         //      eParamGradation_rec601
00039 };
00040 
00041 static const std::string kColorSpaceInGammaValue        = "inGammaValue";
00042 static const std::string kColorSpaceInBlackPoint        = "inBlackPoint";
00043 static const std::string kColorSpaceInWhitePoint        = "inWhitePoint";
00044 static const std::string kColorSpaceInGammaSensito      = "inGammaSensito";
00045 
00046 static const double kColorSpaceInBlackPointDefaultValue = 95;
00047 static const double kColorSpaceInWhitePointDefaultValue = 685;
00048 static const double kColorSpaceInGammaSensitoDefaultValue       = 0.6;
00049 
00050 static const std::string kColorSpaceOutGammaValue       = "outGammaValue";
00051 static const std::string kColorSpaceOutBlackPoint       = "outBlackPoint";
00052 static const std::string kColorSpaceOutWhitePoint       = "outWhitePoint";
00053 static const std::string kColorSpaceOutGammaSensito     = "outGammaSensito";
00054 
00055 const std::string kParamProcessAlpha        = "processAlpha";
00056 const std::string kParamInvert              = "invert";
00057 
00058 }
00059 }
00060 }
00061 
00062 #endif