tdscalersettings.h

来自「从FFMPEG转换而来的H264解码程序,VC下编译..」· C头文件 代码 · 共 39 行

H
39
字号
#ifndef _TDSCALERSETTINGS_H_
#define _TDSCALERSETTINGS_H_

#include "interfaces.h"

struct TregOp;
struct SETTING;
class Twindow;
struct TDScalerSettings
{
private:
 comptr<IffdshowBase> deci;comptrQ<IffdshowDecVideo> deciV;
 HWND parent;
 LONG onChangeMsg;
 int cdy_top;
 LONG rdx,rdy,cdy;
 int sbrWidth;
 typedef std::hash_map<int,SETTING*> Tsets;
 Tsets sets;
 long *bActive;
 static BOOL CALLBACK dscalerDlgEnum(HWND hwnd,LPARAM lParam);
 static INT_PTR CALLBACK dscalerDlgProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam);
 void cfg2dlg(HWND m_hwnd);
 void writeops(TregOp &t);
 int nSettings;
 SETTING *pSettings;
public:
 TDScalerSettings(IffdshowBase *Ideci,int InSettings,SETTING *IpSettings);
 ~TDScalerSettings();
 void cfg2str(ffstring &s),str2cfg(const ffstring &s);
 void reset(void);
 HWND createWindow(HINSTANCE hi,const Twindow *Iparent,const RECT &r,LONG IonChangeMsg,long *IbActive);
 static int dscalerCpu(void);

 HWND wnd;
};

#endif

⌨️ 快捷键说明

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