forked from leixiaohua1020/VideoEye
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Optplayer.h
86 lines (76 loc) · 2.16 KB
/
Optplayer.h
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/*
*
*
* VideoEye
*
* 雷霄骅 Lei Xiaohua
* leixiaohua1020@126.com
* 中国传媒大学/数字电视技术
* Communication University of China / Digital TV Technology
* http://blog.csdn.net/leixiaohua1020
*
*/
#pragma once
//使用STL
#include <vector>
using std::vector;
// Optplayer 对话框
class Optplayer : public CDialogEx
{
DECLARE_DYNAMIC(Optplayer)
public:
Optplayer(CWnd* pParent = NULL); // 标准构造函数
virtual ~Optplayer();
// 对话框数据
enum { IDD = IDD_OPTPLAYER };
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
//自己添加的
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
public:
CMFCPropertyGridCtrl m_optplayergrid;
CMFCPropertyGridProperty *enable_size;
CMFCPropertyGridProperty *x;
CMFCPropertyGridProperty *y;
CMFCPropertyGridProperty *fs;
CMFCPropertyGridProperty *an;
CMFCPropertyGridProperty *vn;
CMFCPropertyGridProperty *enable_ss;
CMFCPropertyGridProperty *ss;
CMFCPropertyGridProperty *enable_t;
CMFCPropertyGridProperty *t;
CMFCPropertyGridProperty *bytes;
CMFCPropertyGridProperty *nodisp;
CMFCPropertyGridProperty *enable_f;
CMFCPropertyGridProperty *f;
CMFCPropertyGridProperty *enable_pix_fmt;
CMFCPropertyGridProperty *pix_fmt;
CMFCPropertyGridProperty *enable_idct;
CMFCPropertyGridProperty *idct;
CMFCPropertyGridProperty *enable_ec;
CMFCPropertyGridProperty *ec;
CMFCPropertyGridProperty *enable_sync;
CMFCPropertyGridProperty *sync;
CMFCPropertyGridProperty *autoexit;
CMFCPropertyGridProperty *enable_loop;
CMFCPropertyGridProperty *loop;
CMFCPropertyGridProperty *framedrop;
CMFCPropertyGridProperty *infbuf;
CMFCPropertyGridProperty *enable_window_title;
CMFCPropertyGridProperty *window_title;
CMFCPropertyGridProperty *enable_rdftspeed;
CMFCPropertyGridProperty *rdftspeed;
CMFCPropertyGridProperty *enable_showmode;
CMFCPropertyGridProperty *showmode;
CMFCPropertyGridProperty *enable_codec;
CMFCPropertyGridProperty *codec;
afx_msg void OnClickedOptPlayerGrid();
void CheckPropertyEnable();
char** generate_opt_argv();
int generate_opt_argc();
void free_opt_argv(char** charlist,int charlist_size);
vector<CString> opt_argv;
int counter;
afx_msg void OnDestroy();
};