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.
Toshihiro Shimizu 890ddd
void DVAPI getRestrictions(const wstring &codecName, QString &restrictions);
Toshihiro Shimizu 890ddd
//! Returns true if the ginven codec can work in the given resolution.
Toshihiro Shimizu 890ddd
bool DVAPI canWriteMovie(const 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.
Toshihiro Shimizu 890ddd
QMap<wstring, bool=""> DVAPI getUsableCodecs(const TDimension &resolution);</wstring,>
Toshihiro Shimizu 890ddd
//! Returns true if the specifiedcodec can be configured.
Toshihiro Shimizu 890ddd
bool DVAPI canBeConfigured(const wstring &codecName);
Toshihiro Shimizu 890ddd
//! Oopen the configuration popup for the specified codec
Toshihiro Shimizu 890ddd
void DVAPI openConfiguration(const wstring &codecName, void *winId);
Toshihiro Shimizu 890ddd
}
Toshihiro Shimizu 890ddd
Toshihiro Shimizu 890ddd
#endif; //AVI_CODEC_RESTRICTIONS