Sha256: 4bad97ffe35c021d919c6b9707745154ab70cc72508fa1a071dd54decb0aba3f

Contents?: true

Size: 1007 Bytes

Versions: 17

Compression:

Stored size: 1007 Bytes

Contents

#pragma once

#ifdef DSHOWCAM_EXPORTS
#define DSHOWCAM_API __declspec(dllexport)
#else
#define DSHOWCAM_API __declspec(dllimport)
#endif
#include <vector>
typedef enum tagFlashSetting
{
	On = 0,
	Off,
	Auto
}FlashSetting;
typedef enum tagPinType
{
	V,
	S,
	P
}PinType;
typedef struct tagImageRes
{
	INT nWidth;
	INT nHeight;
}ImageRes;	
typedef enum tagCameraSetting
{
	Low = 0,	
	Medium,	
	MidHigh,
	High
}CameraSetting;

extern "C"
{
	DSHOWCAM_API int InitDirectShow(HWND hwnd, RECT rc);
	DSHOWCAM_API void CloseDShow();
	DSHOWCAM_API int SetFlash(FlashSetting setting);
	DSHOWCAM_API int SetCameraResolution(CameraSetting setting);
	DSHOWCAM_API int SetTestResolution(int width, int height);
	DSHOWCAM_API int CaptureStill(const wchar_t* filename, bool isES400);
	DSHOWCAM_API BOOL ResizePreview(int width, int height);
	DSHOWCAM_API void GetResolution(std::vector<ImageRes>& supportedRes, wchar_t* camId, PinType ePType);
	DSHOWCAM_API int Stop();
	DSHOWCAM_API int Run();
	DSHOWCAM_API BOOL IsMPA3();
}

Version data entries

17 entries across 17 versions & 2 rubygems

Version Path
rhodes-7.6.0 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-7.5.1 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-7.4.1 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-7.1.17 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-6.2.0 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-6.0.11 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-5.5.18 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-5.5.17 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-5.5.15 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-5.5.0.22 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-5.5.2 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-5.5.0.7 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-5.5.0.3 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
rhodes-5.5.0 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
tauplatform-1.0.3 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
tauplatform-1.0.2 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h
tauplatform-1.0.1 lib/commonAPI/mediacapture/ext/platform/wm/DirectShow/DShowCamModule/DShowCamModule/DShowCam.h