tdeinterlacesettings.h

来自「ffshow源码」· C头文件 代码 · 共 61 行

H
61
字号
#ifndef _TDEINTERLACESETTINGS_H_
#define _TDEINTERLACESETTINGS_H_

#include "TfilterSettings.h"

class Twindow;
class TdeinterlacePanel;
struct TdeinterlaceSettings :TfilterSettingsVideo
{
private:
 static const TfilterIDFF idffs;
public:
 enum
  {
   TOMSMOCOMP_DEINT_FILTER=0,
   DGBOB_DEINT_FILTER=1,
   FRAMERATEDOUBLER=2,
   KERNELDEINT=3,
   BYPASS=4,
   KERNELBOB=5,
   DSCALER=0x1000000,
  };
 struct TmethodProps
  {
   int cfgId;
   const char_t *name;
   int id;
   TdeinterlacePanel* (*create)(Twindow *parent);
  };
 static const TmethodProps methodProps[];
 
 TdeinterlaceSettings(TintStrColl *Icoll=NULL,TfilterIDFFs *filters=NULL);
 
 int swapfields;
 int cfgId;
 static const int cfgIdDef=2;
 static const TmethodProps &getMethod(int cfgId);
 int tomsmocompSE,tomsmocompVF;
 char_t dscalerFlnm[MAX_PATH];
 char_t dscalerCfg[512];

 int frameRateDoublerThreshold,frameRateDoublerSE;
 struct TframerateDoublerSEs
  {
   const char_t *name;
   int id;
  };
 static const TframerateDoublerSEs frameRateDoublerSEs[]; 

 int kernelThreshold,kernelSharp,kernelTwoway,kernelMap,kernelLinked;

 int dgbobMode,dgbobThreshold,dgbobAP;
 static const char_t *dgbobModes[];

 virtual void createFilters(size_t filtersorder,Tfilters *filters,TfilterQueue &queue) const;
 virtual void createPages(TffdshowPageDec *parent) const;
 virtual bool getTip(unsigned int pageId,char_t *buf,size_t buflen);
};

#endif

⌨️ 快捷键说明

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