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

📄 fposrec.h

📁 MPEG-4编解码的实现(包括MPEG4视音频编解码)
💻 H
字号:

#ifndef __FPOSREC_H__
#define __FPOSREC_H__ 1

typedef struct frame_file_pos_t
{
  struct frame_file_pos_t *next;
  uint64_t timestamp;
  long file_position;
  uint64_t frames;
} frame_file_pos_t;

class CFilePosRecorder
{
 public:
  CFilePosRecorder(void);
  ~CFilePosRecorder(void);

  void record_point(long file_position, uint64_t ts, uint64_t frame);
  const frame_file_pos_t *find_closest_point(uint64_t ts);
 private:
  frame_file_pos_t *m_first;
  frame_file_pos_t *m_last;
};

#endif

⌨️ 快捷键说明

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