- CaptureHandler(QVBoxLayout *lay, QWidget *parent = 0);
- ~CaptureHandler();
- CDeckLinkGLWidget *previewView;
- void startPreview(int deviceId, int captureMode);
- void stopPreview();
- void startCapture();
- void stopCapture();
- void captureFrame(const QString &fname);
- void showOverlay(QImage img, bool transparent = true);
- void hideOverlay();
- void hidePreview(bool hide);
-
+ BmdCaptureHandler(QVBoxLayout *lay, QWidget *parent = 0);
+ ~BmdCaptureHandler();
+ CDeckLinkGLWidget *previewView;
+ void startPreview(int deviceId, int captureMode, bool audio = true);
+ void stopPreview();
+ void startCapture(const QString &path);
+ void stopCapture();
+ void captureFrame(const QString &fname);
+ void showOverlay(QImage img, bool transparent = true);
+ void hideOverlay();
+ void hidePreview(bool hide);
+ QStringList getDeviceName(QString);
+ void setDevice(const QString input, QString size = QString());
+