18 #ifndef PROXYMANAGER_H
19 #define PROXYMANAGER_H
39 InterlacedTopFieldFirst,
40 InterlacedBottomFieldFirst
44 static QString resource(Mlt::Service& producer);
45 static void generateVideoProxy(Mlt::Producer& producer,
bool fullRange,
46 ScanMode scanMode = Automatic,
const QPoint& aspectRatio = QPoint(),
bool replace =
true);
47 static void generateImageProxy(Mlt::Producer& producer,
bool replace =
true);
48 static bool filterXML(QString& xml, QString root);
49 static bool fileExists(Mlt::Producer& producer);
50 static bool filePending(Mlt::Producer& producer);
51 static bool isValidImage(Mlt::Producer& producer);
52 static bool isValidVideo(Mlt::Producer producer);
53 static bool generateIfNotExists(Mlt::Producer& producer,
bool replace =
true);
54 static const char* videoFilenameExtension();
55 static const char* pendingVideoExtension();
56 static const char* imageFilenameExtension();
57 static const char* pendingImageExtension();
58 static int resolution();
59 static void generateIfNotExistsAll(Mlt::Producer& producer);
60 static bool removePending();
61 static QString GoProProxyFilePath(
const QString& resource);