TuttleOFX  1
LibAVPresetDefinitions.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_PLUGIN_LIBAV_LIBAVPRESETDEFINITIONS_HPP_
00002 #define _TUTTLE_PLUGIN_LIBAV_LIBAVPRESETDEFINITIONS_HPP_
00003 
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 
00008 typedef std::map<std::string, std::vector<std::string> > PresetParameters;
00009 typedef std::vector<std::string> PresetsList;
00010 
00011 enum EPresetType{
00012         eMainPresetType = 0,
00013         eFormatPresetType,
00014         eVideoPresetType,
00015         eAudioPresetType,
00016         eUnknownPresetType
00017 };
00018 
00019 static const std::string kPresetExtension = ".avpreset";
00020 static const std::string kPresetFormatExtension = ".avfpreset";
00021 static const std::string kPresetVideoExtension = ".avvpreset";
00022 static const std::string kPresetAudioExtension = ".avapreset";
00023 static const std::string kPresetLabel = "label";
00024 
00025 static const std::string kPresetSubDirPath = ".libav";
00026 
00027 #ifndef __WINDOWS__
00028 #define DIRLIST_SEP_CHARS ":;"
00029 #else
00030 #define DIRLIST_SEP_CHARS ";"
00031 #endif
00032 
00033 #endif