MWCapture SDK Mac 3.4.62314

- Home
- Development Library
- Release Notes

Classes | Typedefs
Structures

## Classes
struct | _MWCAP_VIDEO_SYNC_INFO
| MWCAP_VIDEO_SYNC_INFO. More...
struct | _MWCAP_VIDEO_TIMING
| MWCAP_VIDEO_TIMING. More...
struct | _MWCAP_VIDEO_TIMING_SETTINGS
| MWCAP_VIDEO_TIMING_SETTINGS. More...
struct | _MWCAP_DWORD_PARAMETER_RANGE
| MWCAP_DWORD_PARAMETER_RANGE. More...
struct | _MWCAP_DWORD_PARAMETER_VALUE
| MWCAP_DWORD_PARAMETER_VALUE. More...
struct | _MWCAP_CHANNEL_INFO
| MWCAP_CHANNEL_INFO. More...
struct | _MWCAP_PRO_CAPTURE_INFO
| MWCAP_PCIE_CAPTURE_INFO. More...
struct | _MWCAP_VIDEO_CAPS
| MWCAP_VIDEO_CAPS. More...
struct | _MWCAP_AUDIO_CAPS
| MWCAP_AUDIO_CAPS. More...
struct | _MWCAP_FIRMWARE_STORAGE_CARD
| MWCAP_FIRMWARE_STORAGE_CARD. More...
struct | _MWCAP_FIRMWARE_STORAGE_USB
| MWCAP_FIRMWARE_STORAGE_USB. More...
struct | _MWCAP_SDI_SPECIFIC_STATUS
| MWCAP_SDI_SPECIFIC_STATUS. More...
struct | _MWCAP_HDMI_VIDEO_TIMING
| MWCAP_HDMI_VIDEO_TIMING. More...
struct | _MWCAP_HDMI_SPECIFIC_STATUS
| MWCAP_HDMI_SPECIFIC_STATUS. More...
struct | _MWCAP_COMPONENT_SPECIFIC_STATUS
| MWCAP_COMPONENT_SPECIFIC_STATUS. More...
struct | _MWCAP_CVBS_YC_SPECIFIC_STATUS
| MWCAP_CVBS_YC_SPECIFIC_STATUS. More...
struct | _MWCAP_INPUT_SPECIFIC_STATUS
| MWCAP_INPUT_SPECIFIC_STATUS. More...
struct | _MWCAP_VIDEO_SIGNAL_STATUS
| MWCAP_VIDEO_SIGNAL_STATUS. More...
struct | _MWCAP_AUDIO_SIGNAL_STATUS
| MWCAP_AUDIO_SIGNAL_STATUS. More...
struct | _MWCAP_SMPTE_TIMECODE
| MWCAP_SMPTE_TIMECODE. More...
struct | _MWCAP_VIDEO_BUFFER_INFO
| MWCAP_VIDEO_BUFFER_INFO. More...
struct | _MWCAP_VIDEO_FRAME_INFO
| MWCAP_VIDEO_FRAME_INFO. More...
struct | _MWCAP_VIDEO_CAPTURE_STATUS
| MWCAP_VIDEO_CAPTURE_STATUS. More...
struct | _MWCAP_AUDIO_CAPTURE_FRAME
| MWCAP_AUDIO_CAPTURE_FRAME. More...
struct | _MWCAP_VIDEO_CONNECTION_FORMAT
| MWCAP_VIDEO_CONNECTION_FORMAT. More...
struct | _MWCAP_VIDEO_PROCESS_SETTINGS
| MWCAP_VIDEO_PROCESS_SETTINGS. More...
struct | _MWCAP_VIDEO_OSD_SETTINGS
| MWCAP_VIDEO_OSD_SETTINGS. More...
struct | _MWCAP_VIDEO_CUSTOM_TIMING
| MWCAP_VIDEO_CUSTOM_TIMING. More...
struct | _MWCAP_SDI_ANC_TYPE
| MWCAP_SDI_ANC_TYPE. More...
struct | _MWCAP_SDI_ANC_PACKET
| MWCAP_SDI_ANC_PACKET. More...
struct | _MWCAP_VIDEO_ECO_CAPTURE_OPEN
| MWCAP_VIDEO_ECO_CAPTURE_OPEN. More...
struct | _MWCAP_VIDEO_ECO_CAPTURE_SETTINGS
| MWCAP_VIDEO_ECO_CAPTURE_SETTINGS. More...
struct | _MWCAP_VIDEO_ECO_CAPTURE_FRAME
| MWCAP_VIDEO_ECO_CAPTURE_FRAME. More...
struct | _MWCAP_VIDEO_ECO_CAPTURE_STATUS
| MWCAP_VIDEO_ECO_CAPTURE_STATUS. More...
struct | _HDMI_AVI_INFOFRAME_PAYLOAD
| HDMI_AVI_INFOFRAME_PAYLOAD. More...
struct | _HDMI_INFOFRAME_HEADER
| HDMI_INFOFRAME_HEADER. More...
struct | _HDMI_INFOFRAME_PACKET
| HDMI_INFOFRAME_PACKET. More...
struct | _MWUSBCAP_CAPTURE_INFO
| MWUSBCAP_CAPTURE_INFO. More...

## Typedefs
typedef struct _MWCAP_VIDEO_SYNC_INFO | MWCAP_VIDEO_SYNC_INFO
| MWCAP_VIDEO_SYNC_INFO.
typedef struct _MWCAP_VIDEO_TIMING | MWCAP_VIDEO_TIMING
| MWCAP_VIDEO_TIMING.
typedef struct _MWCAP_VIDEO_TIMING_SETTINGS | MWCAP_VIDEO_TIMING_SETTINGS
| MWCAP_VIDEO_TIMING_SETTINGS.
typedef struct _MWCAP_DWORD_PARAMETER_RANGE | MWCAP_DWORD_PARAMETER_RANGE
| MWCAP_DWORD_PARAMETER_RANGE.
typedef struct _MWCAP_DWORD_PARAMETER_VALUE | MWCAP_DWORD_PARAMETER_VALUE
| MWCAP_DWORD_PARAMETER_VALUE.
typedef struct _MWCAP_CHANNEL_INFO | MWCAP_CHANNEL_INFO
| MWCAP_CHANNEL_INFO.
typedef struct _MWCAP_PRO_CAPTURE_INFO | MWCAP_PRO_CAPTURE_INFO
| MWCAP_PCIE_CAPTURE_INFO.
typedef struct _MWCAP_VIDEO_CAPS | MWCAP_VIDEO_CAPS
| MWCAP_VIDEO_CAPS.
typedef struct _MWCAP_AUDIO_CAPS | MWCAP_AUDIO_CAPS
| MWCAP_AUDIO_CAPS.
typedef struct _MWCAP_FIRMWARE_STORAGE_CARD | MWCAP_FIRMWARE_STORAGE_CARD
| MWCAP_FIRMWARE_STORAGE_CARD.
typedef struct _MWCAP_FIRMWARE_STORAGE_USB | MWCAP_FIRMWARE_STORAGE_USB
| MWCAP_FIRMWARE_STORAGE_USB.
typedef struct _MWCAP_SDI_SPECIFIC_STATUS | MWCAP_SDI_SPECIFIC_STATUS
| MWCAP_SDI_SPECIFIC_STATUS.
typedef struct _MWCAP_HDMI_VIDEO_TIMING | MWCAP_HDMI_VIDEO_TIMING
| MWCAP_HDMI_VIDEO_TIMING.
typedef struct _MWCAP_HDMI_SPECIFIC_STATUS | MWCAP_HDMI_SPECIFIC_STATUS
| MWCAP_HDMI_SPECIFIC_STATUS.
typedef struct _MWCAP_COMPONENT_SPECIFIC_STATUS | MWCAP_COMPONENT_SPECIFIC_STATUS
| MWCAP_COMPONENT_SPECIFIC_STATUS.
typedef struct _MWCAP_CVBS_YC_SPECIFIC_STATUS | MWCAP_CVBS_YC_SPECIFIC_STATUS
| MWCAP_CVBS_YC_SPECIFIC_STATUS.
typedef struct _MWCAP_INPUT_SPECIFIC_STATUS | MWCAP_INPUT_SPECIFIC_STATUS
| MWCAP_INPUT_SPECIFIC_STATUS.
typedef struct _MWCAP_VIDEO_SIGNAL_STATUS | MWCAP_VIDEO_SIGNAL_STATUS
| MWCAP_VIDEO_SIGNAL_STATUS.
typedef struct _MWCAP_AUDIO_SIGNAL_STATUS | MWCAP_AUDIO_SIGNAL_STATUS
| MWCAP_AUDIO_SIGNAL_STATUS.
typedef struct _MWCAP_SMPTE_TIMECODE | MWCAP_SMPTE_TIMECODE
| MWCAP_SMPTE_TIMECODE.
typedef struct _MWCAP_VIDEO_BUFFER_INFO | MWCAP_VIDEO_BUFFER_INFO
| MWCAP_VIDEO_BUFFER_INFO.
typedef struct _MWCAP_VIDEO_FRAME_INFO | MWCAP_VIDEO_FRAME_INFO
| MWCAP_VIDEO_FRAME_INFO.
typedef struct _MWCAP_VIDEO_CAPTURE_STATUS | MWCAP_VIDEO_CAPTURE_STATUS
| MWCAP_VIDEO_CAPTURE_STATUS.
typedef struct _MWCAP_AUDIO_CAPTURE_FRAME | MWCAP_AUDIO_CAPTURE_FRAME
| MWCAP_AUDIO_CAPTURE_FRAME.
typedef struct _MWCAP_VIDEO_CONNECTION_FORMAT | MWCAP_VIDEO_CONNECTION_FORMAT
| MWCAP_VIDEO_CONNECTION_FORMAT.
typedef struct _MWCAP_VIDEO_PROCESS_SETTINGS | MWCAP_VIDEO_PROCESS_SETTINGS
| MWCAP_VIDEO_PROCESS_SETTINGS.
typedef struct _MWCAP_VIDEO_OSD_SETTINGS | MWCAP_VIDEO_OSD_SETTINGS
| MWCAP_VIDEO_OSD_SETTINGS.
typedef struct _MWCAP_VIDEO_CUSTOM_TIMING | MWCAP_VIDEO_CUSTOM_TIMING
| MWCAP_VIDEO_CUSTOM_TIMING.
typedef struct _MWCAP_SDI_ANC_TYPE | MWCAP_SDI_ANC_TYPE
| MWCAP_SDI_ANC_TYPE.
typedef struct _MWCAP_SDI_ANC_PACKET | MWCAP_SDI_ANC_PACKET
| MWCAP_SDI_ANC_PACKET.
typedef struct _MWCAP_VIDEO_ECO_CAPTURE_OPEN | MWCAP_VIDEO_ECO_CAPTURE_OPEN
| MWCAP_VIDEO_ECO_CAPTURE_OPEN.
typedef struct _MWCAP_VIDEO_ECO_CAPTURE_SETTINGS | MWCAP_VIDEO_ECO_CAPTURE_SETTINGS
| MWCAP_VIDEO_ECO_CAPTURE_SETTINGS.
typedef struct _MWCAP_VIDEO_ECO_CAPTURE_FRAME | MWCAP_VIDEO_ECO_CAPTURE_FRAME
| MWCAP_VIDEO_ECO_CAPTURE_FRAME.
typedef struct _MWCAP_VIDEO_ECO_CAPTURE_STATUS | MWCAP_VIDEO_ECO_CAPTURE_STATUS
| MWCAP_VIDEO_ECO_CAPTURE_STATUS.
typedef struct _HDMI_AVI_INFOFRAME_PAYLOAD | HDMI_AVI_INFOFRAME_PAYLOAD
| HDMI_AVI_INFOFRAME_PAYLOAD.
typedef struct _HDMI_INFOFRAME_HEADER | HDMI_INFOFRAME_HEADER
| HDMI_INFOFRAME_HEADER.
typedef struct _HDMI_INFOFRAME_PACKET | HDMI_INFOFRAME_PACKET
| HDMI_INFOFRAME_PACKET.
typedef struct _MWUSBCAP_CAPTURE_INFO | MWUSBCAP_CAPTURE_INFO
| MWUSBCAP_CAPTURE_INFO.

## Detailed Description

## Typedef Documentation

## ◆ HDMI_AVI_INFOFRAME_PAYLOAD

typedef struct _HDMI_AVI_INFOFRAME_PAYLOAD HDMI_AVI_INFOFRAME_PAYLOAD

HDMI_AVI_INFOFRAME_PAYLOAD.

Records AVI infoframe.

## ◆ HDMI_INFOFRAME_HEADER

typedef struct _HDMI_INFOFRAME_HEADER HDMI_INFOFRAME_HEADER

HDMI_INFOFRAME_HEADER.

Records HDMI infoframe header
Related struct HDMI_INFOFRAME_PACKET

## ◆ HDMI_INFOFRAME_PACKET

typedef struct _HDMI_INFOFRAME_PACKET HDMI_INFOFRAME_PACKET

HDMI_INFOFRAME_PACKET.

Records HDMI infoframe
Related function MWGetHDMIInfoFramePacket

## ◆ MWCAP_AUDIO_CAPS

typedef struct _MWCAP_AUDIO_CAPS MWCAP_AUDIO_CAPS

MWCAP_AUDIO_CAPS.

Records audio capture capability of your card.
Usage:

MWCAP_AUDIO_CAPS audioCaps;
MWGetAudioCaps(m_hcChannel,&audioCaps);
if(audioCaps.dwCaps&MWCAP_USB_AUDIO_CAP_EMBEDDED_CAPTURE){
//MWCAP_AUDIO_CAPTURE_NODE_EMBEDDED_CAPTURE;
}
if(audioCaps.dwCaps&MWCAP_USB_AUDIO_CAP_MICROPHONE){
//MWCAP_AUDIO_CAPTURE_NODE_MICROPHONE;
}
if(audioCaps.dwCaps&MWCAP_USB_AUDIO_CAP_LINE_IN){
//MWCAP_AUDIO_CAPTURE_NODE_LINE_IN;
}
if(audioCaps.dwCaps&MWCAP_USB_AUDIO_CAP_USB_CAPTURE){
//MWCAP_AUDIO_CAPTURE_NODE_USB_CAPTURE;
}
if (audioCaps.dwCaps&MWCAP_USB_AUDIO_CAP_HEADPHONE){
//headphone
}
MWGetAudioCaps
MW_RESULT LIBMWCAPTURE_API MWGetAudioCaps(HCHANNEL hChannel, MWCAP_AUDIO_CAPS *pAudioCaps)
Gets audio capture capability of the channel.
_MWCAP_AUDIO_CAPS
MWCAP_AUDIO_CAPS.
Definition: MWCaptureExtension.h:515
_MWCAP_AUDIO_CAPS::dwCaps
DWORD dwCaps
Audio capture capability.
Definition: MWCaptureExtension.h:516

Where dwCaps correspond to

#define MWCAP_USB_AUDIO_CAP_MICROPHONE (1 << MWCAP_USB_AUDIO_MICROPHONE)\n
#define MWCAP_USB_AUDIO_CAP_HEADPHONE (1 << MWCAP_USB_AUDIO_HEADPHONE)\n
#define MWCAP_USB_AUDIO_CAP_LINE_IN (1 << MWCAP_USB_AUDIO_LINE_IN)\n
#define MWCAP_USB_AUDIO_CAP_LINE_OUT (1 << MWCAP_USB_AUDIO_LINE_OUT)\n
#define MWCAP_USB_AUDIO_CAP_EMBEDDED_CAPTURE (1 << MWCAP_USB_AUDIO_EMBEDDED_CAPTURE)\n
#define MWCAP_USB_AUDIO_CAP_EMBEDDED_PLAYBACK (1 << MWCAP_USB_AUDIO_EMBEDDED_PLAYBACK)\n
#define MWCAP_USB_AUDIO_CAP_USB_CAPTURE (1 << MWCAP_USB_AUDIO_USB_CAPTURE)\n
#define MWCAP_USB_AUDIO_CAP_USB_PLAYBACK (1 << MWCAP_USB_AUDIO_USB_PLAYBACK)\n

It is used for USB capture card to determine whether your USB capture card support for audio function

## ◆ MWCAP_AUDIO_CAPTURE_FRAME

typedef struct _MWCAP_AUDIO_CAPTURE_FRAME MWCAP_AUDIO_CAPTURE_FRAME

MWCAP_AUDIO_CAPTURE_FRAME.

Records audio frame info.
Related functions are:
MWCaptureAudioFrame

## ◆ MWCAP_AUDIO_SIGNAL_STATUS

typedef struct _MWCAP_AUDIO_SIGNAL_STATUS MWCAP_AUDIO_SIGNAL_STATUS

MWCAP_AUDIO_SIGNAL_STATUS.

Records audio signal status.
Related functions is
MWGetAudioSignalStatus

## ◆ MWCAP_CHANNEL_INFO

typedef struct _MWCAP_CHANNEL_INFO MWCAP_CHANNEL_INFO

MWCAP_CHANNEL_INFO.

Records detailed channel information
Related functions are:
MWGetChannelInfoByIndex
MWGetChannelInfo

## ◆ MWCAP_COMPONENT_SPECIFIC_STATUS

typedef struct _MWCAP_COMPONENT_SPECIFIC_STATUS MWCAP_COMPONENT_SPECIFIC_STATUS

MWCAP_COMPONENT_SPECIFIC_STATUS.

Records the Component signal status.
Related data type are
MWCAP_INPUT_SPECIFIC_STATUS
Related functions are:
MWGetInputSpecificStatus

## ◆ MWCAP_CVBS_YC_SPECIFIC_STATUS

typedef struct _MWCAP_CVBS_YC_SPECIFIC_STATUS MWCAP_CVBS_YC_SPECIFIC_STATUS

MWCAP_CVBS_YC_SPECIFIC_STATUS.

Records CVBS_YC signal status.
Related data type is
MWCAP_INPUT_SPECIFIC_STATUS
Related functions is
MWGetInputSpecificStatus

## ◆ MWCAP_DWORD_PARAMETER_RANGE

typedef struct _MWCAP_DWORD_PARAMETER_RANGE MWCAP_DWORD_PARAMETER_RANGE

MWCAP_DWORD_PARAMETER_RANGE.

Defines parameters value range, step and the default value.

## ◆ MWCAP_DWORD_PARAMETER_VALUE

typedef struct _MWCAP_DWORD_PARAMETER_VALUE MWCAP_DWORD_PARAMETER_VALUE

MWCAP_DWORD_PARAMETER_VALUE.

Defines a DWORD

## ◆ MWCAP_FIRMWARE_STORAGE_CARD

typedef struct _MWCAP_FIRMWARE_STORAGE_CARD MWCAP_FIRMWARE_STORAGE_CARD

MWCAP_FIRMWARE_STORAGE_CARD.

Records firmware storage information of your capture card
Related data type: #MWCAP_FIRMWARE_STORAGE

## ◆ MWCAP_FIRMWARE_STORAGE_USB

typedef struct _MWCAP_FIRMWARE_STORAGE_USB MWCAP_FIRMWARE_STORAGE_USB

MWCAP_FIRMWARE_STORAGE_USB.

Records firmware storage information of the USB capture card
Related data type: #MWCAP_FIRMWARE_STORAGE

## ◆ MWCAP_HDMI_SPECIFIC_STATUS

typedef struct _MWCAP_HDMI_SPECIFIC_STATUS MWCAP_HDMI_SPECIFIC_STATUS

MWCAP_HDMI_SPECIFIC_STATUS.

Records the HDMI signal status.
Related data type are
MWCAP_INPUT_SPECIFIC_STATUS
Related functions are:
MWGetInputSpecificStatus

## ◆ MWCAP_HDMI_VIDEO_TIMING

typedef struct _MWCAP_HDMI_VIDEO_TIMING MWCAP_HDMI_VIDEO_TIMING

MWCAP_HDMI_VIDEO_TIMING.

Records HDMI timing.
Related data type are
MWCAP_HDMI_SPECIFIC_STATUS
MWCAP_INPUT_SPECIFIC_STATUS
Related functions is:
MWGetInputSpecificStatus

## ◆ MWCAP_INPUT_SPECIFIC_STATUS

typedef struct _MWCAP_INPUT_SPECIFIC_STATUS MWCAP_INPUT_SPECIFIC_STATUS

MWCAP_INPUT_SPECIFIC_STATUS.

Records input signal status.
Related functions are:
MWGetInputSpecificStatus

## ◆ MWCAP_PRO_CAPTURE_INFO

typedef struct _MWCAP_PRO_CAPTURE_INFO MWCAP_PRO_CAPTURE_INFO

MWCAP_PCIE_CAPTURE_INFO.

Records PCIE connctions.
Related functions are:
MWGetFamilyInfoByIndex
MWGetFamilyInfo

## ◆ MWCAP_SDI_ANC_PACKET

typedef struct _MWCAP_SDI_ANC_PACKET MWCAP_SDI_ANC_PACKET

MWCAP_SDI_ANC_PACKET.

SDI ANC
Related functions are:
MWCaptureGetSDIANCPacket

## ◆ MWCAP_SDI_ANC_TYPE

typedef struct _MWCAP_SDI_ANC_TYPE MWCAP_SDI_ANC_TYPE

MWCAP_SDI_ANC_TYPE.

Configurations of SDI ANC
Related functions are:
MWCaptureSetSDIANCType

## ◆ MWCAP_SDI_SPECIFIC_STATUS

typedef struct _MWCAP_SDI_SPECIFIC_STATUS MWCAP_SDI_SPECIFIC_STATUS

MWCAP_SDI_SPECIFIC_STATUS.

Records SDI signal status
Related data type is:
MWCAP_INPUT_SPECIFIC_STATUS
Related function is:
MWGetInputSpecificStatus

## ◆ MWCAP_SMPTE_TIMECODE

typedef struct _MWCAP_SMPTE_TIMECODE MWCAP_SMPTE_TIMECODE

MWCAP_SMPTE_TIMECODE.

Records SMPTE timecode.
Related type: MWCAP_VIDEO_FRAME_INFO

MWCAP_VIDEO_FRAME_INFO videoFrameInfo;
nRet= MWGetVideoFrameInfo(g_hChannel[i], videoBufferInfo.iNewestBufferedFullFrame, &videoFrameInfo);
printf("[Timecode] Top: %2x:%2x:%2x:%2x , Bottom: %2x:%2x:%2x:%2x\n",
videoFrameInfo.aSMPTETimeCodes[0].byHours,
videoFrameInfo.aSMPTETimeCodes[0].byMinutes,
videoFrameInfo.aSMPTETimeCodes[0].bySeconds,
videoFrameInfo.aSMPTETimeCodes[0].byFrames,
videoFrameInfo.aSMPTETimeCodes[1].byHours,
videoFrameInfo.aSMPTETimeCodes[1].byMinutes,
videoFrameInfo.aSMPTETimeCodes[1].bySeconds,
videoFrameInfo.aSMPTETimeCodes[1].byFrames
);
MWGetVideoFrameInfo
MW_RESULT LIBMWCAPTURE_API MWGetVideoFrameInfo(HCHANNEL hChannel, BYTE i, MWCAP_VIDEO_FRAME_INFO *pVideoFrameInfo)
Gets video frame information.
_MWCAP_SMPTE_TIMECODE::byFrames
BYTE byFrames
Frames number.
Definition: MWCaptureExtension.h:1090
_MWCAP_SMPTE_TIMECODE::bySeconds
BYTE bySeconds
Seconds.
Definition: MWCaptureExtension.h:1091
_MWCAP_SMPTE_TIMECODE::byMinutes
BYTE byMinutes
Minutes.
Definition: MWCaptureExtension.h:1092
_MWCAP_SMPTE_TIMECODE::byHours
BYTE byHours
Hours.
Definition: MWCaptureExtension.h:1093
_MWCAP_VIDEO_FRAME_INFO
MWCAP_VIDEO_FRAME_INFO.
Definition: MWCaptureExtension.h:1136
_MWCAP_VIDEO_FRAME_INFO::aSMPTETimeCodes
MWCAP_SMPTE_TIMECODE aSMPTETimeCodes[2]
Time code of top and bottom frame respectively.
Definition: MWCaptureExtension.h:1151

## ◆ MWCAP_VIDEO_BUFFER_INFO

typedef struct _MWCAP_VIDEO_BUFFER_INFO MWCAP_VIDEO_BUFFER_INFO

MWCAP_VIDEO_BUFFER_INFO.

Records video buffer information.
Related functions are:
MWGetVideoBufferInfo

## ◆ MWCAP_VIDEO_CAPS

typedef struct _MWCAP_VIDEO_CAPS MWCAP_VIDEO_CAPS

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.

## ◆ MWCAP_VIDEO_CAPTURE_STATUS

typedef struct _MWCAP_VIDEO_CAPTURE_STATUS MWCAP_VIDEO_CAPTURE_STATUS

MWCAP_VIDEO_CAPTURE_STATUS.

Records state of video capture.
Related functions are:
MWGetVideoCaptureStatus

## ◆ MWCAP_VIDEO_CONNECTION_FORMAT

typedef struct _MWCAP_VIDEO_CONNECTION_FORMAT MWCAP_VIDEO_CONNECTION_FORMAT

MWCAP_VIDEO_CONNECTION_FORMAT.

Defines video connection format

## ◆ MWCAP_VIDEO_CUSTOM_TIMING

typedef struct _MWCAP_VIDEO_CUSTOM_TIMING MWCAP_VIDEO_CUSTOM_TIMING

MWCAP_VIDEO_CUSTOM_TIMING.

Defines custom video timing.
Related functions are:
MWSetCustomVideoTiming

## ◆ MWCAP_VIDEO_ECO_CAPTURE_FRAME

typedef struct _MWCAP_VIDEO_ECO_CAPTURE_FRAME MWCAP_VIDEO_ECO_CAPTURE_FRAME

MWCAP_VIDEO_ECO_CAPTURE_FRAME.

ECO capture frames,MAC doesn't support

## ◆ MWCAP_VIDEO_ECO_CAPTURE_OPEN

typedef struct _MWCAP_VIDEO_ECO_CAPTURE_OPEN MWCAP_VIDEO_ECO_CAPTURE_OPEN

MWCAP_VIDEO_ECO_CAPTURE_OPEN.

ECO capture configurations,MAC doesn't support

## ◆ MWCAP_VIDEO_ECO_CAPTURE_SETTINGS

typedef struct _MWCAP_VIDEO_ECO_CAPTURE_SETTINGS MWCAP_VIDEO_ECO_CAPTURE_SETTINGS

MWCAP_VIDEO_ECO_CAPTURE_SETTINGS.

ECO capture configurations,MAC doesn't support

## ◆ MWCAP_VIDEO_ECO_CAPTURE_STATUS

typedef struct _MWCAP_VIDEO_ECO_CAPTURE_STATUS MWCAP_VIDEO_ECO_CAPTURE_STATUS

MWCAP_VIDEO_ECO_CAPTURE_STATUS.

ECO capture status, obatains the captured video,MAC doesn't support.

## ◆ MWCAP_VIDEO_FRAME_INFO

typedef struct _MWCAP_VIDEO_FRAME_INFO MWCAP_VIDEO_FRAME_INFO

MWCAP_VIDEO_FRAME_INFO.

Records video frame information
Related functions are:
MWGetVideoFrameInfo

## ◆ MWCAP_VIDEO_OSD_SETTINGS

typedef struct _MWCAP_VIDEO_OSD_SETTINGS MWCAP_VIDEO_OSD_SETTINGS

MWCAP_VIDEO_OSD_SETTINGS.

Defines OSD
Related functions are:
MWGetVideoOSDSettings
MWSetVideoOSDSettings

## ◆ MWCAP_VIDEO_PROCESS_SETTINGS

typedef struct _MWCAP_VIDEO_PROCESS_SETTINGS MWCAP_VIDEO_PROCESS_SETTINGS

MWCAP_VIDEO_PROCESS_SETTINGS.

Defines settings of video process
Related functions are:
MWUSBGetVideoCaptureProcessSettings
MWUSBSetVideoCaptureProcessSettings

## ◆ MWCAP_VIDEO_SIGNAL_STATUS

typedef struct _MWCAP_VIDEO_SIGNAL_STATUS MWCAP_VIDEO_SIGNAL_STATUS

MWCAP_VIDEO_SIGNAL_STATUS.

Defines video signal status.
Related functions are:
MWGetVideoSignalStatus

## ◆ MWCAP_VIDEO_SYNC_INFO

typedef struct _MWCAP_VIDEO_SYNC_INFO MWCAP_VIDEO_SYNC_INFO

MWCAP_VIDEO_SYNC_INFO.

Records the sync info of the timing

## ◆ MWCAP_VIDEO_TIMING

typedef struct _MWCAP_VIDEO_TIMING MWCAP_VIDEO_TIMING

MWCAP_VIDEO_TIMING.

Records video channel timing
The related function is MWSetVideoTiming

## ◆ MWCAP_VIDEO_TIMING_SETTINGS

typedef struct _MWCAP_VIDEO_TIMING_SETTINGS MWCAP_VIDEO_TIMING_SETTINGS

MWCAP_VIDEO_TIMING_SETTINGS.

Records video timing settings
which is in both MWCAP_VIDEO_CUSTOM_TIMING and MWCAP_COMPONENT_SPECIFIC_STATUS.
Related functions are MWGetCustomVideoTimings
MWSetCustomVideoTimings
MWSetCustomVideoTiming

## ◆ MWUSBCAP_CAPTURE_INFO

typedef struct _MWUSBCAP_CAPTURE_INFO MWUSBCAP_CAPTURE_INFO

MWUSBCAP_CAPTURE_INFO.

Records connection information of USB device.
Related function(s): MWGetFamilyInfoByIndex
MWGetFamilyInfo