MWCapture SDK Mac  3.3.1.16905
MWProCapture.h
1 #ifndef MWPROCAPTURE_H
2 #define MWPROCAPTURE_H
3 
4 #if defined(_WIN32)
5  #pragma message("platform:windows")
6  #ifdef LIBMWCAPTURE_EXPORTS
7  #define LIBMWCAPTURE_API __declspec(dllexport)
8  #elif LIBMWCAPTURE_DLL
9  #define LIBMWCAPTURE_API __declspec(dllimport)
10  #else
11  #define LIBMWCAPTURE_API
12  #endif
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")
19 #else
20 #error "Error:Not support system!"
21 #endif
22 
23 #include "MWCaptureExtension.h"
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
37 // Channel
38 HCHANNEL
39 LIBMWCAPTURE_API
41  int nBoardValue,
42  int nChannelIndex
43 );
44 
45 // Device Clock
53 MW_RESULT
54 LIBMWCAPTURE_API
56  HCHANNEL hChannel,
57  LONGLONG* pllTime
58  );
59 
67 MW_RESULT
68 LIBMWCAPTURE_API
70  HCHANNEL hChannel,
71  LONGLONG llTime
72  );
73 
81 MW_RESULT
82 LIBMWCAPTURE_API
84  HCHANNEL hChannel,
85  LONGLONG llTime
86  );
87 
88 // Timer Event
96 HTIMER
97 LIBMWCAPTURE_API
99  HCHANNEL hChannel,
100  MWHANDLE hEvent
101  );
102 
110 MW_RESULT
111 LIBMWCAPTURE_API
113  HCHANNEL hChannel,
114  HTIMER hTimer
115  );
116 
125 MW_RESULT
126 LIBMWCAPTURE_API
128  HCHANNEL hChannel,
129  HTIMER hTimer,
130  LONGLONG llExpireTime
131  );
132 
141 HNOTIFY
142 LIBMWCAPTURE_API
144  HCHANNEL hChannel,
145  MWHANDLE hEvent,
146  DWORD dwEnableBits
147  );
148 
156 MW_RESULT
157  LIBMWCAPTURE_API
159  HCHANNEL hChannel,
160  HNOTIFY hNotify
161  );
162 
171 MW_RESULT
172 LIBMWCAPTURE_API
174  HCHANNEL hChannel,
175  HNOTIFY hNotify,
176  ULONGLONG* pullStatus
177  );
178 
186 MW_RESULT
187 LIBMWCAPTURE_API
189  HCHANNEL hChannel,
190  MWHANDLE hEvent
191  );
192 
199 MW_RESULT
200 LIBMWCAPTURE_API
202  HCHANNEL hChannel
203  );
204 
213 MW_RESULT
214 LIBMWCAPTURE_API
216  HCHANNEL hChannel,
217  MWCAP_PTR pbFrame,
218  DWORD cbFrame
219  );
220 
228 MW_RESULT
229 LIBMWCAPTURE_API
231  HCHANNEL hChannel,
232  LPBYTE pbFrame
233  );
234 
250 MW_RESULT
251 LIBMWCAPTURE_API
253  HCHANNEL hChannel,
254  int iFrame,
255  MWCAP_PTR pbFrame,
256  DWORD cbFrame,
257  DWORD cbStride,
258  BOOLEAN bBottomUp,
259  MWCAP_PTR64 pvContext,
260  DWORD dwFOURCC,
261  int cx,
262  int cy
263  );
264 
280 MW_RESULT
281 LIBMWCAPTURE_API
283  HCHANNEL hChannel,
284  int iFrame,
285  LARGE_INTEGER llFrameAddress,
286  DWORD cbFrame,
287  DWORD cbStride,
288  BOOLEAN bBottomUp,
289  MWCAP_PTR64 pvContext,
290  DWORD dwFOURCC,
291  int cx,
292  int cy
293  );
294 
313 MW_RESULT
314 LIBMWCAPTURE_API
316  HCHANNEL hChannel,
317  int iFrame,
318  MWCAP_PTR pbFrame,
319  DWORD cbFrame,
320  DWORD cbStride,
321  BOOLEAN bBottomUp,
322  MWCAP_PTR64 pvContext,
323  DWORD dwFOURCC,
324  int cx,
325  int cy,
326  HOSD hOSDImage,
327  const RECT * pOSDRects,
328  int cOSDRects
329  );
330 
349 MW_RESULT
350 LIBMWCAPTURE_API
352  HCHANNEL hChannel,
353  int iFrame,
354  LARGE_INTEGER llFrameAddress,
355  DWORD cbFrame,
356  DWORD cbStride,
357  BOOLEAN bBottomUp,
358  MWCAP_PTR64 pvContext,
359  DWORD dwFOURCC,
360  int cx,
361  int cy,
362  HOSD hOSDImage,
363  const RECT * pOSDRects,
364  int cOSDRects
365  );
366 
401 MW_RESULT
402 LIBMWCAPTURE_API
404  HCHANNEL hChannel,
405  int iFrame,
406  LPBYTE pbFrame,
407  DWORD cbFrame,
408  DWORD cbStride,
409  BOOLEAN bBottomUp,
410  MWCAP_PTR64 pvContext,
411  DWORD dwFOURCC,
412  int cx,
413  int cy,
414  DWORD dwProcessSwitchs,
415  int cyParitalNotify,
416  HOSD hOSDImage,
417  const RECT * pOSDRects,
418  int cOSDRects,
419  SHORT sContrast,
420  SHORT sBrightness,
421  SHORT sSaturation,
422  SHORT sHue,
423  MWCAP_VIDEO_DEINTERLACE_MODE deinterlaceMode,
424  MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE aspectRatioConvertMode,
425  const RECT * pRectSrc,
426  const RECT * pRectDest,
427  int nAspectX,
428  int nAspectY,
429  MWCAP_VIDEO_COLOR_FORMAT colorFormat,
432  );
433 
467 MW_RESULT
468 LIBMWCAPTURE_API
470  HCHANNEL hChannel,
471  int iFrame,
472  LARGE_INTEGER llFrameAddress,
473  DWORD cbFrame,
474  DWORD cbStride,
475  BOOLEAN bBottomUp,
476  MWCAP_PTR64 pvContext,
477  DWORD dwFOURCC,
478  int cx,
479  int cy,
480  DWORD dwProcessSwitchs,
481  int cyParitalNotify,
482  HOSD hOSDImage,
483  const RECT * pOSDRects,
484  int cOSDRects,
485  SHORT sContrast,
486  SHORT sBrightness,
487  SHORT sSaturation,
488  SHORT sHue,
489  MWCAP_VIDEO_DEINTERLACE_MODE deinterlaceMode,
490  MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE aspectRatioConvertMode,
491  const RECT * pRectSrc,
492  const RECT * pRectDest,
493  int nAspectX,
494  int nAspectY,
495  MWCAP_VIDEO_COLOR_FORMAT colorFormat,
498  );
499 
507 MW_RESULT
508 LIBMWCAPTURE_API
510  HCHANNEL hChannel,
511  MWCAP_VIDEO_BUFFER_INFO * pVideoBufferInfo
512  );
513 
522 MW_RESULT
523 LIBMWCAPTURE_API
525  HCHANNEL hChannel,
526  BYTE i,
527  MWCAP_VIDEO_FRAME_INFO* pVideoFrameInfo
528  );
529 
537 MW_RESULT
538 LIBMWCAPTURE_API
540  HCHANNEL hChannel,
542  );
543 
550 MW_RESULT
551 LIBMWCAPTURE_API
553  HCHANNEL hChannel
554  );
555 
562 MW_RESULT
563 LIBMWCAPTURE_API
565  HCHANNEL hChannel
566  );
567 
575 MW_RESULT
576 LIBMWCAPTURE_API
578  HCHANNEL hChannel,
579  MWCAP_AUDIO_CAPTURE_FRAME* pAudioCaptureFrame
580  );
581 
589 MW_RESULT
590 LIBMWCAPTURE_API
592  HCHANNEL hChannel,
593  DWORD dwDelayMS
594  );
595 
604 HOSD
605 LIBMWCAPTURE_API
607  HCHANNEL hChannel,
608  int cx,
609  int cy
610  );
611 
620 MW_RESULT
621 LIBMWCAPTURE_API
623  HCHANNEL hChannel,
624  HOSD hImage,
625  LONG* plRet
626  );
627 
636 MW_RESULT
637 LIBMWCAPTURE_API
639  HCHANNEL hChannel,
640  HOSD hImage,
641  LONG* plRet
642  );
643 
666 MW_RESULT
667 LIBMWCAPTURE_API
669  HCHANNEL hChannel,
670  HOSD hImage,
672  MWCAP_VIDEO_QUANTIZATION_RANGE quantRangeDest,
673  MWCAP_VIDEO_SATURATION_RANGE satRangeDest,
674  WORD xDest,
675  WORD yDest,
676  WORD cxDest,
677  WORD cyDest,
678  MWCAP_PTR64 pvSrcFrame,
679  DWORD cbSrcFrame,
680  DWORD cbSrcStride,
681  WORD cxSrc,
682  WORD cySrc,
683  BOOLEAN bSrcBottomUp,
684  BOOLEAN bSrcPixelAlpha,
685  BOOLEAN bSrcPixelXBGR
686  );
687 
710 MW_RESULT
711 LIBMWCAPTURE_API
713  HCHANNEL hChannel,
714  HOSD hImage,
716  MWCAP_VIDEO_QUANTIZATION_RANGE quantRangeDest,
717  MWCAP_VIDEO_SATURATION_RANGE satRangeDest,
718  WORD xDest,
719  WORD yDest,
720  WORD cxDest,
721  WORD cyDest,
722  LARGE_INTEGER llSrcFrameAddress,
723  DWORD cbSrcFrame,
724  DWORD cbSrcStride,
725  WORD cxSrc,
726  WORD cySrc,
727  BOOLEAN bSrcBottomUp,
728  BOOLEAN bSrcPixelAlpha,
729  BOOLEAN bSrcPixelXBGR
730  );
731 
739 MW_RESULT
740 LIBMWCAPTURE_API
742  HCHANNEL hChannel,
743  unsigned int* pnTemp
744  );
745 
753 MW_RESULT
754 LIBMWCAPTURE_API
756  HCHANNEL hChannel,
757  MWCAP_VIDEO_OSD_SETTINGS * pOSDSettings
758  );
759 
767 MW_RESULT
768 LIBMWCAPTURE_API
770  HCHANNEL hChannel,
771  MWCAP_VIDEO_OSD_SETTINGS OSDSettings
772  );
773 
781 MW_RESULT
782 LIBMWCAPTURE_API
784  HCHANNEL hChannel,
785  MWCAP_VIDEO_OSD_IMAGE * pOSDImage
786  );
787 
795 MW_RESULT
796 LIBMWCAPTURE_API
798  HCHANNEL hChannel,
799  MWCAP_VIDEO_OSD_IMAGE OSDImage
800  );
801 
809 MW_RESULT
810 LIBMWCAPTURE_API
812  HCHANNEL hChannel,
813  int *pnBrightness
814  );
815 
823 MW_RESULT
824 LIBMWCAPTURE_API
826  HCHANNEL hChannel,
827  int nBrightness
828  );
829 
837 MW_RESULT
838 LIBMWCAPTURE_API
840  HCHANNEL hChannel,
841  int * pnContrast
842  );
843 
851 MW_RESULT
852 LIBMWCAPTURE_API
854  HCHANNEL hChannel,
855  int nContrast
856  );
857 
865 MW_RESULT
866 LIBMWCAPTURE_API
868  HCHANNEL hChannel,
869  int * pnHue
870  );
871 
879 MW_RESULT
880 LIBMWCAPTURE_API
882  HCHANNEL hChannel,
883  int nHue
884  );
885 
893 MW_RESULT
894 LIBMWCAPTURE_API
896  HCHANNEL hChannel,
897  int * pnSaturation
898  );
899 
907 MW_RESULT
908 LIBMWCAPTURE_API
910  HCHANNEL hChannel,
911  int nSaturation
912  );
913 
920 MW_RESULT
921 LIBMWCAPTURE_API
923  HCHANNEL hChannel
924  );
925 
932 MW_RESULT
933 LIBMWCAPTURE_API
935  HCHANNEL hChannel
936  );
937 
945 MW_RESULT
946 LIBMWCAPTURE_API
948  HCHANNEL hChannel,
949  BOOLEAN * pbAuto
950  );
951 
959 MW_RESULT
960 LIBMWCAPTURE_API
962  HCHANNEL hChannel,
963  BOOLEAN bAuto
964  );
965 
973 MW_RESULT
974 LIBMWCAPTURE_API
976  HCHANNEL hChannel,
977  BYTE * pbyValue
978  );
979 
987 MW_RESULT
988 LIBMWCAPTURE_API
990  HCHANNEL hChannel,
991  BYTE byValue
992  );
993 
1001 MW_RESULT
1002 LIBMWCAPTURE_API
1004  HCHANNEL hChannel,
1005  BOOLEAN * pbAuto
1006  );
1007 
1015 MW_RESULT
1016 LIBMWCAPTURE_API
1018  HCHANNEL hChannel,
1019  BOOLEAN bAuto
1020  );
1021 
1029 MW_RESULT
1030 LIBMWCAPTURE_API
1032  HCHANNEL hChannel,
1033  MWCAP_VIDEO_TIMING videoTiming
1034  );
1035 
1044 MW_RESULT
1045 LIBMWCAPTURE_API
1047  HCHANNEL hChannel,
1048  MWCAP_VIDEO_TIMING * pVideoTiming,
1049  long * plCount
1050  );
1051 
1059 MW_RESULT
1060 LIBMWCAPTURE_API
1062  HCHANNEL hChannel,
1063  MWCAP_VIDEO_CUSTOM_TIMING videoTiming
1064  );
1065 
1073 MW_RESULT
1074 LIBMWCAPTURE_API
1076  HCHANNEL hChannel,
1077  DWORD* pdwCount
1078  );
1079 
1088 MW_RESULT
1089 LIBMWCAPTURE_API
1091  HCHANNEL hChannel,
1092  MWCAP_VIDEO_CUSTOM_TIMING * pVideoCustomTiming,
1093  DWORD * pdwCount
1094  );
1095 
1104 MW_RESULT
1105 LIBMWCAPTURE_API
1107  HCHANNEL hChannel,
1108  MWCAP_VIDEO_CUSTOM_TIMING * pVideoCustomTiming,
1109  DWORD dwCount
1110  );
1111 
1119 MW_RESULT
1120 LIBMWCAPTURE_API
1122  HCHANNEL hChannel,
1123  DWORD * pdwCount
1124  );
1125 
1134 MW_RESULT
1135 LIBMWCAPTURE_API
1137  HCHANNEL hChannel,
1138  MWCAP_SIZE * pResolutionSize,
1139  DWORD * pdwCount
1140  );
1141 
1150 MW_RESULT
1151 LIBMWCAPTURE_API
1153  HCHANNEL hChannel,
1154  MWCAP_SIZE * pResolutionSize,
1155  DWORD dwCount
1156  );
1157 
1163 MWCAP_PTR
1164 LIBMWCAPTURE_API
1166  );
1167 
1174 MW_RESULT
1175 LIBMWCAPTURE_API
1176 MWCloseEvent(
1177  MWCAP_PTR hEvent
1178  );
1179 
1186 MW_RESULT
1187 LIBMWCAPTURE_API
1188 MWSetEvent(
1189  MWCAP_PTR hEvent
1190  );
1191 
1198 MW_RESULT
1199 LIBMWCAPTURE_API
1200 MWClearEvent(
1201  MWCAP_PTR hEvent
1202  );
1203 
1210 BOOLEAN
1211 LIBMWCAPTURE_API
1212 MWIsSetEvent(
1213  MWCAP_PTR hEvent
1214  );
1215 
1222 int
1223 LIBMWCAPTURE_API
1225  MWCAP_PTR hEvent
1226  );
1227 
1235 int
1236 LIBMWCAPTURE_API
1237 MWWaitEvent(
1238  MWCAP_PTR hEvent,
1239  int nTimeout
1240  );
1241 
1250 DWORD
1251 LIBMWCAPTURE_API
1253  MWCAP_PTR * hEvents,
1254  int nCount,
1255  int nTimeout
1256  );
1257 
1258 #ifdef __cplusplus
1259 }
1260 #endif
1261 
1262 #endif
MWCloseImage
MW_RESULT LIBMWCAPTURE_API MWCloseImage(HCHANNEL hChannel, HOSD hImage, LONG *plRet)
Closes image according to channel handle.
_MWCAP_VIDEO_CUSTOM_TIMING
MWCAP_VIDEO_CUSTOM_TIMING.
Definition: MWCaptureExtension.h:1572
_MWCAP_VIDEO_TIMING
MWCAP_VIDEO_TIMING.
Definition: MWCaptureExtension.h:330
MWCAP_VIDEO_DEINTERLACE_MODE
enum _MWCAP_VIDEO_DEINTERLACE_MODE MWCAP_VIDEO_DEINTERLACE_MODE
MWCAP_VIDEO_DEINTERLACE_MODE.
MWGetVideoOSDSettings
MW_RESULT LIBMWCAPTURE_API MWGetVideoOSDSettings(HCHANNEL hChannel, MWCAP_VIDEO_OSD_SETTINGS *pOSDSettings)
Gets OSD settings according to channel handle.
MWCaptureVideoFrameToVirtualAddress
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 a video frame, fills it into virtual memory.
MWSetVideoSamplingPhase
MW_RESULT LIBMWCAPTURE_API MWSetVideoSamplingPhase(HCHANNEL hChannel, BYTE byValue)
Sets the sampling phase according to channel handle.
MWReloadPreset
MW_RESULT LIBMWCAPTURE_API MWReloadPreset(HCHANNEL hChannel)
Reloads the presetting configurations of video capture according to channel handle.
MWGetVideoCaptureStatus
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureStatus(HCHANNEL hChannel, MWCAP_VIDEO_CAPTURE_STATUS *pStatus)
Gets video capture state, and frees up system storage.
MWPinVideoBuffer
MW_RESULT LIBMWCAPTURE_API MWPinVideoBuffer(HCHANNEL hChannel, MWCAP_PTR pbFrame, DWORD cbFrame)
Pins a video buffer according to channel handle.
MWStartVideoCapture
MW_RESULT LIBMWCAPTURE_API MWStartVideoCapture(HCHANNEL hChannel, MWHANDLE hEvent)
Starts video capture according to channel handle.
MWStartAudioCapture
MW_RESULT LIBMWCAPTURE_API MWStartAudioCapture(HCHANNEL hChannel)
Starts audio capturing of specified channel.
MWTryWaitEvent
int LIBMWCAPTURE_API MWTryWaitEvent(MWCAP_PTR hEvent)
Waits for the event.
MWGetVideoContrast
MW_RESULT LIBMWCAPTURE_API MWGetVideoContrast(HCHANNEL hChannel, int *pnContrast)
Gets the contrast of video captured according to channel handle.
MWSetVideoSaturation
MW_RESULT LIBMWCAPTURE_API MWSetVideoSaturation(HCHANNEL hChannel, int nSaturation)
Sets the saturation of video captured according to channel handle.
MWSaveSettingsAsPreset
MW_RESULT LIBMWCAPTURE_API MWSaveSettingsAsPreset(HCHANNEL hChannel)
Saves the presetting configurations of video capture according to channel handle.
MWOpenChannel
HCHANNEL LIBMWCAPTURE_API MWOpenChannel(int nBoardValue, int nChannelIndex)
Opens channel according to the nBoardValue and nChannelIndex.
MWGetVideoPreferredTimingArray
MW_RESULT LIBMWCAPTURE_API MWGetVideoPreferredTimingArray(HCHANNEL hChannel, MWCAP_VIDEO_TIMING *pVideoTiming, long *plCount)
Gets the preset video timing array according to channel handle.
_MWCAP_SIZE
Definition: MWCaptureExtension.h:367
MWGetDeviceTime
MW_RESULT LIBMWCAPTURE_API MWGetDeviceTime(HCHANNEL hChannel, LONGLONG *pllTime)
Gets Device clock according to the channel handle.
MWOpenImage
MW_RESULT LIBMWCAPTURE_API MWOpenImage(HCHANNEL hChannel, HOSD hImage, LONG *plRet)
Opens OSD images.
MWCaptureVideoFrameToVirtualAddressEx
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 system memory. It is the extended MWCaptureVideoFrameToVirtualAddress.
MWCAP_VIDEO_QUANTIZATION_RANGE
enum _MWCAP_VIDEO_QUANTIZATION_RANGE MWCAP_VIDEO_QUANTIZATION_RANGE
MWCAP_VIDEO_QUANTIZATION_RANGE.
MWGetVideoSamplingPhaseAutoAdjust
MW_RESULT LIBMWCAPTURE_API MWGetVideoSamplingPhaseAutoAdjust(HCHANNEL hChannel, BOOLEAN *pbAuto)
Gets whether the video sampling phase is automatically adjusted according to channel handle.
MWUnregisterNotify
MW_RESULT LIBMWCAPTURE_API MWUnregisterNotify(HCHANNEL hChannel, HNOTIFY hNotify)
Unregisters notification object.
MWSetEvent
MW_RESULT LIBMWCAPTURE_API MWSetEvent(MWCAP_PTR hEvent)
Triggers the event.
MWCaptureAudioFrame
MW_RESULT LIBMWCAPTURE_API MWCaptureAudioFrame(HCHANNEL hChannel, MWCAP_AUDIO_CAPTURE_FRAME *pAudioCaptureFrame)
Captures audio frame according to channel handle.
MWGetCustomVideoTimingsCount
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoTimingsCount(HCHANNEL hChannel, DWORD *pdwCount)
Gets the number of customized video timing according to channel handle.
_MWCAP_VIDEO_OSD_SETTINGS
MWCAP_VIDEO_OSD_SETTINGS.
Definition: MWCaptureExtension.h:1554
_MWCAP_AUDIO_CAPTURE_FRAME
MWCAP_AUDIO_CAPTURE_FRAME.
Definition: MWCaptureExtension.h:1368
MWGetVideoSamplingPhase
MW_RESULT LIBMWCAPTURE_API MWGetVideoSamplingPhase(HCHANNEL hChannel, BYTE *pbyValue)
Gets the sampling phase according to channel handle.
MWSetVideoTiming
MW_RESULT LIBMWCAPTURE_API MWSetVideoTiming(HCHANNEL hChannel, MWCAP_VIDEO_TIMING videoTiming)
Sets the video timing according to channel handle.
MWSetCustomVideoResolutionsArray
MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoResolutionsArray(HCHANNEL hChannel, MWCAP_SIZE *pResolutionSize, DWORD dwCount)
Sets customized video resolution array according to channel handle.
MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE
enum _MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE
MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE.
MWGetVideoBrightness
MW_RESULT LIBMWCAPTURE_API MWGetVideoBrightness(HCHANNEL hChannel, int *pnBrightness)
Gets the brightness of video captured according to channel handle.
MWCreateEvent
MWCAP_PTR LIBMWCAPTURE_API MWCreateEvent()
Creates events.
MWGetVideoHue
MW_RESULT LIBMWCAPTURE_API MWGetVideoHue(HCHANNEL hChannel, int *pnHue)
Gets the hue of video captured according to channel handle.
MWCAP_VIDEO_SATURATION_RANGE
enum _MWCAP_VIDEO_SATURATION_RANGE MWCAP_VIDEO_SATURATION_RANGE
MWCAP_VIDEO_SATURATION_RANGE.
MWCaptureVideoFrameToPhysicalAddress
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.
MWSetPostReconfig
MW_RESULT LIBMWCAPTURE_API MWSetPostReconfig(HCHANNEL hChannel, DWORD dwDelayMS)
Sends instructions for rereading configurations to delay the execution.
MWUnregisterTimer
MW_RESULT LIBMWCAPTURE_API MWUnregisterTimer(HCHANNEL hChannel, HTIMER hTimer)
Unregisters timer according to the channel handle.
MWMultiWaitEvent
DWORD LIBMWCAPTURE_API MWMultiWaitEvent(MWCAP_PTR *hEvents, int nCount, int nTimeout)
Waits for the events.
MWGetTemperature
MW_RESULT LIBMWCAPTURE_API MWGetTemperature(HCHANNEL hChannel, unsigned int *pnTemp)
Gets the temperature of capture card.
MWGetVideoSaturation
MW_RESULT LIBMWCAPTURE_API MWGetVideoSaturation(HCHANNEL hChannel, int *pnSaturation)
Gets the saturation of video captured according to channel handle.
MWSetVideoBrightness
MW_RESULT LIBMWCAPTURE_API MWSetVideoBrightness(HCHANNEL hChannel, int nBrightness)
Sets the brightness of video captured according to channel handle.
MWCloseEvent
MW_RESULT LIBMWCAPTURE_API MWCloseEvent(MWCAP_PTR hEvent)
Destroys the event.
MWGetCustomVideoTimingsArray
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoTimingsArray(HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pVideoCustomTiming, DWORD *pdwCount)
Gets customized video timing array according to channel handle.
MWSetVideoAutoHAlign
MW_RESULT LIBMWCAPTURE_API MWSetVideoAutoHAlign(HCHANNEL hChannel, BOOLEAN bAuto)
Sets whether the horizontal direction of the video is automatically adjusted according to channel han...
MWIsSetEvent
BOOLEAN LIBMWCAPTURE_API MWIsSetEvent(MWCAP_PTR hEvent)
Querys whether the event is triggered.
MWCaptureVideoFrameToPhysicalAddressEx
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...
MWUploadImageFromPhysicalAddress
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.
MWClearEvent
MW_RESULT LIBMWCAPTURE_API MWClearEvent(MWCAP_PTR hEvent)
Resets the event.
MWRegisterNotify
HNOTIFY LIBMWCAPTURE_API MWRegisterNotify(HCHANNEL hChannel, MWHANDLE hEvent, DWORD dwEnableBits)
Registers notification object according to channel handle.
MWGetVideoFrameInfo
MW_RESULT LIBMWCAPTURE_API MWGetVideoFrameInfo(HCHANNEL hChannel, BYTE i, MWCAP_VIDEO_FRAME_INFO *pVideoFrameInfo)
Gets video frame information.
MWGetNotifyStatus
MW_RESULT LIBMWCAPTURE_API MWGetNotifyStatus(HCHANNEL hChannel, HNOTIFY hNotify, ULONGLONG *pullStatus)
Gets notify status according to channel handle.
MWSetDeviceTime
MW_RESULT LIBMWCAPTURE_API MWSetDeviceTime(HCHANNEL hChannel, LONGLONG llTime)
Set Device time according to the channel handle.
MWCreateImage
HOSD LIBMWCAPTURE_API MWCreateImage(HCHANNEL hChannel, int cx, int cy)
Creates OSD image according to channel handle.
MWWaitEvent
int LIBMWCAPTURE_API MWWaitEvent(MWCAP_PTR hEvent, int nTimeout)
Waits for the event.
MWCAP_VIDEO_COLOR_FORMAT
enum _MWCAP_VIDEO_COLOR_FORMAT MWCAP_VIDEO_COLOR_FORMAT
MWCAP_VIDEO_COLOR_FORMAT.
MWCaptureVideoFrameWithOSDToVirtualAddress
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.
MWGetVideoOSDImage
MW_RESULT LIBMWCAPTURE_API MWGetVideoOSDImage(HCHANNEL hChannel, MWCAP_VIDEO_OSD_IMAGE *pOSDImage)
Gets OSD according to channel handle.
MWRegisterTimer
HTIMER LIBMWCAPTURE_API MWRegisterTimer(HCHANNEL hChannel, MWHANDLE hEvent)
Registers timer according to the channel handle.
MWSetCustomVideoTiming
MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoTiming(HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING videoTiming)
Sets the customized video timing according to channel handle.
_MWCAP_VIDEO_CAPTURE_STATUS
MWCAP_VIDEO_CAPTURE_STATUS.
Definition: MWCaptureExtension.h:1326
_MWCAP_VIDEO_BUFFER_INFO
MWCAP_VIDEO_BUFFER_INFO.
Definition: MWCaptureExtension.h:1141
MWCaptureVideoFrameWithOSDToPhysicalAddress
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 add OSD.
MWGetCustomVideoResolutionsArray
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoResolutionsArray(HCHANNEL hChannel, MWCAP_SIZE *pResolutionSize, DWORD *pdwCount)
Gets customized video resolution array according to channel handle.
MWUnpinVideoBuffer
MW_RESULT LIBMWCAPTURE_API MWUnpinVideoBuffer(HCHANNEL hChannel, LPBYTE pbFrame)
Unlocks part of video buffer according to channel handle.
MWStopAudioCapture
MW_RESULT LIBMWCAPTURE_API MWStopAudioCapture(HCHANNEL hChannel)
Stops to capture audio according to channel handle.
MWRegulateDeviceTime
MW_RESULT LIBMWCAPTURE_API MWRegulateDeviceTime(HCHANNEL hChannel, LONGLONG llTime)
Calibration of the device time with the channel handle.
MWGetCustomVideoResolutionsCount
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoResolutionsCount(HCHANNEL hChannel, DWORD *pdwCount)
Gets the number of customized video resolution according to channel handle.
MWSetVideoOSDSettings
MW_RESULT LIBMWCAPTURE_API MWSetVideoOSDSettings(HCHANNEL hChannel, MWCAP_VIDEO_OSD_SETTINGS OSDSettings)
Sets OSD settings according to channel handle.
MWUploadImageFromVirtualAddress
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 system memory to capture device.
_LARGE_INTEGER
Definition: MWCaptureExtension.h:84
_MWCAP_VIDEO_OSD_IMAGE
Definition: MWCaptureExtension.h:1559
MWStopVideoCapture
MW_RESULT LIBMWCAPTURE_API MWStopVideoCapture(HCHANNEL hChannel)
Stops video capture according to channel handle.
MWSetVideoContrast
MW_RESULT LIBMWCAPTURE_API MWSetVideoContrast(HCHANNEL hChannel, int nContrast)
Sets the contrast of video captured according to channel handle.
MWGetVideoBufferInfo
MW_RESULT LIBMWCAPTURE_API MWGetVideoBufferInfo(HCHANNEL hChannel, MWCAP_VIDEO_BUFFER_INFO *pVideoBufferInfo)
Gets video buffered in the pro capture card according to channel handle.
MWSetVideoOSDImage
MW_RESULT LIBMWCAPTURE_API MWSetVideoOSDImage(HCHANNEL hChannel, MWCAP_VIDEO_OSD_IMAGE OSDImage)
Sets OSD according to channel handle.
_RECT
Definition: WinTypes.h:62
MWSetCustomVideoTimingsArray
MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoTimingsArray(HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pVideoCustomTiming, DWORD dwCount)
Sets customized video timing array according to channel handle.
MWSetVideoSamplingPhaseAutoAdjust
MW_RESULT LIBMWCAPTURE_API MWSetVideoSamplingPhaseAutoAdjust(HCHANNEL hChannel, BOOLEAN bAuto)
Sets whether the video sampling phase is automatically adjusted according to channel handle.
MWSetVideoHue
MW_RESULT LIBMWCAPTURE_API MWSetVideoHue(HCHANNEL hChannel, int nHue)
Sets the hue of video captured according to channel handle.
MWScheduleTimer
MW_RESULT LIBMWCAPTURE_API MWScheduleTimer(HCHANNEL hChannel, HTIMER hTimer, LONGLONG llExpireTime)
Schedules timer object according to channel handle.
_MWCAP_VIDEO_FRAME_INFO
MWCAP_VIDEO_FRAME_INFO.
Definition: MWCaptureExtension.h:1161
MWGetVideoAutoHAlign
MW_RESULT LIBMWCAPTURE_API MWGetVideoAutoHAlign(HCHANNEL hChannel, BOOLEAN *pbAuto)
Gets whether the horizontal direction of the video is automatically adjusted according to channel han...