MWCapture SDK Mac  3.3.0.12920
Public Attributes | List of all members
_MWCAP_VIDEO_CAPS Struct Reference

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:

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
}

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:
MWGetVideoCaps
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaps(HCHANNEL hChannel, MWCAP_VIDEO_CAPS *pVideoCaps)
Obtains channel video capability information based on the channel handle.
_MWCAP_VIDEO_CAPS
MWCAP_VIDEO_CAPS.
Definition: MWCaptureExtension.h:470