?? listcodecpropsdlg.h
字號:
// ListCodecPropsDlg.h : header file
//
#if !defined(AFX_LISTCODECPROPSDLG_H__A7C06BCD_1DAB_4001_9826_47861B6C0D28__INCLUDED_)
#define AFX_LISTCODECPROPSDLG_H__A7C06BCD_1DAB_4001_9826_47861B6C0D28__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CListCodecPropsDlg dialog
// Codec type
const DWORD AudioCodecMask = 0x10000000;
const DWORD VideoCodecMask = 0x20000000;
const DWORD CodecIndexMask = 0x0000FFFF;
// Codec properties
const DWORD CodecIsVBRMask = 0x01000000;
const DWORD CodecPassesMask = 0x00FF0000;
const DWORD FormatIndexMask = 0x0000FFFF;
class CListCodecPropsDlg : public CDialog
{
// Construction
public:
CListCodecPropsDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CListCodecPropsDlg)
enum { IDD = IDD_LISTCODECPROPS_DIALOG };
CEdit mEditFormatBufferWindow;
CEdit mEditFormatBitrate;
CEdit mEditCodecVBRSupported;
CEdit mEditCodecComplexityLive;
CEdit mEditCodecComplexityMax;
CEdit mEditCodecComplexityOffline;
CEdit mEditCodecPasses;
CEdit mEditCodecIsVBR;
CEdit mEditFormatSpeechCaps;
CComboBox mComboFormatDesc;
CListBox mListBoxCodecName;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CListCodecPropsDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
IWMProfileManager * mProfileManager;
IWMCodecInfo3 * mCodecInfo3;
CPtrList mStreamConfigList;
void FillCodecNames(void);
HRESULT FillFormatDescs(void);
HRESULT FillAudioFormatDescs(BOOL inIsVBR, DWORD inPasses, DWORD inCodecIndex);
void ReflectCodecProperties(void);
void ReflectCodecCurrentSettings(void);
void ReflectFormatProperties(void);
void ReflectFormatDetails(void);
void ReflectStreamConfig(IWMStreamConfig * pConfig);
HRESULT GetCodecNames(REFGUID inType);
HRESULT SetCodecVBRSettings(REFGUID inCodecType, DWORD inCodecIndex,
BOOL inIsVBR, DWORD inVBRPasses);
HRESULT GetCodecVBRSettings(REFGUID inCodecType, DWORD inCodecIndex,
BOOL& outIsVBR, DWORD& outVBRPasses);
void ReleaseAllStreamConfig(void);
// Generated message map functions
//{{AFX_MSG(CListCodecPropsDlg)
virtual BOOL OnInitDialog();
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnDestroy();
afx_msg void OnSelchangeListCodecName();
afx_msg void OnSelchangeComboFormatDesc();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LISTCODECPROPSDLG_H__A7C06BCD_1DAB_4001_9826_47861B6C0D28__INCLUDED_)
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -