tahoma2d/toonz/sources/include/avicodecrestrictions.h
Shinya Kitaoka 3bfa549e8b remove "using"
- using std::string;
- using std::wstring;
- using std::ostream;
- using std::istream;
- using std::iostream;
- using std::ostrstream;
- using std::istrstream;
- using std::fstream;
2016-04-21 16:23:15 +09:00

37 lines
1.1 KiB
C++

#ifndef AVI_CODEC_RESTRICTIONS
#define AVI_CODEC_RESTRICTIONS
#include "tcommon.h"
#include "tgeometry.h"
#include <QString>
#include <QMap>
#include <QObject>
#undef DVAPI
#undef DVVAR
#ifdef TOONZLIB_EXPORTS
#define DVAPI DV_EXPORT_API
#define DVVAR DV_EXPORT_VAR
#else
#define DVAPI DV_IMPORT_API
#define DVVAR DV_IMPORT_VAR
#endif
namespace AviCodecRestrictions
{
//! Returns a text specifing resolution restricions for the given codec name.
void DVAPI getRestrictions(const std::wstring &codecName, QString &restrictions);
//! Returns true if the ginven codec can work in the given resolution.
bool DVAPI canWriteMovie(const std::wstring &codecName, const TDimension &resolution);
//! Return a mapping containing the same codecs in \b codecNames, specifing which codec can work in the given resolution.
QMap<std::wstring, bool> DVAPI getUsableCodecs(const TDimension &resolution);
//! Returns true if the specifiedcodec can be configured.
bool DVAPI canBeConfigured(const std::wstring &codecName);
//! Oopen the configuration popup for the specified codec
void DVAPI openConfiguration(const std::wstring &codecName, void *winId);
}
#endif; //AVI_CODEC_RESTRICTIONS