capinstream.h
来自「采集卡的驱动编程,具有较大的参考价值,特别开发视频采集的软件工程师有用」· C头文件 代码 · 共 46 行
H
46 行
// capinstream.h - include file for video input stream of Video Capture sample
//=============================================================================
//
// Compuware Corporation
// NuMega Lab
// 9 Townsend West
// Nashua, NH 03060 USA
//
// Copyright (c) 1998 Compuware Corporation. All Rights Reserved.
// Unpublished - rights reserved under the Copyright laws of the
// United States.
//
//=============================================================================
#ifndef __CAPINSTREAM_H__
#define __CAPINSTREAM_H__
#include "basestrm.h"
class VidcapInputStream : public VidcapBaseStream
{
public:
VidcapInputStream(void);
// -- stream initialization code --
virtual void InitializeStream();
protected:
// -- methods called from DispatchData method for hardware read/write --
virtual void OnWrite(PHW_STREAM_REQUEST_BLOCK pSrb);
virtual void OnSetState(PHW_STREAM_REQUEST_BLOCK pSrb);
const static KS_DATARANGE_ANALOGVIDEO m_StreamFormatAnalogVideo;
const static PKSDATAFORMAT m_StreamFormats[];
const static KSPIN_MEDIUM m_Medium;
const static HW_STREAM_INFORMATION m_StreamInfo;
};
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?