コード例 #1
0
		public VideoBuffer(int width, int height, PixFrmt pixFrmt, int stride) {
			this.memoryMappedFileName = Guid.NewGuid().ToString();
			this.width = width;
			this.height = height;
			this.pixelFormat = pixFrmt;
			this.stride = stride;
		}
コード例 #2
0
		public VideoBuffer(int width, int height, PixFrmt pixFrmt) {
			this.memoryMappedFileName = Guid.NewGuid().ToString();
			this.width = width;
			this.height = height;
			this.pixelFormat = pixFrmt;
			this.stride = ((width * pixelFormat.bitsPerPixel + 7) / 8 + 15) & ~15;
		}
コード例 #3
0
ファイル: VideoBuffer.cs プロジェクト: l4es/ComputerVision
 public VideoBuffer(int width, int height, PixFrmt pixFrmt, int stride)
 {
     this.memoryMappedFileName = Guid.NewGuid().ToString();
     this.width       = width;
     this.height      = height;
     this.pixelFormat = pixFrmt;
     this.stride      = stride;
 }
コード例 #4
0
ファイル: VideoBuffer.cs プロジェクト: l4es/ComputerVision
 public VideoBuffer(int width, int height, PixFrmt pixFrmt)
 {
     this.memoryMappedFileName = Guid.NewGuid().ToString();
     this.width       = width;
     this.height      = height;
     this.pixelFormat = pixFrmt;
     this.stride      = ((width * pixelFormat.bitsPerPixel + 7) / 8 + 15) & ~15;
 }