设为首页  
联系我们  
加入收藏  
网页制作 冲浪宝典 图形图像 操作系统 软件教学 编程开发 认证考试 安全技术 站长专区 文学驿站 娱乐天地 游戏天地 办公软件
文章搜索
您的位置: 首页 >> 文章首页 >> 编程开发 >> 其他开发语言 >> 简单的jpeg转成avi的类
精品推荐
其他开发语言点击TOP10
·数字小键盘指法练习
·用C语言编通讯录程序(初学者级别的)
·Modem 常用AT指令集
·单片机模拟I2C总线及24C02(I2C EEPROM)读写实例(源代码)
·C++经典电子书下载
·Thinking in C++ 简体中文第二版
·debug和release的区别
·error LNK2001: unresolved external symbol __ftol2 错误解决
·C库函数手册
·一个简单的C语言编译器
编程开发点击TOP10
·数字小键盘指法练习
·ASP.NET 程序中常用的三十三种代码
·用C语言编通讯录程序(初学者级别的)
·我写的Java学生成绩管理系统源代码
·CHK文件恢复工具
·Modem 常用AT指令集
·java笔试题
·异常java.sql.SQLException: Io exception:The Network Adapter could not establish connection
·单片机模拟I2C总线及24C02(I2C EEPROM)读写实例(源代码)
·C++经典电子书下载
精选专题

简单的jpeg转成avi的类

作者: 来源:网络文章 时间:2005-12-17 19:58:51

简单的jpeg转成avi的类(6)  ~AVI_list_odml () {}

 friend ostream& operator << (ostream& out, AVI_list_odml const& odml){
  out << odml.list_hdr << odml.id[0] << odml.id[1] << odml.id[2] << odml.id[3];
  out << odml.sz << odml.frames;
  return out;
 }
};

struct AVI_list_strl
{
 struct AVI_list_hdr list_hdr;
 /* chunk strh */
 unsigned char strh_id[4];
 DWORD strh_sz;
 struct AVI_strh strh;
 /* chunk strf */
 unsigned char strf_id[4];
 DWORD strf_sz;
 struct AVI_strf strf;
 /* list odml */
 struct AVI_list_odml list_odml;
};

struct AVI_list_hdrl
{
 struct AVI_list_hdr list_hdr;
 /* chunk avih */
 unsigned char avih_id[4];
 DWORD avih_sz;
 struct AVI_avih avih;
 /* list strl */
 struct AVI_list_hdr strl_hdr;
 /* chunk strh */
 unsigned char strh_id[4];
 DWORD strh_sz;
 struct AVI_strh strh;
 /* chunk strf */
 unsigned char strf_id[4];
 DWORD strf_sz;
 struct AVI_strf strf;
 /* list odml */
 struct AVI_list_odml list_odml;
 
 AVI_list_hdrl (DWORD width = 0, DWORD height = 0, DWORD jpg_sz = 1, DWORD per_usec = 1, DWORD frames = 1)
  :list_hdr ("LIST", sizeof (struct AVI_list_hdrl) - 8, "hdrl")
  //* chunk avih */
  ,avih_sz (sizeof (struct AVI_avih))
  ,avih (per_usec, 1000000 * (jpg_sz/frames) / per_usec, (0)
   ,AVIF_HASINDEX, frames, 0, 1, 0, width, height)
  // list strl
  ,strl_hdr ("LIST", sizeof (struct AVI_list_strl) - 8, "strl")
  // chunk strh
  ,strh_sz (sizeof (struct AVI_strh))
  ,strh ("vids", "MJPG", 0, 0, 0, per_usec, 1000000
   , 0, frames, 0, 0, 0)

共13页 9 7 [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [138 :>

简单的jpeg转成avi的类 相关文章:
简单的jpeg转成avi的类 相关软件:
特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作者。文章版权归文章原始作者所有。对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转载的文章有版权问题请联系编辑人员,我们尽快予以更正。
转载请注明来源:http://www.xgdown.com