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

📄 capturedevicedshow.h

📁 VideoMan is a very easy image acquisition library. It is able to manage many video inputs at the sam
💻 H
字号:
#pragma once
#include "camerainput.h"
#include "VideoManInputFormat.h"
#include "VideoInputDShow.h"

#include <vector>

class CaptureDeviceDShow :
	public CameraInput, VideoInputDShow
{
public:
	CaptureDeviceDShow(void);
	virtual ~CaptureDeviceDShow(void);

	bool initCamera( const std::string &friendlyName, const std::string &devicePath, VideoManInputFormat *aFormat );

	inline char *getFrame( bool wait = false);

	inline void releaseFrame();
	
	void showPropertyPage();

	void play();
	
	void pause();
	
	void stop();

	static void getAvailableDevices( std::vector<inputIdentification> &deviceList  );

private:
	HRESULT prepareMedia( std::string &friendlyName, std::string &devicePath, VideoManInputFormat *aFormat );		
};

⌨️ 快捷键说明

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