-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwindow.h
More file actions
42 lines (32 loc) · 810 Bytes
/
window.h
File metadata and controls
42 lines (32 loc) · 810 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#ifndef WINDOW_H
#define WINDOW_H
#include <QWidget>
#include <QApplication>
#include <QDesktopWidget>
#include "decklinkcapturedelegate.h"
#include "DeckLinkAPI.h"
class GLWidget;
class Window : public QWidget
{
Q_OBJECT
public:
Window(int argc, char *argv[]);
~Window();
private:
int processArguments(int argc, char* argv[]);
void usage();
private:
GLWidget *glWidget;
IDeckLink *deckLink;
IDeckLinkInput *deckLinkInput;
IDeckLinkDisplayModeIterator *displayModeIterator;
IDeckLinkIterator *deckLinkIterator;
int card;
BMDTimecodeFormat g_timecodeFormat;
int g_videoModeIndex;
int g_maxFrames;
int displayWidth, displayHeight;
double displayFPS;
BMDTimeValue frameRateDuration, frameRateScale;
};
#endif