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

📄 vqmcalc.h

📁 This program is an implementation of a part of one or more MPEG-4 Video tools as specified in ISO/IE
💻 H
字号:
extern "C" {    typedef void (fdctFunc)(short * const block);  typedef fdctFunc* fdctFuncPtr;	    extern "C" fdctFuncPtr fdct;  fdctFunc fdct_mmx;}static const short mpegmatrix[]={8,16,19,22,26,27,29,34,16,16,22,21,27,29,34,37,19,22,26,27,29,31,34,38,22,22,26,27,29,34,37,40,22,26,27,29,32,35,40,48,26,27,29,32,35,40,48,58,26,27,29,34,38,46,56,69,27,29,35,38,46,56,69,83};class VqmCalc : public GenericVideoFilter {       float VqmFrame;  float imagm;  float imagM;  short* blockA;  short* blockB;  float* blockA2;  float* blockB2;  boolean notdone;  fdctFuncPtr fdct;  int width;  int widthUV;  int height;  int heightUV;    public:  VqmCalc(PClip _child1, PClip _child2, const char *fname, IScriptEnvironment* env);  ~VqmCalc();  PVideoFrame __stdcall GetFrame(int n, IScriptEnvironment* env);  void FillBlocks(const BYTE* ref,short* outref,int pitchref,const BYTE* alt,short * outlat,int pitchalt);  void LocalContrasts(float* block, float* block2);   void ApplySCSFMatrix(float* block, float* block2);  void DiffBlocks(float* a, float*  b);  float MeanBlock(float*  block);  float MaxBlock(float*  block);  void ConvertTo(short* block, float* block2, short* block3, float* block4);  PClip child2;  FILE* log;};

⌨️ 快捷键说明

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