Example #1
0
 /// <summary>
 /// 初始化视频画刷及显示控件
 /// </summary>
 public void IniVideoRender()
 {
     drawDib = new DrawDib(this.controlVideo);
     drawDib.BITMAPINFOHEADER = BITMAPINFOHEADER;
     drawDib.BITMAPINFOHEADER.biCompression = (int)BI.BI_RGB;
     drawDib.BITMAPINFOHEADER.biBitCount    = 24;
     drawDib.Open();
 }
Example #2
0
 /// <summary>
 /// 初始化视频画刷及显示控件
 /// </summary>
 public void IniVideoRender(BITMAPINFOHEADER BITMAPINFOHEADER)
 {
     drawDib = new DrawDib(this.controlVideo);
     drawDib.BITMAPINFOHEADER = BITMAPINFOHEADER;
     //drawDib.BITMAPINFOHEADER.biCompression = BITMAPINFOHEADER.biCompression;// 已修改 原(int)BI.BI_RGB;
     //drawDib.BITMAPINFOHEADER.biBitCount = BITMAPINFOHEADER.biBitCount;//已修改  原24
     drawDib.Open();
 }
Example #3
0
 /// <summary>
 /// 初始化视频画刷及显示控件
 /// </summary>
 public void IniVideoRender(BITMAPINFOHEADER BITMAPINFOHEADER)
 {
     drawDib = new DrawDib(this.controlVideo);
     drawDib.BITMAPINFOHEADER = BITMAPINFOHEADER;
     //drawDib.BITMAPINFOHEADER.biCompression = BITMAPINFOHEADER.biCompression;// 已修改 原(int)BI.BI_RGB;
     //drawDib.BITMAPINFOHEADER.biBitCount = BITMAPINFOHEADER.biBitCount;//已修改  原24
     drawDib.Open();
 }
Example #4
0
 /// <summary>
 /// 初始化视频画刷及显示控件
 /// </summary>
 public void IniVideoRender()
 {
     drawDib = new DrawDib(this.controlVideo);
     drawDib.BITMAPINFOHEADER = BITMAPINFOHEADER;
     drawDib.BITMAPINFOHEADER.biCompression = (int)BI.BI_RGB;
     drawDib.BITMAPINFOHEADER.biBitCount = 24;
     drawDib.Open();
 }