MWCapture SDK Mac 3.4.62314

- Home
- Development Library
- Release Notes

Public Attributes | List of all members
_MWCAP_VIDEO_CAPS Struct Reference
Structures

MWCAP_VIDEO_CAPS. More...

`#include <MWCaptureExtension.h>`

## Public Attributes
DWORD | dwCaps
| Capture capability.
WORD | wMaxInputWidth
| Max input width.
WORD | wMaxInputHeight
| Max input height.
WORD | wMaxOutputWidth
| Max output width.
WORD | wMaxOutputHeight
| Max output height.

## Detailed Description

MWCAP_VIDEO_CAPS.

Records video capture capability.
Usage:

MWCAP_VIDEO_CAPS caps;
mr = MWGetVideoCaps(hChannel, &caps);
if(caps& MWCAP_USB_VIDEO_CAP_HDMI_LOOP_THROUGH){
//HDMI_LOOP_THROUGH
}
if(caps& MWCAP_USB_VIDEO_CAP_SDI_LOOP_THROUGH){
//SDI_LOOP_THROUGH
}
if(caps&MWCAP_USB_VIDEO_CAP_PLANAR_FORMAT){
//PLANAR_FORMAT
}
MWGetVideoCaps
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaps(HCHANNEL hChannel, MWCAP_VIDEO_CAPS *pVideoCaps)
Gets video capture capability of the specified channel.
_MWCAP_VIDEO_CAPS
MWCAP_VIDEO_CAPS.
Definition: MWCaptureExtension.h:470

Where dwCaps correspond to

#define MWCAP_USB_VIDEO_CAP_HDMI_LOOP_THROUGH 0x00000001\n
#define MWCAP_USB_VIDEO_CAP_SDI_LOOP_THROUGH 0x00000002\n
#define MWCAP_USB_VIDEO_CAP_PLANAR_FORMAT 0x00000004\n

It is used for USB capture card to determin whether a loopthrough interface or color format like I420 is supported by your USB capture card. For other capture card, it is always 0.

The documentation for this struct was generated from the following file:

- /Users/magewell/builds/ks3341Bc/0/msdk/research/mw_capture_sdk_mac/Include/LibMWCapture/MWCaptureExtension.h