⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 captiondemodlg.h

📁 电视字幕卡调用DLL模块
💻 H
字号:
// CaptionDemoDlg.h : header file
//

#if !defined(AFX_CAPTIONDEMODLG_H__71F9C68C_049E_11D6_BF2C_0090279C5D64__INCLUDED_)
#define AFX_CAPTIONDEMODLG_H__71F9C68C_049E_11D6_BF2C_0090279C5D64__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CCaptionDemoDlg dialog

class CCaptionDemoDlg : public CDialog
{
// Construction
public:
	CCaptionDemoDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CCaptionDemoDlg)
	enum { IDD = IDD_CAPTIONDEMO_DIALOG };
	CScrollBar	m_Scroll_CgDelay;
	CButton	m_button_locksrc;
	CButton	m_button_videowideselect;
	CButton	m_button_tm1300switchselect;
	CButton	m_button_inputvideo_cvbs;
	CButton	m_button_inputvideo_yuv;
	CButton	m_button_inputvideo_yc;
	CButton	m_button_inputvideo_sdi;
	CButton	m_videotype_pal;
	CButton	m_videotype_ntsc;
	CButton	m_button_syn_external;
	CButton	m_button_syn_internal;
	CButton	m_button_overlaymode_alphamix;
	CButton	m_button_overlaymode_frambypass;
	CButton	m_button_overlaymode_backpass;
	CButton	m_KeyPosOrRev;
	CScrollBar	m_Scroll_Bright;
	CScrollBar	m_Scroll_Contrast;
	CScrollBar	m_Scroll_Hue;
	CScrollBar	m_Scroll_Saturation;
	CScrollBar	m_Scroll_Gain;
	CScrollBar	m_Scroll_Hphase;
	CScrollBar	m_Scroll_Vphase;
	CScrollBar	m_Scroll_KeyDelay;
	CScrollBar	m_Scroll_SubCarphase;
	CScrollBar	m_Scroll_FadeStep;
	CScrollBar	m_Scroll_FadeSpeed;
	CScrollBar	m_Scroll_FlySpeed;
	CScrollBar	m_Scroll_FlyStartX;
	CScrollBar	m_Scroll_FlyStartY;
	int		m_VideoFormat;
	int		m_VideoFreeze;
	int		m_MoveDirect;
	CString	m_text_hphase;
	CString	m_text_vphase;
	CString	m_text_keydelay;
	CString	m_text_SubCarphase;
	CString	m_text_bright;
	CString	m_text_contrast;
	CString	m_text_hue;
	CString	m_text_saturation;
	CString	m_text_gain;
	CString	m_text_fadespeed;
	CString	m_text_fadestep;
	CString	m_text_flyspeed;
	CString	m_text_flystartx;
	CString	m_text_flystarty;
	CString	m_text_cgdelay;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCaptionDemoDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CCaptionDemoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnRadioCvbs();
	afx_msg void OnRadioYuv();
	afx_msg void OnRadioYc();
	afx_msg void OnRadioSdi();
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnKeyPosOrRev();
	afx_msg void OnRadioFadein();
	afx_msg void OnRadioFadeout();
	afx_msg void OnWriteInfo();
	afx_msg void OnReadTgafile();
	afx_msg void OnButtonColorbar();
	afx_msg void OnButtonClear();
	afx_msg void OnVideotypePal();
	afx_msg void OnVideotypeNtsc();
	afx_msg void OnSynExternal();
	afx_msg void OnSynInternal();
	afx_msg void OnOverlaymodeAlphamix();
	afx_msg void OnOverlaymodeFramebypass();
	afx_msg void OnOverlaymodeBackpass();
	virtual void OnOK();
	afx_msg void OnRadioFlydown();
	afx_msg void OnRadioFlyup();
	afx_msg void OnRadioFlyright();
	afx_msg void OnRadioFlyleft();
	afx_msg void OnButtonFlyexecute();
	afx_msg void OnButtonFlystop();
	afx_msg void OnRadioFreezeframe();
	afx_msg void OnRadioFreezeoddfield();
	afx_msg void OnRadioFreezeevenfield();
	afx_msg void OnVoimageFreeze();
	afx_msg void OnVoimageFreezestop();
	afx_msg void OnTm1300SwitchSelect();
	afx_msg void OnButtonStepFlyExecute();
	afx_msg void OnButtonVertFlyStop();
	afx_msg void OnButtonStopHorFly();
	afx_msg void OnButtonHorFlyStop();
	afx_msg void OnGrabeVideo();
	afx_msg void OnViewGrabe();
	afx_msg void OnCustomFly();
	afx_msg void OnButtonSpeedTest();
	afx_msg void OnVideoBusWideselect();
	afx_msg void OnButtonExitGrbView();
	afx_msg void OnPlaytgaframe();
	afx_msg void OnButtonVideoOut();
	afx_msg void OnButtonBackBypass();
	afx_msg void OnLockSrc();
	afx_msg void OnPlaytgafly();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

protected:
	HANDLE m_hThreadHandle;
	HANDLE m_hSingle;
	HANDLE m_hThreadBlockHandle;
	HANDLE m_hThreadWindow1Handle;
	HANDLE m_hThreadWindow2Handle;
	HANDLE m_hThreadWindow3Handle;
	HANDLE m_hThreadWindow4Handle;
	HANDLE m_hThreadWindow5Handle;
	HANDLE m_hThreadWindow6Handle;

	static DWORD WINAPI PlayTgaThreadFun( PVOID pv );
	static DWORD WINAPI CustomFlyBlockThreadFun( PVOID pv );
	static DWORD WINAPI CustomFlyWindow1ThreadFun( PVOID pv );
	static DWORD WINAPI CustomFlyWindow2ThreadFun( PVOID pv );
	static DWORD WINAPI CustomFlyWindow3ThreadFun( PVOID pv );
	static DWORD WINAPI CustomFlyWindow4ThreadFun( PVOID pv );
	static DWORD WINAPI CustomFlyWindow5ThreadFun( PVOID pv );
	static DWORD WINAPI CustomFlyWindow6ThreadFun( PVOID pv );
	void   PlayTgaRun();
	void   CustomFlyBlockRun( );
	void   CustomFlyWindow1Run( );
	void   CustomFlyWindow2Run( );
	void   CustomFlyWindow3Run( );
	void   CustomFlyWindow4Run( );
	void   CustomFlyWindow5Run( );
	void   CustomFlyWindow6Run( );

};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CAPTIONDEMODLG_H__71F9C68C_049E_11D6_BF2C_0090279C5D64__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -