| #pragma once |
| |
| #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 { |
| |
| |
| void DVAPI getRestrictions(const std::wstring &codecName, |
| QString &restrictions); |
| |
| bool DVAPI canWriteMovie(const std::wstring &codecName, |
| const TDimension &resolution); |
| |
| |
| QMap<std::wstring, bool> DVAPI getUsableCodecs(const TDimension &resolution); |
| |
| bool DVAPI canBeConfigured(const std::wstring &codecName); |
| |
| void DVAPI openConfiguration(const std::wstring &codecName, void *winId); |
| } |
| |
| #endif |