31 #ifdef LIBMWCAPTURE_EXPORTS 32 #define LIBMWCAPTURE_API __declspec(dllexport) 33 #elif LIBMWCAPTURE_DLL 34 #define LIBMWCAPTURE_API __declspec(dllimport) 36 #define LIBMWCAPTURE_API 39 #include "MWCaptureExtension.h" 40 #include "MWUSBCaptureExtension.h" 279 LONGLONG llExpireTime
392 ULONGLONG* pullStatus
576 MWCAP_PTR64 pvContext,
622 MWCAP_PTR64 pvContext,
701 MWCAP_PTR64 pvContext,
706 const RECT * pOSDRects,
753 MWCAP_PTR64 pvContext,
758 const RECT * pOSDRects,
854 MWCAP_PTR64 pvContext,
858 DWORD dwProcessSwitchs,
861 const RECT * pOSDRects,
869 const RECT * pRectSrc,
870 const RECT * pRectDest,
936 MWCAP_PTR64 pvContext,
940 DWORD dwProcessSwitchs,
943 const RECT * pOSDRects,
951 const RECT * pRectSrc,
952 const RECT * pRectDest,
1328 MWCAP_PTR64 pvSrcFrame,
1333 BOOLEAN bSrcBottomUp,
1334 BOOLEAN bSrcPixelAlpha,
1335 BOOLEAN bSrcPixelXBGR
1394 BOOLEAN bSrcBottomUp,
1395 BOOLEAN bSrcPixelAlpha,
1396 BOOLEAN bSrcPixelXBGR
1437 unsigned int* pnTemp
1557 unsigned int* pnTemp
1950 MWCAP_PTR * hEvents,
MW_RESULT LIBMWCAPTURE_API MWGetTemperature(HCHANNEL hChannel, unsigned int *pnTemp)
Gets the temperature of capture card.
MW_RESULT LIBMWCAPTURE_API MWSetVideoCaptureOSDSettings(HCHANNEL hChannel, MWCAP_VIDEO_OSD_SETTINGS *paOSDSettings)
Sets OSD configurations.
MW_RESULT LIBMWCAPTURE_API MWSetEvent(MWCAP_PTR hEvent)
Triggers the event.
MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameWithOSDToPhysicalAddress(HCHANNEL hChannel, int iFrame, LARGE_INTEGER llFrameAddress, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy, HOSD hOSDImage, const RECT *pOSDRects, int cOSDRects)
Saves the captured video frame to physical memory and adds OSD.
MW_RESULT LIBMWCAPTURE_API MWGetStreamInfos(HCHANNEL hChannel, MWCAP_STREAM_INFO *pStreamInfos, int *pnCount)
Gets the informations of streams according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWReloadPreset(HCHANNEL hChannel)
Reloads the presetting configurations of video capture according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWGetDeviceTime(HCHANNEL hChannel, LONGLONG *pllTime)
Gets time value of capture device.
MW_RESULT LIBMWCAPTURE_API MWStartVideoCapture(HCHANNEL hChannel, MWHANDLE hEvent)
Starts video capture.
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureOSDSettings(HCHANNEL hChannel, MWCAP_VIDEO_OSD_SETTINGS *paOSDSettings)
Gets OSD settings.
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoTimingsCount(HCHANNEL hChannel, DWORD *dwCount)
Gets number of custom video timings.
enum _MWCAP_VIDEO_QUANTIZATION_RANGE MWCAP_VIDEO_QUANTIZATION_RANGE
MWCAP_VIDEO_QUANTIZATION_RANGE.
MW_RESULT LIBMWCAPTURE_API MWGetVideoOSDImage(HCHANNEL hChannel, MWCAP_VIDEO_OSD_IMAGE *pOSDImage)
Gets OSD according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWSetVideoSaturation(HCHANNEL hChannel, int nSaturation)
Sets the saturation of video captured according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWSetVideoBrightness(HCHANNEL hChannel, int nBrightness)
Sets the brightness of video captured according to channel handle.
MWCAP_VIDEO_OSD_SETTINGS.
Definition: MWCaptureExtension.h:1606
MW_RESULT LIBMWCAPTURE_API MWSetVideoOSDImage(HCHANNEL hChannel, MWCAP_VIDEO_OSD_IMAGE OSDImage)
Sets OSD according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWUploadImageFromPhysicalAddress(HCHANNEL hChannel, HOSD hImage, MWCAP_VIDEO_COLOR_FORMAT cfDest, MWCAP_VIDEO_QUANTIZATION_RANGE quantRangeDest, MWCAP_VIDEO_SATURATION_RANGE satRangeDest, WORD xDest, WORD yDest, WORD cxDest, WORD cyDest, LARGE_INTEGER llSrcFrameAddress, DWORD cbSrcFrame, DWORD cbSrcStride, WORD cxSrc, WORD cySrc, BOOLEAN bSrcBottomUp, BOOLEAN bSrcPixelAlpha, BOOLEAN bSrcPixelXBGR)
Uploads an image from physical memory to capture device.
enum _MWCAP_VIDEO_SATURATION_RANGE MWCAP_VIDEO_SATURATION_RANGE
MWCAP_VIDEO_SATURATION_RANGE.
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)
Captures and saves video frames to virtual memory.
MW_RESULT LIBMWCAPTURE_API MWUnpinVideoBuffer(HCHANNEL hChannel, LPBYTE pbFrame)
Unlocks a segment of virtual memory.
MW_RESULT LIBMWCAPTURE_API MWGetVideoBrightness(HCHANNEL hChannel, int *pnBrightness)
Gets the brightness of video captured according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWGetVideoHue(HCHANNEL hChannel, int *pnHue)
Gets the hue of video captured according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameToPhysicalAddress(HCHANNEL hChannel, int iFrame, LARGE_INTEGER llFrameAddress, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy)
Stores captured video frames to physical addresses.
MW_RESULT LIBMWCAPTURE_API MWSetCtrlStreamID(HCHANNEL hChannel, int nCrtlID)
Sets the ID of controlled stream according to channel handle.
HOSD LIBMWCAPTURE_API MWCreateImage(HCHANNEL hChannel, int cx, int cy)
Creates OSD image.
MW_RESULT LIBMWCAPTURE_API MWScheduleTimer(HCHANNEL hChannel, HTIMER hTimer, LONGLONG llExpireTime)
Schedules timer event objects.
MWCAP_AUDIO_CAPTURE_FRAME.
Definition: MWCaptureExtension.h:1383
MW_RESULT LIBMWCAPTURE_API MWStopAudioCapture(HCHANNEL hChannel)
Stops audio capturing of specified channel.
enum _MWCAP_VIDEO_COLOR_FORMAT MWCAP_VIDEO_COLOR_FORMAT
MWCAP_VIDEO_COLOR_FORMAT.
int LIBMWCAPTURE_API MWTryWaitEvent(MWCAP_PTR hEvent)
Waits for the event.
MW_RESULT LIBMWCAPTURE_API MWSaveSettingsAsPreset(HCHANNEL hChannel)
Saves the presetting configurations of video capture according to channel handle. ...
MW_RESULT LIBMWCAPTURE_API MWGetVideoContrast(HCHANNEL hChannel, int *pnContrast)
Gets the contrast of video captured according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWCloseImage(HCHANNEL hChannel, HOSD hImage, LONG *plRet)
Turns off the OSD image.
MW_RESULT LIBMWCAPTURE_API MWStartAudioCapture(HCHANNEL hChannel)
Starts audio capturing of specified channel.
MW_RESULT LIBMWCAPTURE_API MWStopVideoCapture(HCHANNEL hChannel)
Stops the video capture.
MWCAP_VIDEO_FRAME_INFO.
Definition: MWCaptureExtension.h:1176
MW_RESULT LIBMWCAPTURE_API MWGetVideoBufferInfo(HCHANNEL hChannel, MWCAP_VIDEO_BUFFER_INFO *pVideoBufferInfo)
Gets video bufferring information.
enum _MW_RESULT_ MW_RESULT
MW_RESULT.
enum _MWCAP_VIDEO_DEINTERLACE_MODE MWCAP_VIDEO_DEINTERLACE_MODE
MWCAP_VIDEO_DEINTERLACE_MODE.
MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameToPhysicalAddressEx(HCHANNEL hChannel, int iFrame, LARGE_INTEGER llFrameAddress, 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)
Captures video frames and saves to physical memory. And is the extended version of MWCaptureVideoFram...
MWCAP_VIDEO_CAPTURE_STATUS.
Definition: MWCaptureExtension.h:1341
MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameWithOSDToVirtualAddress(HCHANNEL hChannel, int iFrame, MWCAP_PTR pbFrame, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy, HOSD hOSDImage, const RECT *pOSDRects, int cOSDRects)
Captures video frames to virtual memory, and adds OSD.
MW_RESULT LIBMWCAPTURE_API MWClearEvent(MWCAP_PTR hEvent)
Resets the event.
MWCAP_PTR LIBMWCAPTURE_API MWCreateEvent()
Creates events.
MW_RESULT LIBMWCAPTURE_API MWGetVideoFrameInfo(HCHANNEL hChannel, BYTE i, MWCAP_VIDEO_FRAME_INFO *pVideoFrameInfo)
Gets video frame information.
MW_RESULT LIBMWCAPTURE_API MWUploadImageFromVirtualAddress(HCHANNEL hChannel, HOSD hImage, MWCAP_VIDEO_COLOR_FORMAT cfDest, MWCAP_VIDEO_QUANTIZATION_RANGE quantRangeDest, MWCAP_VIDEO_SATURATION_RANGE satRangeDest, WORD xDest, WORD yDest, WORD cxDest, WORD cyDest, MWCAP_PTR64 pvSrcFrame, DWORD cbSrcFrame, DWORD cbSrcStride, WORD cxSrc, WORD cySrc, BOOLEAN bSrcBottomUp, BOOLEAN bSrcPixelAlpha, BOOLEAN bSrcPixelXBGR)
Uploads images from virtual memory to capture device.
HNOTIFY LIBMWCAPTURE_API MWRegisterNotify(HCHANNEL hChannel, MWHANDLE hEvent, DWORD dwEnableBits)
Registers an event notification.
MW_RESULT LIBMWCAPTURE_API MWSetDeviceTime(HCHANNEL hChannel, LONGLONG llTime)
Sets time of capture device.
DWORD LIBMWCAPTURE_API MWMultiWaitEvent(MWCAP_PTR *hEvents, int nCount, int nTimeout)
Waits for the events.
MW_RESULT LIBMWCAPTURE_API MWGetNotifyStatus(HCHANNEL hChannel, HNOTIFY hNotify, ULONGLONG *pullStatus)
Gets current notification status.
Definition: MWLinux.h:183
MWCAP_VIDEO_BUFFER_INFO.
Definition: MWCaptureExtension.h:1156
HTIMER LIBMWCAPTURE_API MWRegisterTimer(HCHANNEL hChannel, MWHANDLE hEvent)
Registers a timer event object.
MW_RESULT LIBMWCAPTURE_API MWRegulateDeviceTime(HCHANNEL hChannel, LONGLONG llTime)
Adjusts time of capture device.
MW_RESULT LIBMWCAPTURE_API MWGetVideoSaturation(HCHANNEL hChannel, int *pnSaturation)
Gets the saturation of video captured according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWCloseEvent(MWCAP_PTR hEvent)
Destroys the event.
Definition: MWCaptureExtension.h:84
BOOLEAN LIBMWCAPTURE_API MWIsSetEvent(MWCAP_PTR hEvent)
Querys whether the event is triggered.
MW_RESULT LIBMWCAPTURE_API MWGetStreamCount(HCHANNEL hChannel, int *pnCount)
Gets the number of streams according to channel handle.
Definition: MWCaptureExtension.h:1611
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)
Save captured video frames to virtual memory. It is the extended MWCaptureVideoFrameToVirtualAddress...
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 MWGetCustomVideoResolutionsCount(HCHANNEL hChannel, DWORD *dwCount)
Gets number of custom video resolutions.
MW_RESULT LIBMWCAPTURE_API MWPinVideoBuffer(HCHANNEL hChannel, MWCAP_PTR pbFrame, DWORD cbFrame)
Locks a segment of virtual memory to reduce CPU load when capturing video data to that memory...
MW_RESULT LIBMWCAPTURE_API MWSetVideoContrast(HCHANNEL hChannel, int nContrast)
Sets the contrast of video captured according to channel handle.
HCHANNEL LIBMWCAPTURE_API MWOpenChannel(int nBoardValue, int nChannelIndex)
Opens capture channel by the rotary number and channel number.
MW_RESULT LIBMWCAPTURE_API MWUnregisterNotify(HCHANNEL hChannel, HNOTIFY hNotify)
Unregisters an event notification object.
enum _MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE
MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE.
Definition: WinTypes.h:62
MW_RESULT LIBMWCAPTURE_API MWSetVideoHue(HCHANNEL hChannel, int nHue)
Sets the hue of video captured according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWCaptureAudioFrame(HCHANNEL hChannel, MWCAP_AUDIO_CAPTURE_FRAME *pAudioCaptureFrame)
Captures an audio frame.
MW_RESULT LIBMWCAPTURE_API MWOpenImage(HCHANNEL hChannel, HOSD hImage, LONG *plRet)
Opens OSD images.
int LIBMWCAPTURE_API MWWaitEvent(MWCAP_PTR hEvent, int nTimeout)
Waits for the event.
MW_RESULT LIBMWCAPTURE_API MWUnregisterTimer(HCHANNEL hChannel, HTIMER hTimer)
Unregisters a timer event object.