TuttleOFX  1
CropDefinitions.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_CROP_DEFINITIONS_HPP_
00002 #define _TUTTLE_PLUGIN_CROP_DEFINITIONS_HPP_
00003 
00004 #include <tuttle/plugin/global.hpp>
00005 
00006 namespace tuttle {
00007 namespace plugin {
00008 namespace crop {
00009 
00010 static const bool kSupportTiles              = false;
00011 static const bool kSupportTemporalClipAccess = false;
00012 
00013 
00014 static const std::string kParamMode = "mode";
00015 static const std::string kParamModeCrop = "crop";
00016 static const std::string kParamModeFillColor = "fill";
00017 //static const std::string kParamModeResize = "resize";
00018 enum EParamMode
00019 {
00020         eParamModeCrop = 0,
00021         eParamModeFillColor
00022 //      eParamModeResize
00023 };
00024 static const std::string kParamFillColor = "color";
00025 static const std::string kParamAxis = "axis";
00026 static const std::string kParamAxisXY = "XY";
00027 static const std::string kParamAxisX = "X";
00028 static const std::string kParamAxisY = "Y";
00029 enum EParamAxis
00030 {
00031         eParamAxisXY = 0,
00032         eParamAxisX,
00033         eParamAxisY
00034 };
00035 static const std::string kParamSymmetric = "symmetric";
00036 static const std::string kParamSymmetricNone = "None";
00037 static const std::string kParamSymmetricXY = "XY";
00038 static const std::string kParamSymmetricX = "X";
00039 static const std::string kParamSymmetricY = "Y";
00040 enum EParamSymmetric
00041 {
00042         eParamSymmetricNone = 0,
00043         eParamSymmetricXY,
00044         eParamSymmetricX,
00045         eParamSymmetricY
00046 };
00047 static const std::string kParamFixedRatio = "fixedRatio";
00048 static const std::string kParamRatio = "ratio";
00049 static const std::string kParamPreset = "preset";
00050 static const std::string kParamPreset_custom = "custom";
00051 static const std::string kParamPreset_1_33 = "1.33 (4/3)";
00052 static const std::string kParamPreset_1_77 = "1.77 (16/9)";
00053 static const std::string kParamPreset_1_85 = "1.85";
00054 static const std::string kParamPreset_2_35 = "2.35 (cinemascope)";
00055 static const std::string kParamPreset_2_40 = "2.40";
00056 enum EParamPreset
00057 {
00058         eParamPreset_custom = 0,
00059         eParamPreset_1_33,
00060         eParamPreset_1_77,
00061         eParamPreset_1_85,
00062         eParamPreset_2_35,
00063         eParamPreset_2_40
00064 };
00065 static const std::string kParamOverlay = "overlay";
00066 static const std::string kParamGroupCropRegion = "cropRegion";
00067 static const std::string kParamXMin = "x1";
00068 static const std::string kParamYMin = "y1";
00069 static const std::string kParamXMax = "x2";
00070 static const std::string kParamYMax = "y2";
00071 
00072 
00073 }
00074 }
00075 }
00076 
00077 #endif