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

📄 tffdshowpageenc.h

📁 从FFMPEG转换而来的H264解码程序,VC下编译..
💻 H
字号:
#ifndef _TFFDSHOWPAGEENC_H_
#define _TFFDSHOWPAGEENC_H_

#include "TffdshowPageBase.h"
#include "TcodecSettings.h"

struct IffdshowEnc;
struct TpresetsEnc;
struct ISpecifyPropertyPagesVE;
class TffdshowPageEnc :public TffdshowPageBase
{
private:
 comptrQ<IffdshowEnc>  deciE;
 TcoSettings *oldCoSettingsPtr;
 TcoSettings localCfg;
 comptrQ<ISpecifyPropertyPagesVE> ve;

 static const char_t *encModeNames[];
 int oldmode;
 int valIdff;
 int valMin,valMax;
 void codec2dlg(void),fourcc2dlg(void);
 ThtiPage* addTI(TVINSERTSTRUCT *tvis,const TconfPages &pages,int *Iid);
 ThtiPage* addTI(TVINSERTSTRUCT *tvis,TconfPageBase *page);

 TpresetsEnc *presets;
 HMENU createPresetsSubmenu(int cmd,bool save);
 void showPresets(void);
 ints allPropsIDs;
 void addPropsIDs(const int *propsIDs);
 HWND hcbxE;
protected:
 virtual void onActivate(void);
 virtual void onApplyChanges(void);
 virtual INT_PTR msgProc(UINT uMsg,WPARAM wParam,LPARAM lParam);
public:
 static CUnknown* WINAPI CreateInstance(LPUNKNOWN lpunk,HRESULT *phr);
 TffdshowPageEnc(LPUNKNOWN pUnk,HRESULT *phr,const wchar_t *ItitleW,const char_t *name,int dialogId,int resstr);
 virtual ~TffdshowPageEnc();

 int isAbout,isGraph;

 virtual HRESULT OnConnect(IUnknown *pUnk);
 virtual HRESULT OnDisconnect(void);
 STDMETHODIMP Deactivate(void);

 void quick2dlg(bool redraw);
 virtual void translate(void);

 int qmin,qmax;
 CodecID codecId;
};

class TffdshowPageEncVFW :public TffdshowPageEnc
{
public:
 static CUnknown* WINAPI CreateInstance(LPUNKNOWN lpunk,HRESULT *phr);
 TffdshowPageEncVFW(LPUNKNOWN pUnk,HRESULT *phr,const wchar_t *ItitleW,const char_t *name,int dialogId,int resstr);
};

#endif

⌨️ 快捷键说明

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