MWCAP_VIDEO_CAPS.
Records video capture capability.
Usage:
if(caps& MWCAP_USB_VIDEO_CAP_HDMI_LOOP_THROUGH){
}
if(caps& MWCAP_USB_VIDEO_CAP_SDI_LOOP_THROUGH){
}
if(caps&MWCAP_USB_VIDEO_CAP_PLANAR_FORMAT){
}
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaps(HCHANNEL hChannel, MWCAP_VIDEO_CAPS *pVideoCaps)
Gets video capture capability of the specified channel.
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.