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