5 Star 15 Fork 13

Gitee 极速下载 / yuvplayer

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/latelee/YUVPlayer
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
SettingDlg.h 1.90 KB
一键复制 编辑 原始数据 按行查看 历史
#pragma once
extern void find_resolution(char* filename, int& fmt_idx, int& width, int& height);
class CYUVPlayerDlg;
// CSettingDlg 对话框
class CSettingDlg : public CDialogEx
{
DECLARE_DYNAMIC(CSettingDlg)
public:
CSettingDlg(CWnd* pParent = NULL); // 标准构造函数
virtual ~CSettingDlg();
// 对话框数据
enum { IDD = IDD_DIALOG_SETTING };
public:
void SetParentWnd(CYUVPlayerDlg* pWnd) {m_pParentWnd = pWnd;}
void SetParametersToParentWnd(int& width, int& height, int& fps, int& fmt, BOOL& loop)
{
width = m_nWidth;
height = m_nHeight;
fps = m_nFps;
fmt = m_nYuvFormat;
loop = m_fLoop;
}
void SetRegistration(CString& strSize, int width, int height, int fpsidx, int fmt, int loop);
void GetRegistration(CString& strSize, int& width, int& height, int& fpsidx, int& fmt, int& loop);
BOOL ExistRegistration();
void ParseFilename(const char* pFilename);
void UpdateRes();
private:
CYUVPlayerDlg *m_pParentWnd; // 窗口参数传递
CString m_strAddedSize; // 用户自定义的分辨率(含系统已有的)
int m_nFpsIndex;
CStringArray m_strArrAddedSize;
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
DECLARE_MESSAGE_MAP()
public:
afx_msg void OnBnClickedApply();
afx_msg void OnBnClickedCancel();
afx_msg void OnBnClickedOk();
virtual BOOL OnInitDialog();
CComboBox m_cbFps;
CComboBox m_cbYuvFormat;
CComboBox m_cbResolution;
int m_nHeight;
int m_nWidth;
int m_nFps;
int m_nYuvFormat;
BOOL m_fLoop;
afx_msg void OnSelchangeCbSize();
afx_msg void OnSelchangeCbYuvFmt();
afx_msg void OnSelchangeCbFps();
afx_msg void OnClickedCkLoop();
afx_msg void OnChangeEWidth();
afx_msg void OnChangeEHeight();
afx_msg void OnBnClickedBtAdd();
afx_msg void OnBnClickedBtDel();
};
C/C++
1
https://gitee.com/mirrors/yuvplayer.git
git@gitee.com:mirrors/yuvplayer.git
mirrors
yuvplayer
yuvplayer
master

搜索帮助