5 #pragma message("platform:windows")
6 #ifdef LIBMWCAPTURE_EXPORTS
7 #define LIBMWCAPTURE_API __declspec(dllexport)
9 #define LIBMWCAPTURE_API __declspec(dllimport)
11 #define LIBMWCAPTURE_API
13#elif defined(__linux__)
14#define LIBMWCAPTURE_API
15#pragma message("platform:linux")
16#elif defined(__APPLE__)
17#define LIBMWCAPTURE_API
18#pragma message("platform:apple")
20#error "Error:Not support system!"
23#include "MWCaptureExtension.h"
300 LONGLONG llExpireTime
416 ULONGLONG* pullStatus
554 MWCAP_PTR64 pvContext,
757 MWCAP_PTR64 pvContext,
761 DWORD dwProcessSwitchs,
764 const RECT * pOSDRects,
772 const RECT * pRectSrc,
773 const RECT * pRectDest,
1225 unsigned int* pnTemp
1735 MWCAP_PTR * hEvents,
int LIBMWCAPTURE_API MWTryWaitEvent(MWCAP_PTR hEvent)
Waits for the event.
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoResolutionsArray(HCHANNEL hChannel, MWCAP_SIZE *pResolutionSize, DWORD *pdwCount)
Gets customized video resolution array according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoTimingsCount(HCHANNEL hChannel, DWORD *pdwCount)
Gets the number of customized video timing according to channel handle.
HNOTIFY LIBMWCAPTURE_API MWRegisterNotify(HCHANNEL hChannel, MWHANDLE hEvent, DWORD dwEnableBits)
Registers an event notification.
MW_RESULT LIBMWCAPTURE_API MWGetVideoBufferInfo(HCHANNEL hChannel, MWCAP_VIDEO_BUFFER_INFO *pVideoBufferInfo)
**
MW_RESULT LIBMWCAPTURE_API MWUnregisterTimer(HCHANNEL hChannel, HTIMER hTimer)
Unregisters a time event object.
MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameToVirtualAddressEx(HCHANNEL hChannel, int iFrame, LPBYTE pbFrame, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy, DWORD dwProcessSwitchs, int cyParitalNotify, HOSD hOSDImage, const RECT *pOSDRects, int cOSDRects, SHORT sContrast, SHORT sBrightness, SHORT sSaturation, SHORT sHue, MWCAP_VIDEO_DEINTERLACE_MODE deinterlaceMode, MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE aspectRatioConvertMode, const RECT *pRectSrc, const RECT *pRectDest, int nAspectX, int nAspectY, MWCAP_VIDEO_COLOR_FORMAT colorFormat, MWCAP_VIDEO_QUANTIZATION_RANGE quantRange, MWCAP_VIDEO_SATURATION_RANGE satRange)
**
MWCAP_PTR LIBMWCAPTURE_API MWCreateEvent()
Creates events.
MW_RESULT LIBMWCAPTURE_API MWCloseEvent(MWCAP_PTR hEvent)
Destroys the event.
BOOLEAN LIBMWCAPTURE_API MWIsSetEvent(MWCAP_PTR hEvent)
Querys whether the event is triggered.
int LIBMWCAPTURE_API MWWaitEvent(MWCAP_PTR hEvent, int nTimeout)
Waits for the event.
MW_RESULT LIBMWCAPTURE_API MWSetVideoAutoHAlign(HCHANNEL hChannel, BOOLEAN bAuto)
Sets whether the horizontal direction of the video is automatically adjusted according to channel han...
MW_RESULT LIBMWCAPTURE_API MWGetVideoAutoHAlign(HCHANNEL hChannel, BOOLEAN *pbAuto)
**
MW_RESULT LIBMWCAPTURE_API MWGetDeviceTime(HCHANNEL hChannel, LONGLONG *pllTime)
Gets time of capture channel.
MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameToVirtualAddress(HCHANNEL hChannel, int iFrame, MWCAP_PTR pbFrame, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy)
**
MW_RESULT LIBMWCAPTURE_API MWGetNotifyStatus(HCHANNEL hChannel, HNOTIFY hNotify, ULONGLONG *pullStatus)
Gets current notification type.
MW_RESULT LIBMWCAPTURE_API MWGetVideoPreferredTimingArray(HCHANNEL hChannel, MWCAP_VIDEO_TIMING *pVideoTiming, long *plCount)
Gets the preset video timing array according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureStatus(HCHANNEL hChannel, MWCAP_VIDEO_CAPTURE_STATUS *pStatus)
Gets video capture state, and frees up system storage.
MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoTiming(HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING videoTiming)
Sets the customized video timing according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoResolutionsArray(HCHANNEL hChannel, MWCAP_SIZE *pResolutionSize, DWORD dwCount)
Sets customized video resolution array according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoTimingsArray(HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pVideoCustomTiming, DWORD dwCount)
Sets customized video timing array according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWClearEvent(MWCAP_PTR hEvent)
Resets the event.
MW_RESULT LIBMWCAPTURE_API MWSetPostReconfig(HCHANNEL hChannel, DWORD dwDelayMS)
Sends instructions for rereading configurations to delay the execution.
MW_RESULT LIBMWCAPTURE_API MWStartVideoCapture(HCHANNEL hChannel, MWHANDLE hEvent)
Starts video capture.
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoTimingsArray(HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pVideoCustomTiming, DWORD *pdwCount)
Gets customized video timing array according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWGetVideoFrameInfo(HCHANNEL hChannel, BYTE i, MWCAP_VIDEO_FRAME_INFO *pVideoFrameInfo)
Gets video frame information.
MW_RESULT LIBMWCAPTURE_API MWStopVideoCapture(HCHANNEL hChannel)
Stops the video capture.
MW_RESULT LIBMWCAPTURE_API MWStopAudioCapture(HCHANNEL hChannel)
Stops audio capturing of specified channel.
MW_RESULT LIBMWCAPTURE_API MWSetVideoSamplingPhaseAutoAdjust(HCHANNEL hChannel, BOOLEAN bAuto)
Sets whether the video sampling phase is automatically adjusted according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWStartAudioCapture(HCHANNEL hChannel)
Starts audio capturing of specified channel.
MW_RESULT LIBMWCAPTURE_API MWRegulateDeviceTime(HCHANNEL hChannel, LONGLONG llTime)
Adjusts time of capture channel.
MW_RESULT LIBMWCAPTURE_API MWCaptureAudioFrame(HCHANNEL hChannel, MWCAP_AUDIO_CAPTURE_FRAME *pAudioCaptureFrame)
Captures an audio frame.
MW_RESULT LIBMWCAPTURE_API MWGetVideoSamplingPhase(HCHANNEL hChannel, BYTE *pbyValue)
Gets the sampling phase according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWSetVideoSamplingPhase(HCHANNEL hChannel, BYTE byValue)
Sets the sampling phase according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWSetVideoTiming(HCHANNEL hChannel, MWCAP_VIDEO_TIMING videoTiming)
Sets the video timing according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoResolutionsCount(HCHANNEL hChannel, DWORD *pdwCount)
Gets the number of customized video resolution according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWGetTemperature(HCHANNEL hChannel, unsigned int *pnTemp)
**
MW_RESULT LIBMWCAPTURE_API MWScheduleTimer(HCHANNEL hChannel, HTIMER hTimer, LONGLONG llExpireTime)
Schedules time event objects.
MW_RESULT LIBMWCAPTURE_API MWSetDeviceTime(HCHANNEL hChannel, LONGLONG llTime)
Sets time of capture channel.
MW_RESULT LIBMWCAPTURE_API MWUnregisterNotify(HCHANNEL hChannel, HNOTIFY hNotify)
Unregisters an event notification object.
MW_RESULT LIBMWCAPTURE_API MWGetVideoSamplingPhaseAutoAdjust(HCHANNEL hChannel, BOOLEAN *pbAuto)
Gets whether the video sampling phase is automatically adjusted according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWSetEvent(MWCAP_PTR hEvent)
Triggers the event.
DWORD LIBMWCAPTURE_API MWMultiWaitEvent(MWCAP_PTR *hEvents, int nCount, int nTimeout)
Waits for the events.
HTIMER LIBMWCAPTURE_API MWRegisterTimer(HCHANNEL hChannel, MWHANDLE hEvent)
Registers a time event object.
HCHANNEL LIBMWCAPTURE_API MWOpenChannel(int nBoardValue, int nChannelIndex)
Opens capture channel by the rotary number and channel number.
enum _MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE
MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE.
enum _MWCAP_VIDEO_DEINTERLACE_MODE MWCAP_VIDEO_DEINTERLACE_MODE
MWCAP_VIDEO_DEINTERLACE_MODE.
enum _MWCAP_VIDEO_QUANTIZATION_RANGE MWCAP_VIDEO_QUANTIZATION_RANGE
MWCAP_VIDEO_QUANTIZATION_RANGE.
enum _MWCAP_VIDEO_COLOR_FORMAT MWCAP_VIDEO_COLOR_FORMAT
MWCAP_VIDEO_COLOR_FORMAT.
enum _MWCAP_VIDEO_SATURATION_RANGE MWCAP_VIDEO_SATURATION_RANGE
MWCAP_VIDEO_SATURATION_RANGE.
MWCAP_AUDIO_CAPTURE_FRAME.
Definition: MWCaptureExtension.h:1343
Definition: MWCaptureExtension.h:367
MWCAP_VIDEO_BUFFER_INFO.
Definition: MWCaptureExtension.h:1116
MWCAP_VIDEO_CAPTURE_STATUS.
Definition: MWCaptureExtension.h:1301
MWCAP_VIDEO_CUSTOM_TIMING.
Definition: MWCaptureExtension.h:1547
MWCAP_VIDEO_FRAME_INFO.
Definition: MWCaptureExtension.h:1136
MWCAP_VIDEO_TIMING.
Definition: MWCaptureExtension.h:330
Definition: WinTypes.h:62