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

📄 tsubtitles.h

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

#include "interfaces.h"
#include "Tsubreader.h"

struct Tsubtitle;
struct TsubtitlesSettings;
struct Tconfig;
class Tsubtitles :public safe_bool<Tsubtitles>
{
private:
 const Tsubtitle *oldsub;
 unsigned int current_sub;
 REFERENCE_TIME nosub_range_start,nosub_range_end;
protected:
 IffdshowBase *deci;
 const Tconfig *ffcfg;
 Tsubreader *subs;
 int sub_format;
 virtual void checkChange(const TsubtitlesSettings *cfg,bool *forceChange) {}
 void init(void);
public:
 Tsubtitles(IffdshowBase *Ideci);
 virtual ~Tsubtitles();
 virtual void done(void);
 bool boolean_test() const {return subs!=NULL;}
 virtual const Tsubtitle* getSubtitle(const TsubtitlesSettings *cfg,REFERENCE_TIME time,bool *forceChange=NULL);
 void setModified(void) {subs->IsProcessOverlapDone=false;};
 bool IsProcessOverlapDone(void) {return subs->IsProcessOverlapDone;};
 void processOverlap(void);
};

#endif

⌨️ 快捷键说明

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