MWCapture SDK Mac
3.3.1.16905
|
Functions | |
HCHANNEL LIBMWCAPTURE_API | MWOpenChannel (int nBoardValue, int nChannelIndex) |
Opens channel according to the nBoardValue and nChannelIndex. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetDeviceTime (HCHANNEL hChannel, LONGLONG *pllTime) |
Gets Device clock according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetDeviceTime (HCHANNEL hChannel, LONGLONG llTime) |
Set Device time according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWRegulateDeviceTime (HCHANNEL hChannel, LONGLONG llTime) |
Calibration of the device time with the channel handle. More... | |
HTIMER LIBMWCAPTURE_API | MWRegisterTimer (HCHANNEL hChannel, MWHANDLE hEvent) |
Registers timer according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWUnregisterTimer (HCHANNEL hChannel, HTIMER hTimer) |
Unregisters timer according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWScheduleTimer (HCHANNEL hChannel, HTIMER hTimer, LONGLONG llExpireTime) |
Schedules timer object according to channel handle. More... | |
HNOTIFY LIBMWCAPTURE_API | MWRegisterNotify (HCHANNEL hChannel, MWHANDLE hEvent, DWORD dwEnableBits) |
Registers notification object according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWUnregisterNotify (HCHANNEL hChannel, HNOTIFY hNotify) |
Unregisters notification object. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetNotifyStatus (HCHANNEL hChannel, HNOTIFY hNotify, ULONGLONG *pullStatus) |
Gets notify status according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWStartVideoCapture (HCHANNEL hChannel, MWHANDLE hEvent) |
Starts video capture according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWStopVideoCapture (HCHANNEL hChannel) |
Stops video capture according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWPinVideoBuffer (HCHANNEL hChannel, MWCAP_PTR pbFrame, DWORD cbFrame) |
Pins a video buffer according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWUnpinVideoBuffer (HCHANNEL hChannel, LPBYTE pbFrame) |
Unlocks part of video buffer according to channel handle. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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 MWCaptureVideoFrameToPhysicalAddress. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoBufferInfo (HCHANNEL hChannel, MWCAP_VIDEO_BUFFER_INFO *pVideoBufferInfo) |
Gets video buffered in the pro capture card according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoFrameInfo (HCHANNEL hChannel, BYTE i, MWCAP_VIDEO_FRAME_INFO *pVideoFrameInfo) |
Gets video frame information. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaptureStatus (HCHANNEL hChannel, MWCAP_VIDEO_CAPTURE_STATUS *pStatus) |
Gets video capture state, and frees up system storage. More... | |
MW_RESULT LIBMWCAPTURE_API | MWStartAudioCapture (HCHANNEL hChannel) |
Starts audio capturing of specified channel. More... | |
MW_RESULT LIBMWCAPTURE_API | MWStopAudioCapture (HCHANNEL hChannel) |
Stops to capture audio according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWCaptureAudioFrame (HCHANNEL hChannel, MWCAP_AUDIO_CAPTURE_FRAME *pAudioCaptureFrame) |
Captures audio frame according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetPostReconfig (HCHANNEL hChannel, DWORD dwDelayMS) |
Sends instructions for rereading configurations to delay the execution. More... | |
HOSD LIBMWCAPTURE_API | MWCreateImage (HCHANNEL hChannel, int cx, int cy) |
Creates OSD image according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWOpenImage (HCHANNEL hChannel, HOSD hImage, LONG *plRet) |
Opens OSD images. More... | |
MW_RESULT LIBMWCAPTURE_API | MWCloseImage (HCHANNEL hChannel, HOSD hImage, LONG *plRet) |
Closes image according to channel handle. More... | |
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. More... | |
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. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetTemperature (HCHANNEL hChannel, unsigned int *pnTemp) |
Gets the temperature of capture card. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoOSDSettings (HCHANNEL hChannel, MWCAP_VIDEO_OSD_SETTINGS *pOSDSettings) |
Gets OSD settings according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoOSDSettings (HCHANNEL hChannel, MWCAP_VIDEO_OSD_SETTINGS OSDSettings) |
Sets OSD settings according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoOSDImage (HCHANNEL hChannel, MWCAP_VIDEO_OSD_IMAGE *pOSDImage) |
Gets OSD according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoOSDImage (HCHANNEL hChannel, MWCAP_VIDEO_OSD_IMAGE OSDImage) |
Sets OSD according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoBrightness (HCHANNEL hChannel, int *pnBrightness) |
Gets the brightness of video captured according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoBrightness (HCHANNEL hChannel, int nBrightness) |
Sets the brightness of video captured according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoContrast (HCHANNEL hChannel, int *pnContrast) |
Gets the contrast of video captured according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoContrast (HCHANNEL hChannel, int nContrast) |
Sets the contrast of video captured according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoHue (HCHANNEL hChannel, int *pnHue) |
Gets the hue of video captured according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoHue (HCHANNEL hChannel, int nHue) |
Sets the hue of video captured according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoSaturation (HCHANNEL hChannel, int *pnSaturation) |
Gets the saturation of video captured according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoSaturation (HCHANNEL hChannel, int nSaturation) |
Sets the saturation of video captured according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSaveSettingsAsPreset (HCHANNEL hChannel) |
Saves the presetting configurations of video capture according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWReloadPreset (HCHANNEL hChannel) |
Reloads the presetting configurations of video capture according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoAutoHAlign (HCHANNEL hChannel, BOOLEAN *pbAuto) |
Gets whether the horizontal direction of the video is automatically adjusted according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoAutoHAlign (HCHANNEL hChannel, BOOLEAN bAuto) |
Sets whether the horizontal direction of the video is automatically adjusted according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoSamplingPhase (HCHANNEL hChannel, BYTE *pbyValue) |
Gets the sampling phase according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoSamplingPhase (HCHANNEL hChannel, BYTE byValue) |
Sets the sampling phase according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoSamplingPhaseAutoAdjust (HCHANNEL hChannel, BOOLEAN *pbAuto) |
Gets whether the video sampling phase is automatically adjusted according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoSamplingPhaseAutoAdjust (HCHANNEL hChannel, BOOLEAN bAuto) |
Sets whether the video sampling phase is automatically adjusted according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoTiming (HCHANNEL hChannel, MWCAP_VIDEO_TIMING videoTiming) |
Sets the video timing according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoPreferredTimingArray (HCHANNEL hChannel, MWCAP_VIDEO_TIMING *pVideoTiming, long *plCount) |
Gets the preset video timing array according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetCustomVideoTiming (HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING videoTiming) |
Sets the customized video timing according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetCustomVideoTimingsCount (HCHANNEL hChannel, DWORD *pdwCount) |
Gets the number of customized video timing according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetCustomVideoTimingsArray (HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pVideoCustomTiming, DWORD *pdwCount) |
Gets customized video timing array according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetCustomVideoTimingsArray (HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pVideoCustomTiming, DWORD dwCount) |
Sets customized video timing array according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetCustomVideoResolutionsCount (HCHANNEL hChannel, DWORD *pdwCount) |
Gets the number of customized video resolution according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetCustomVideoResolutionsArray (HCHANNEL hChannel, MWCAP_SIZE *pResolutionSize, DWORD *pdwCount) |
Gets customized video resolution array according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetCustomVideoResolutionsArray (HCHANNEL hChannel, MWCAP_SIZE *pResolutionSize, DWORD dwCount) |
Sets customized video resolution array according to channel handle. More... | |
MWCAP_PTR LIBMWCAPTURE_API | MWCreateEvent () |
Creates events. More... | |
MW_RESULT LIBMWCAPTURE_API | MWCloseEvent (MWCAP_PTR hEvent) |
Destroys the event. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetEvent (MWCAP_PTR hEvent) |
Triggers the event. More... | |
MW_RESULT LIBMWCAPTURE_API | MWClearEvent (MWCAP_PTR hEvent) |
Resets the event. More... | |
BOOLEAN LIBMWCAPTURE_API | MWIsSetEvent (MWCAP_PTR hEvent) |
Querys whether the event is triggered. More... | |
int LIBMWCAPTURE_API | MWTryWaitEvent (MWCAP_PTR hEvent) |
Waits for the event. More... | |
int LIBMWCAPTURE_API | MWWaitEvent (MWCAP_PTR hEvent, int nTimeout) |
Waits for the event. More... | |
DWORD LIBMWCAPTURE_API | MWMultiWaitEvent (MWCAP_PTR *hEvents, int nCount, int nTimeout) |
Waits for the events. More... | |
MW_RESULT LIBMWCAPTURE_API MWCaptureAudioFrame | ( | HCHANNEL | hChannel, |
MWCAP_AUDIO_CAPTURE_FRAME * | pAudioCaptureFrame | ||
) |
Captures audio frame according to channel handle.
[in] | hChannel | Channel handle |
[out] | pAudioCaptureFrame | Captured audio frame |
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.
[in] | hChannel | Video channel handle that has started video capturing |
[in] | iFrame | Video frame number to be captured |
[in] | llFrameAddress | Physical addresses that store the captured video frames |
[in] | cbFrame | Byte length of memory that stores the captured data |
[in] | cbStride | Step of memory that stores the captured data |
[in] | bBottomUp | Whether to store the captured video frames from bottom to top |
[in] | pvContext | Custom context pointers |
[in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
[in] | cx | Width of captured video frames |
[in] | cy | Height of captured video frames |
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 MWCaptureVideoFrameToPhysicalAddress.
[in] | hChannel | Video channel handle that has started video capturing |
[in] | iFrame | Video frame number to be captured |
[in] | llFrameAddress | Physical addresses that store the captured video frames |
[in] | cbFrame | Byte length of memory that stores the captured data |
[in] | cbStride | Step of memory that stores the captured data |
[in] | bBottomUp | Whether to store the captured video frames from bottom to top |
[in] | pvContext | Custom context pointers |
[in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
[in] | cx | width of captured video frames |
[in] | cy | Height of captured video frames |
[in] | dwProcessSwitchs | Mask of video processing refers to MWCAP_VIDEO_PROCESS_xx |
[in] | cyParitalNotify | The number of lines when capturing by lines |
[in] | hOSDImage | OSD image handle which is geted using MWCreateImage(HCHANNEL hChannel,int cx,int cy) |
[in] | pOSDRects | Target area of OSD image |
[in] | cOSDRects | Number of OSD image target areas |
[in] | sContrast | Contrast |
[in] | sBrightness | Brightness |
[in] | sSaturation | Saturation |
[in] | sHue | Hue |
[in] | deinterlaceMode | Deinterlace Mode |
[in] | aspectRatioConvertMode | Aspect Ratio Convert Mode |
[in] | pRectSrc | The source area of the image to capture |
[in] | pRectDest | The destination area of the image to capture |
[in] | nAspectX | Width of the aspect ratio |
[in] | nAspectY | Height of the aspect ratio |
[in] | colorFormat | Color Format |
[in] | quantRange | Quantization Range |
[in] | satRange | 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 a video frame, fills it into virtual memory.
[in] | hChannel | Opened video capture channel handle |
[in] | iFrame | Video frame number to be captured |
[out] | pbFrame | Stores virtual memory pointers for captured data |
[in] | cbFrame | Byte length of memory that stores the captured data |
[in] | cbStride | Step of memory that stores the captured data |
[in] | bBottomUp | Whether to store the captured video frames from bottom to top |
[in] | pvContext | Custom context pointers |
[in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
[in] | cx | Width of captured video frames |
[in] | cy | Height of captured video frames |
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.
[in] | hChannel | Video channel handle that has started video capturing |
[in] | iFrame | Video frame number to be captured |
[out] | pbFrame | Physical addresses that store the captured video frames |
[in] | cbFrame | Byte length of memory that stores the captured data |
[in] | cbStride | Step of memory that stores the captured data |
[in] | bBottomUp | Whether to store the captured video frames from bottom to top |
[in] | pvContext | Custom context pointers |
[in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
[in] | cx | width of captured video frames |
[in] | cy | Height of captured video frames |
[in] | dwProcessSwitchs | Image processing mask. Refers to MWCAP_VIDEO_PROCESS_xx |
[in] | cyParitalNotify | Number of rows captured by lines |
[in] | hOSDImage | OSD image handle which is geted using MWCreateImage. |
[in] | pOSDRects | Target area of OSD image |
[in] | cOSDRects | Number of OSD image target areas |
[in] | sContrast | Contrast |
[in] | sBrightness | Brightness |
[in] | sSaturation | Saturation |
[in] | sHue | Hue |
[in] | deinterlaceMode | Deinterlace Mode |
[in] | aspectRatioConvertMode | Aspect Ratio Convert Mode |
[in] | pRectSrc | The source area of the image to capture |
[in] | pRectDest | The destination area of the image to capture |
[in] | nAspectX | Width of the aspect ratio |
[in] | nAspectY | Height of the aspect ratio |
[in] | colorFormat | Color Format |
[in] | quantRange | Quantization Range |
[in] | satRange | Saturation Range |
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.
[in] | hChannel | Video channel handle that has started video capturing |
[in] | iFrame | Video frame number to be captured |
[in] | llFrameAddress | Physical addresses that store the captured video frames |
[in] | cbFrame | Byte length of memory that stores the captured data |
[in] | cbStride | Step of memory that stores the captured data |
[in] | bBottomUp | Whether to store the captured video frames from bottom to top |
[in] | pvContext | Custom context pointers |
[in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
[in] | cx | width of captured video frames |
[in] | cy | Height of captured video frames |
[in] | hOSDImage | handle of OSD image which is geted using MWCreateImage. |
[in] | pOSDRects | Target area of OSD image |
[in] | cOSDRects | Number of OSD image target areas |
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.
[in] | hChannel | Video channel handle that has started video capturing |
[in] | iFrame | Video frame number to be captured |
[out] | pbFrame | Physical addresses that store the captured video frames |
[in] | cbFrame | Byte length of memory that stores the captured data |
[in] | cbStride | Step of memory that stores the captured data |
[in] | bBottomUp | Whether to store the captured video frames from bottom to top |
[in] | pvContext | Custom context pointers |
[in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
[in] | cx | Width of captured video frames |
[in] | cy | Height of captured video frames |
[in] | hOSDImage | Handle of OSD image which is geted using MWCreateImage |
[in] | pOSDRects | Target area of OSD image |
[in] | cOSDRects | Number of OSD image target areas |
MW_RESULT LIBMWCAPTURE_API MWClearEvent | ( | MWCAP_PTR | hEvent | ) |
Resets the event.
[in] | hEvent | Event |
MW_RESULT LIBMWCAPTURE_API MWCloseEvent | ( | MWCAP_PTR | hEvent | ) |
Destroys the event.
[in] | hEvent | Event handle |
MW_RESULT LIBMWCAPTURE_API MWCloseImage | ( | HCHANNEL | hChannel, |
HOSD | hImage, | ||
LONG * | plRet | ||
) |
Closes image according to channel handle.
[in] | hChannel | Opened channel handle |
[in] | hImage | Image handle |
[out] | plRet | Returns counts of the image being called |
MWCAP_PTR LIBMWCAPTURE_API MWCreateEvent | ( | ) |
Creates events.
HOSD LIBMWCAPTURE_API MWCreateImage | ( | HCHANNEL | hChannel, |
int | cx, | ||
int | cy | ||
) |
Creates OSD image according to channel handle.
[in] | hChannel | Opened channel handle |
[in] | cx | Width of image |
[in] | cy | Height of image |
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoResolutionsArray | ( | HCHANNEL | hChannel, |
MWCAP_SIZE * | pResolutionSize, | ||
DWORD * | pdwCount | ||
) |
Gets customized video resolution array according to channel handle.
[in] | hChannel | Channel handle |
[out] | pResolutionSize | Customized video resolution |
[out] | pdwCount | The number of customized video resolution |
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoResolutionsCount | ( | HCHANNEL | hChannel, |
DWORD * | pdwCount | ||
) |
Gets the number of customized video resolution according to channel handle.
[in] | hChannel | Channel handle |
[out] | pdwCount | The number of customized video resolution |
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoTimingsArray | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_CUSTOM_TIMING * | pVideoCustomTiming, | ||
DWORD * | pdwCount | ||
) |
Gets customized video timing array according to channel handle.
[in] | hChannel | Channel handle |
[out] | pVideoCustomTiming | Customized video timing |
[out] | pdwCount | The number of customized video timing |
MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoTimingsCount | ( | HCHANNEL | hChannel, |
DWORD * | pdwCount | ||
) |
Gets the number of customized video timing according to channel handle.
[in] | hChannel | Channel handle |
[out] | pdwCount | The number of customized video timing |
MW_RESULT LIBMWCAPTURE_API MWGetDeviceTime | ( | HCHANNEL | hChannel, |
LONGLONG * | pllTime | ||
) |
Gets Device clock according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pllTime | Time |
MW_RESULT LIBMWCAPTURE_API MWGetNotifyStatus | ( | HCHANNEL | hChannel, |
HNOTIFY | hNotify, | ||
ULONGLONG * | pullStatus | ||
) |
Gets notify status according to channel handle.
[in] | hChannel | Channel handle |
[in] | hNotify | Handle of notify object |
[out] | pullStatus | Notify status |
MW_RESULT LIBMWCAPTURE_API MWGetTemperature | ( | HCHANNEL | hChannel, |
unsigned int * | pnTemp | ||
) |
Gets the temperature of capture card.
[in] | hChannel | Opened channel handle |
[out] | pnTemp | Capture card temperature |
MW_RESULT LIBMWCAPTURE_API MWGetVideoAutoHAlign | ( | HCHANNEL | hChannel, |
BOOLEAN * | pbAuto | ||
) |
Gets whether the horizontal direction of the video is automatically adjusted according to channel handle.
[in] | hChannel | Channel handle |
[out] | pbAuto | Whether the horizontal direction of the video is automatically adjusted |
MW_RESULT LIBMWCAPTURE_API MWGetVideoBrightness | ( | HCHANNEL | hChannel, |
int * | pnBrightness | ||
) |
Gets the brightness of video captured according to channel handle.
[in] | hChannel | Channel handle |
[out] | pnBrightness | Brightness of video capture |
MW_RESULT LIBMWCAPTURE_API MWGetVideoBufferInfo | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_BUFFER_INFO * | pVideoBufferInfo | ||
) |
Gets video buffered in the pro capture card according to channel handle.
[in] | hChannel | Video channel handle that has started video capturing |
[out] | pVideoBufferInfo | Video bufferring information |
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureStatus | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_CAPTURE_STATUS * | pStatus | ||
) |
Gets video capture state, and frees up system storage.
[in] | hChannel | Video channel handle that has started video capturing |
[out] | pStatus | Returns video capture state |
MW_RESULT LIBMWCAPTURE_API MWGetVideoContrast | ( | HCHANNEL | hChannel, |
int * | pnContrast | ||
) |
Gets the contrast of video captured according to channel handle.
[in] | hChannel | Channel handle |
[out] | pnContrast | Contrast of video captured |
MW_RESULT LIBMWCAPTURE_API MWGetVideoFrameInfo | ( | HCHANNEL | hChannel, |
BYTE | i, | ||
MWCAP_VIDEO_FRAME_INFO * | pVideoFrameInfo | ||
) |
Gets video frame information.
[in] | hChannel | Video channel handle that has started video capturing |
[in] | i | Video frame index |
[out] | pVideoFrameInfo | Returns video frame information |
MW_RESULT LIBMWCAPTURE_API MWGetVideoHue | ( | HCHANNEL | hChannel, |
int * | pnHue | ||
) |
Gets the hue of video captured according to channel handle.
[in] | hChannel | Channel handle |
[in] | pnHue | Hue of video captured |
MW_RESULT LIBMWCAPTURE_API MWGetVideoOSDImage | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_OSD_IMAGE * | pOSDImage | ||
) |
Gets OSD according to channel handle.
[in] | hChannel | Channel handle |
[out] | pOSDImage | OSD image |
MW_RESULT LIBMWCAPTURE_API MWGetVideoOSDSettings | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_OSD_SETTINGS * | pOSDSettings | ||
) |
Gets OSD settings according to channel handle.
[in] | hChannel | Channel handle |
[out] | pOSDSettings | OSD settings of video capture |
MW_RESULT LIBMWCAPTURE_API MWGetVideoPreferredTimingArray | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_TIMING * | pVideoTiming, | ||
long * | plCount | ||
) |
Gets the preset video timing array according to channel handle.
[in] | hChannel | Channel handle |
[out] | pVideoTiming | Preset video timing array |
[out] | plCount | Count |
MW_RESULT LIBMWCAPTURE_API MWGetVideoSamplingPhase | ( | HCHANNEL | hChannel, |
BYTE * | pbyValue | ||
) |
Gets the sampling phase according to channel handle.
[in] | hChannel | Channel handle |
[out] | pbyValue | Sampling phase |
MW_RESULT LIBMWCAPTURE_API MWGetVideoSamplingPhaseAutoAdjust | ( | HCHANNEL | hChannel, |
BOOLEAN * | pbAuto | ||
) |
Gets whether the video sampling phase is automatically adjusted according to channel handle.
[in] | hChannel | Channel handle |
[out] | pbAuto | Whether the video sampling phase is automatically adjusted |
MW_RESULT LIBMWCAPTURE_API MWGetVideoSaturation | ( | HCHANNEL | hChannel, |
int * | pnSaturation | ||
) |
Gets the saturation of video captured according to channel handle.
[in] | hChannel | Channel handle |
[out] | pnSaturation | Saturation of video captured |
BOOLEAN LIBMWCAPTURE_API MWIsSetEvent | ( | MWCAP_PTR | hEvent | ) |
Querys whether the event is triggered.
[in] | hEvent | Event |
DWORD LIBMWCAPTURE_API MWMultiWaitEvent | ( | MWCAP_PTR * | hEvents, |
int | nCount, | ||
int | nTimeout | ||
) |
Waits for the events.
[in] | hEvents | Events |
[in] | nCount | The number of event objects |
[in] | nTimeout | Timeout period |
HCHANNEL LIBMWCAPTURE_API MWOpenChannel | ( | int | nBoardValue, |
int | nChannelIndex | ||
) |
Opens channel according to the nBoardValue and nChannelIndex.
[in] | nBoardValue | The board value of channel, DIP value |
[in] | nChannelIndex | Index of channel |
MW_RESULT LIBMWCAPTURE_API MWOpenImage | ( | HCHANNEL | hChannel, |
HOSD | hImage, | ||
LONG * | plRet | ||
) |
Opens OSD images.
[in] | hChannel | Opened channel handle |
[in] | hImage | Image handle |
[out] | plRet | Returns counts of the image being called |
MW_RESULT LIBMWCAPTURE_API MWPinVideoBuffer | ( | HCHANNEL | hChannel, |
MWCAP_PTR | pbFrame, | ||
DWORD | cbFrame | ||
) |
Pins a video buffer according to channel handle.
[in] | hChannel | Channel handle |
[in] | pbFrame | Virtual memory address |
[in] | cbFrame | Virtual memory size |
HNOTIFY LIBMWCAPTURE_API MWRegisterNotify | ( | HCHANNEL | hChannel, |
MWHANDLE | hEvent, | ||
DWORD | dwEnableBits | ||
) |
Registers notification object according to channel handle.
[in] | hChannel | Channel handle |
[in] | hEvent | Handle of the event object |
[in] | dwEnableBits | Event bits mask |
HTIMER LIBMWCAPTURE_API MWRegisterTimer | ( | HCHANNEL | hChannel, |
MWHANDLE | hEvent | ||
) |
Registers timer according to the channel handle.
[in] | hChannel | Channel handle |
[in] | hEvent | Event |
MW_RESULT LIBMWCAPTURE_API MWRegulateDeviceTime | ( | HCHANNEL | hChannel, |
LONGLONG | llTime | ||
) |
Calibration of the device time with the channel handle.
[in] | hChannel | Channel handle |
[in] | llTime | Time |
MW_RESULT LIBMWCAPTURE_API MWReloadPreset | ( | HCHANNEL | hChannel | ) |
Reloads the presetting configurations of video capture according to channel handle.
[in] | hChannel | Channel handle |
MW_RESULT LIBMWCAPTURE_API MWSaveSettingsAsPreset | ( | HCHANNEL | hChannel | ) |
Saves the presetting configurations of video capture according to channel handle.
[in] | hChannel | Channel handle |
MW_RESULT LIBMWCAPTURE_API MWScheduleTimer | ( | HCHANNEL | hChannel, |
HTIMER | hTimer, | ||
LONGLONG | llExpireTime | ||
) |
Schedules timer object according to channel handle.
[in] | hChannel | Channel handle |
[in] | hTimer | Handle of timer object |
[in] | llExpireTime | Expire time |
MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoResolutionsArray | ( | HCHANNEL | hChannel, |
MWCAP_SIZE * | pResolutionSize, | ||
DWORD | dwCount | ||
) |
Sets customized video resolution array according to channel handle.
[in] | hChannel | Channel handle |
[in] | pResolutionSize | Customized video resolution |
[in] | dwCount | The number of customized video resolution |
MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoTiming | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_CUSTOM_TIMING | videoTiming | ||
) |
Sets the customized video timing according to channel handle.
[in] | hChannel | Channel handle |
[in] | videoTiming | Customized video timing |
MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoTimingsArray | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_CUSTOM_TIMING * | pVideoCustomTiming, | ||
DWORD | dwCount | ||
) |
Sets customized video timing array according to channel handle.
[in] | hChannel | Channel handle |
[in] | pVideoCustomTiming | Customized video timing |
[in] | dwCount | The number of customized video timing |
MW_RESULT LIBMWCAPTURE_API MWSetDeviceTime | ( | HCHANNEL | hChannel, |
LONGLONG | llTime | ||
) |
Set Device time according to the channel handle.
[in] | hChannel | Channel handle |
[in] | llTime | Time |
MW_RESULT LIBMWCAPTURE_API MWSetEvent | ( | MWCAP_PTR | hEvent | ) |
Triggers the event.
[in] | hEvent | Event |
MW_RESULT LIBMWCAPTURE_API MWSetPostReconfig | ( | HCHANNEL | hChannel, |
DWORD | dwDelayMS | ||
) |
Sends instructions for rereading configurations to delay the execution.
[in] | hChannel | Opened channel handle |
[in] | dwDelayMS | Delay time in milliseconds |
MW_RESULT LIBMWCAPTURE_API MWSetVideoAutoHAlign | ( | HCHANNEL | hChannel, |
BOOLEAN | bAuto | ||
) |
Sets whether the horizontal direction of the video is automatically adjusted according to channel handle.
[in] | hChannel | Channel handle |
[in] | bAuto | Whether the horizontal direction of the video is automatically adjusted |
MW_RESULT LIBMWCAPTURE_API MWSetVideoBrightness | ( | HCHANNEL | hChannel, |
int | nBrightness | ||
) |
Sets the brightness of video captured according to channel handle.
[in] | hChannel | Channel handle |
[in] | nBrightness | Brightness of video captured |
MW_RESULT LIBMWCAPTURE_API MWSetVideoContrast | ( | HCHANNEL | hChannel, |
int | nContrast | ||
) |
Sets the contrast of video captured according to channel handle.
[in] | hChannel | Channel handle |
[in] | nContrast | Contrast of video captured |
MW_RESULT LIBMWCAPTURE_API MWSetVideoHue | ( | HCHANNEL | hChannel, |
int | nHue | ||
) |
Sets the hue of video captured according to channel handle.
[in] | hChannel | Channel handle |
[in] | nHue | Hue of video captured |
MW_RESULT LIBMWCAPTURE_API MWSetVideoOSDImage | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_OSD_IMAGE | OSDImage | ||
) |
Sets OSD according to channel handle.
[in] | hChannel | Channel handle |
[in] | OSGImage | OSD image |
MW_RESULT LIBMWCAPTURE_API MWSetVideoOSDSettings | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_OSD_SETTINGS | OSDSettings | ||
) |
Sets OSD settings according to channel handle.
[in] | hChannel | Channel handle |
[in] | OSDSettings | OSD settings of video capture |
MW_RESULT LIBMWCAPTURE_API MWSetVideoSamplingPhase | ( | HCHANNEL | hChannel, |
BYTE | byValue | ||
) |
Sets the sampling phase according to channel handle.
[in] | hChannel | Channel handle |
[in] | byValue | Sampling phase |
MW_RESULT LIBMWCAPTURE_API MWSetVideoSamplingPhaseAutoAdjust | ( | HCHANNEL | hChannel, |
BOOLEAN | bAuto | ||
) |
Sets whether the video sampling phase is automatically adjusted according to channel handle.
[in] | hChannel | Channel handle |
[in] | bAuto | Whether the video sampling phase is automatically adjusted |
MW_RESULT LIBMWCAPTURE_API MWSetVideoSaturation | ( | HCHANNEL | hChannel, |
int | nSaturation | ||
) |
Sets the saturation of video captured according to channel handle.
[in] | hChannel | Channel handle |
[in] | nSaturation | Saturation of video captured |
MW_RESULT LIBMWCAPTURE_API MWSetVideoTiming | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_TIMING | videoTiming | ||
) |
Sets the video timing according to channel handle.
[in] | hChannel | Channel handle |
[in] | videoTiming | Video timing |
MW_RESULT LIBMWCAPTURE_API MWStartAudioCapture | ( | HCHANNEL | hChannel | ) |
Starts audio capturing of specified channel.
[in] | hChannel | Channel handle |
MW_RESULT LIBMWCAPTURE_API MWStartVideoCapture | ( | HCHANNEL | hChannel, |
MWHANDLE | hEvent | ||
) |
Starts video capture according to channel handle.
[in] | hChannel | Channel handle |
[in] | hEvent | Handle of the event |
MW_RESULT LIBMWCAPTURE_API MWStopAudioCapture | ( | HCHANNEL | hChannel | ) |
Stops to capture audio according to channel handle.
[in] | hChannel | Channel handle |
MW_RESULT LIBMWCAPTURE_API MWStopVideoCapture | ( | HCHANNEL | hChannel | ) |
Stops video capture according to channel handle.
[in] | hChannel | Channel handle |
int LIBMWCAPTURE_API MWTryWaitEvent | ( | MWCAP_PTR | hEvent | ) |
Waits for the event.
[in] | hEvent | Event |
MW_RESULT LIBMWCAPTURE_API MWUnpinVideoBuffer | ( | HCHANNEL | hChannel, |
LPBYTE | pbFrame | ||
) |
Unlocks part of video buffer according to channel handle.
[in] | hChannel | Channel handle |
[in] | pbFrame | Virtual memory address |
MW_RESULT LIBMWCAPTURE_API MWUnregisterNotify | ( | HCHANNEL | hChannel, |
HNOTIFY | hNotify | ||
) |
Unregisters notification object.
[in] | hChannel | Channel handle |
[in] | hNotify | Event notification |
MW_RESULT LIBMWCAPTURE_API MWUnregisterTimer | ( | HCHANNEL | hChannel, |
HTIMER | hTimer | ||
) |
Unregisters timer according to the channel handle.
[in] | hChannel | Channel handle |
[in] | hTimer | Timer |
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.
[in] | hChannel | Opened channel handle |
[in] | hImage | Image handle |
[in] | cfDest | Color format of the target image |
[in] | quantRangeDest | Quantization range of the target image |
[in] | satRangeDest | Saturation range of the target image |
[in] | xDest | Horizontal target position |
[in] | yDest | Vertical target position |
[in] | cxDest | Target width of image |
[in] | cyDest | Target height of image |
[in] | llSrcFrameAddress | Physical address that stores the source image |
[in] | cbSrcFrame | Data length of source image |
[in] | cbSrcStride | Data step of source image |
[in] | cxSrc | Width of source image |
[in] | cySrc | Height of source image |
[in] | bSrcBottomUp | Whether the source image is up-side-down |
[in] | bSrcPixelAlpha | Whether there is an alpha component in the source image |
[in] | bSrcPixelXBGR | Whether the color format of the source image is XBGR |
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.
[in] | hChannel | Opened channel handle |
[in] | hImage | Image handle |
[in] | cfDest | Color format of the target image |
[in] | quantRangeDest | Quantization range of the target image |
[in] | satRangeDest | Saturation range of the target image |
[in] | xDest | Horizontal target position |
[in] | yDest | Vertical target position |
[in] | cxDest | Target width of image |
[in] | cyDest | Target height of image |
[in] | pvSrcFrame | Source image |
[in] | cbSrcFrame | Data length of source image |
[in] | cbSrcStride | Data step of source image |
[in] | cxSrc | Width of source image |
[in] | cySrc | Height of source image |
[in] | bSrcBottomUp | Whether the source image is up-side-down |
[in] | bSrcPixelAlpha | Whether there is an alpha component in the source image |
[in] | bSrcPixelXBGR | Whether the color format of the source image is XBGR |
int LIBMWCAPTURE_API MWWaitEvent | ( | MWCAP_PTR | hEvent, |
int | nTimeout | ||
) |
Waits for the event.
[in] | hEvent | Event |
[in] | nTimeout | Timeout period |