MWCapture SDK Mac 3.4.62314

- Home
- Development Library
- Release Notes

MWCapture.h
1/************************************************************************************************/
2// MWCapture.h : header file
3
4// MAGEWELL PROPRIETARY INFORMATION
5
6// The following license only applies to head files and library within Magewell's SDK
7// and not to Magewell's SDK as a whole.
8
9// Copyrights © Nanjing Magewell Electronics Co., Ltd. ("Magewell") All rights reserved.
10
11// Magewell grands to any person who obtains the copy of Magewell's head files and library
12// the rights,including without limitation, to use on the condition that the following terms are met:
13// - The above copyright notice shall be retained in any circumstances.
14// -The following disclaimer shall be included in the software and documentation and/or
15// other materials provided for the purpose of publish, distribution or sublicense.
16
17// THE SOFTWARE IS PROVIDED BY MAGEWELL "AS IS" AND ANY EXPRESS, INCLUDING BUT NOT LIMITED TO,
18// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19// IN NO EVENT SHALL MAGEWELL BE LIABLE
20
21// FOR ANY CLAIM, DIRECT OR INDIRECT DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT,
22// TORT OR OTHERWISE, ARISING IN ANY WAY OF USING THE SOFTWARE.
23
24// CONTACT INFORMATION:
25// SDK@magewell.net
26// http://www.magewell.com/
27//
28/************************************************************************************************/
29#pragma once
30
31#ifdef LIBMWCAPTURE_EXPORTS
32#define LIBMWCAPTURE_API __declspec(dllexport)
33#elif LIBMWCAPTURE_DLL
34#define LIBMWCAPTURE_API __declspec(dllimport)
35#else
36#define LIBMWCAPTURE_API
37#endif
38
39#include <stdint.h>
40#include "MWLinux.h"
41#include "MWProCapture.h"
42#include "MWCaptureExtension.h"
43#include "MWUSBCapture.h"
44#include "MWUSBCaptureExtension.h"
45
46#ifdef __cplusplus
47
48 extern "C"
49{
50#endif
51
79MW_RESULT
80LIBMWCAPTURE_API
81 MWGetVersion(
82 BYTE* pbyMaj,
83 BYTE* pbyMin,
84 WORD* pwBuild
85 );
86
95BOOL
96LIBMWCAPTURE_API
97 MWCaptureInitInstance(
98 );
99
100
107 void
108LIBMWCAPTURE_API
109 MWCaptureExitInstance(
110 );
111
134MW_RESULT
135LIBMWCAPTURE_API
136 MWRefreshDevice(
137 );
138
150 int
151LIBMWCAPTURE_API
152 MWGetChannelCount(
153 );
154
182MW_RESULT
183LIBMWCAPTURE_API
184 MWGetChannelInfoByIndex(
185 int nIndex,
186 MWCAP_CHANNEL_INFO * pChannelInfo
187 );
188
229MW_RESULT
230LIBMWCAPTURE_API
231 MWGetFamilyInfoByIndex(
232 int nIndex,
233 LPVOID pFamilyInfo,
234 DWORD dwSize
235 );
236
265MW_RESULT
266LIBMWCAPTURE_API
267 MWGetDevicePath(
268 int nIndex,
269 char* pDevicePath
270);
271
286HCHANNEL
287LIBMWCAPTURE_API
288 MWOpenChannelByPath(
289 const char* pszDevicePath
290 );
291
307 void
308LIBMWCAPTURE_API
309 MWCloseChannel(
310 HCHANNEL hChannel
311 );
312
346MW_RESULT
347LIBMWCAPTURE_API
348 MWGetChannelInfo(
349 HCHANNEL hChannel,
350 MWCAP_CHANNEL_INFO * pChannelInfo
351 );
352
394MW_RESULT
395LIBMWCAPTURE_API
396 MWGetFamilyInfo(
397 HCHANNEL hChannel,
398 LPVOID pFamilyInfo,
399 DWORD dwSize
400 );
401
434MW_RESULT
435LIBMWCAPTURE_API
436 MWGetVideoCaps(
437 HCHANNEL hChannel,
438 MWCAP_VIDEO_CAPS* pVideoCaps
439 );
440
473MW_RESULT
474LIBMWCAPTURE_API
475 MWGetAudioCaps(
476 HCHANNEL hChannel,
477 MWCAP_AUDIO_CAPS* pAudioCaps
478 );
479
526MW_RESULT
527LIBMWCAPTURE_API
528 MWGetVideoInputSourceArray(
529 HCHANNEL hChannel,
530 DWORD* pdwInputSource,
531 DWORD* pdwInputCount
532 );
533
580MW_RESULT
581LIBMWCAPTURE_API
582 MWGetAudioInputSourceArray(
583 HCHANNEL hChannel,
584 DWORD* pdwInputSource,
585 DWORD* pdwInputCount
586 );
587
588
622MW_RESULT
623LIBMWCAPTURE_API
624 MWGetInputSourceScan(
625 HCHANNEL hChannel,
626 BOOLEAN* pbScan
627 );
628
662MW_RESULT
663LIBMWCAPTURE_API
664 MWSetInputSourceScan(
665 HCHANNEL hChannel,
666 BOOLEAN bScan
667 );
668
706MW_RESULT
707LIBMWCAPTURE_API
708 MWGetAVInputSourceLink(
709 HCHANNEL hChannel,
710 BOOLEAN* pbLink
711 );
712
746MW_RESULT
747LIBMWCAPTURE_API
748 MWSetAVInputSourceLink(
749 HCHANNEL hChannel,
750 BOOLEAN bLink
751 );
752
788MW_RESULT
789LIBMWCAPTURE_API
790 MWGetVideoInputSource(
791 HCHANNEL hChannel,
792 DWORD* pdwSource
793 );
794
829MW_RESULT
830LIBMWCAPTURE_API
831 MWSetVideoInputSource(
832 HCHANNEL hChannel,
833 DWORD dwSource
834 );
835
871MW_RESULT
872LIBMWCAPTURE_API
873 MWGetAudioInputSource(
874 HCHANNEL hChannel,
875 DWORD* pdwSource
876 );
877
912MW_RESULT
913LIBMWCAPTURE_API
914 MWSetAudioInputSource(
915 HCHANNEL hChannel,
916 DWORD dwSource
917 );
918
919// EDID
957 MW_RESULT
958LIBMWCAPTURE_API
959 MWGetEDID(
960 HCHANNEL hChannel,
961 BYTE* pbyData,
962 ULONG* pulSize
963 );
964
1004MW_RESULT
1005LIBMWCAPTURE_API
1006 MWSetEDID(
1007 HCHANNEL hChannel,
1008 BYTE* pbyData,
1009 ULONG ulSize
1010 );
1011
1046MW_RESULT
1047LIBMWCAPTURE_API
1048 MWGetInputSpecificStatus(
1049 HCHANNEL hChannel,
1050 MWCAP_INPUT_SPECIFIC_STATUS * pInputStatus
1051 );
1052
1087MW_RESULT
1088LIBMWCAPTURE_API
1089 MWGetVideoSignalStatus(
1090 HCHANNEL hChannel,
1091 MWCAP_VIDEO_SIGNAL_STATUS * pSignalStatus
1092 );
1093
1128MW_RESULT
1129LIBMWCAPTURE_API
1130 MWGetAudioSignalStatus(
1131 HCHANNEL hChannel,
1132 MWCAP_AUDIO_SIGNAL_STATUS * pSignalStatus
1133 );
1134
1171MW_RESULT
1172LIBMWCAPTURE_API
1173 MWGetHDMIInfoFrameValidFlag(
1174 HCHANNEL hChannel,
1175 DWORD* pdwValidFlag
1176 );
1177
1221MW_RESULT
1222LIBMWCAPTURE_API
1223 MWGetHDMIInfoFramePacket(
1224 HCHANNEL hChannel,
1225 MWCAP_HDMI_INFOFRAME_ID id,
1226 HDMI_INFOFRAME_PACKET* pPacket
1227 );
1228
1264MW_RESULT
1265LIBMWCAPTURE_API
1266 MWSetVideoInputAspectRatio(
1267 HCHANNEL hChannel,
1268 int nAspectX,
1269 int nAspectY
1270 );
1271
1307MW_RESULT
1308LIBMWCAPTURE_API
1309 MWGetVideoInputAspectRatio(
1310 HCHANNEL hChannel,
1311 int* pnAspectX,
1312 int* pnAspectY
1313 );
1314
1349MW_RESULT
1350LIBMWCAPTURE_API
1351 MWSetVideoInputColorFormat(
1352 HCHANNEL hChannel,
1353 MWCAP_VIDEO_COLOR_FORMAT colorFormat
1354 );
1355
1389MW_RESULT
1390LIBMWCAPTURE_API
1391 MWGetVideoInputColorFormat(
1392 HCHANNEL hChannel,
1393 MWCAP_VIDEO_COLOR_FORMAT * pColorFormat
1394 );
1395
1430MW_RESULT
1431LIBMWCAPTURE_API
1432 MWSetVideoInputQuantizationRange(
1433 HCHANNEL hChannel,
1434 MWCAP_VIDEO_QUANTIZATION_RANGE quantRange
1435 );
1436
1470MW_RESULT
1471LIBMWCAPTURE_API
1472 MWGetVideoInputQuantizationRange(
1473 HCHANNEL hChannel,
1474 MWCAP_VIDEO_QUANTIZATION_RANGE* pQuantRange
1475 );
1476
1511MW_RESULT
1512LIBMWCAPTURE_API
1513 MWSetLEDMode(
1514 HCHANNEL hChannel,
1515 DWORD dwMode
1516 );
1517
1519// * @ingroup group_functions_common
1520//@brief Gets firmware storage information according to channel handle
1521//@param[in] hChannel Channel handle
1522//@param[out] pFirmwareStorageInfo The structure contains information about the device firmware
1523//@return Returns MW_SUCCEED if succeeded, otherwise returns MW_FAILED or MW_INVALID_PARAMS
1524//*/
1525//MW_RESULT
1526//LIBMWCAPTURE_API
1527//MWGetFirmwareStorageInfo(
1528// HCHANNEL hChannel,
1529// MWCAP_FIRMWARE_STORAGE * pFirmwareStorageInfo
1530// );
1531//
1533// * @ingroup group_functions_common
1534//@brief Erases the firmware data according to the channel handle
1535//@param[in] hChannel Channel handle
1536//@param[in] cbOffset Offset
1537//@param[in] cbErase The data size needed to erase
1538//@return Returns MW_SUCCEED if succeeded, otherwise returns MW_FAILED or MW_INVALID_PARAMS
1539//*/
1540//MW_RESULT
1541//LIBMWCAPTURE_API
1542//MWEraseFirmwareData(
1543// HCHANNEL hChannel,
1544// DWORD cbOffset,
1545// DWORD cbErase
1546// );
1547//
1549// * @ingroup group_functions_common
1550//@brief Obtains the firmware data according to the channel handle
1551//@param[in] hChannel Channel handle
1552//@param[in] cbOffset Offset
1553//@param[out] pbyData the firmware data being read
1554//@param[in] cbToRead The length of the data to read
1555//@param[out] pcbRead The length of the data being read
1556//@return Returns MW_SUCCEED if succeeded, otherwise returns MW_FAILED or MW_INVALID_PARAMS
1557//*/
1558//MW_RESULT
1559//LIBMWCAPTURE_API
1560//MWReadFirmwareData(
1561// HCHANNEL hChannel,
1562// DWORD cbOffset,
1563// BYTE * pbyData,
1564// DWORD cbToRead,
1565// DWORD * pcbRead
1566// );
1567//
1569// * @ingroup group_functions_common
1570//@brief Writes the firmware data according to the channel handle
1571//@param[in] hChannel Channel handle
1572//@param[in] cbOffset Offset
1573//@param[in] pbyData The firmware data to write
1574//@param[in] cbData The firmware data being written
1575//@return Returns MW_SUCCEED if succeeded, otherwise returns MW_FAILED or MW_INVALID_PARAMS
1576//*/
1577//MW_RESULT
1578//LIBMWCAPTURE_API
1579//MWWriteFirmwareData(
1580// HCHANNEL hChannel,
1581// DWORD cbOffset,
1582// BYTE * pbyData,
1583// DWORD cbData
1584// );
1585
1618MW_RESULT
1619 MWGetVideoDevicePathByChannel(
1620 HCHANNEL hChannel,
1621 char *pszVideoDevicePath
1622 );
1623
1664HANDLE
1665LIBMWCAPTURE_API
1666 MWCreateVideoCapture(
1667 char *pszVideoDevicePath,
1668 int nWidth,
1669 int nHeight,
1670 int nFourcc,
1671 int nFrameDuration,
1672 VIDEO_CAPTURE_CALLBACK callback,
1673 void* pParam
1674 );
1675
1717MW_RESULT
1718LIBMWCAPTURE_API
1719 MWDestoryVideoCapture(
1720 HANDLE hVideo
1721 );
1722
1766HANDLE
1767LIBMWCAPTURE_API
1768 MWCreateAudioCapture(
1769 HCHANNEL hChannel,
1770 MWCAP_AUDIO_CAPTURE_NODE captureNode,
1771 DWORD dwSamplesPerSec,
1772 WORD wBitsPerSample,
1773 WORD wChannels,
1774 AUDIO_CAPTURE_CALLBACK callback,
1775 void* pParam
1776 );
1777
1817MW_RESULT
1818LIBMWCAPTURE_API
1819 MWDestoryAudioCapture(
1820 HANDLE hAudio
1821 );
1822
1857MW_RESULT
1858 LIBMWCAPTURE_API
1859 MWGetAudioVolume(
1860 HCHANNEL hChannel,
1861 MWCAP_AUDIO_NODE audioNode,
1862 MWCAP_AUDIO_VOLUME* pVolume
1863 );
1864
1904MW_RESULT
1905 LIBMWCAPTURE_API
1906 MWSetAudioVolume(
1907 HCHANNEL hChannel,
1908 MWCAP_AUDIO_NODE audioNode,
1909 MWCAP_AUDIO_VOLUME* pVolume
1910 );
1911
1912
1951MW_RESULT
1952 LIBMWCAPTURE_API
1953 MWCaptureSetSDIANCType(
1954 HCHANNEL hChannel,
1955 BYTE byIndex,
1956 BOOLEAN bHANC,
1957 BOOLEAN bVANC,
1958 BYTE byDID,
1959 BYTE bySDID
1960 );
1961
1998MW_RESULT
1999 LIBMWCAPTURE_API
2000 MWCaptureGetSDIANCPacket(
2001 HCHANNEL hChannel,
2002 MWCAP_SDI_ANC_PACKET* pPacket
2003 );
2004
2041MW_RESULT
2042 LIBMWCAPTURE_API
2043 MWGetVideoCaptureSupportResolutionMode(
2044 HCHANNEL hChannel,
2045 MWCAP_VIDEO_RESOLUTION_MODE *pMode,
2046 int *pCount
2047 );
2048
2087MW_RESULT
2088 LIBMWCAPTURE_API
2089 MWGetVideoCaptureSupportRangeResolution(
2090 HCHANNEL hChannel,
2091 MWCAP_VIDEO_RESOLUTION_RANGE* pRange
2092 );
2093
2132MW_RESULT
2133 LIBMWCAPTURE_API
2134 MWGetVideoCaptureSupportListResolution(
2135 HCHANNEL hChannel,
2136 MWCAP_VIDEO_RESOLUTION_LIST* pList
2137 );
2138
2139
2178MW_RESULT
2179LIBMWCAPTURE_API
2180 MWGetVideoCaptureSupportColorFormat(
2181 HCHANNEL hChannel,
2182 DWORD* pColorFourcc,
2183 int* nCount
2184 );
2185
2187// * @ingroup group_functions_common
2188//@brief Gets the range of the video processing parameter
2189//@param[in] hVideo Video handle
2190//@param[in] videoProcParamType Parameter type of video processing (like brightness, contrast, hue, saturation)
2191//@param[out] plParamValueMin Minimum value of this parameter
2192//@param[out] plParamValueMax Maximum value of this parameter
2193//@param[out] plParamValueDef Default value of this parameter
2194//@return Returns MW_SUCCEED if succeeded, otherwise returns MW_FAILED or MW_INVALID_PARAMS
2195//*/
2196//MW_RESULT
2197//LIBMWCAPTURE_API
2198//MWGetVideoProcParamRange(
2199// HANDLE hVideo,
2200// MWCAP_VIDEO_PROC_PARAM_TYPE videoProcParamType,
2201// long * plParamValueMin,
2202// long * plParamValueMax,
2203// long * plParamValueDef
2204// );
2205//
2207// * @ingroup group_functions_common
2208//@brief Get the current value of the video processing parameter
2209//@param[in] hVideo Video handle
2210//@param[in] videoProcParamType Parameter type of video processing (like brightness, contrast, hue, saturation)
2211//@param[out] plParamValue Current value of this parameter
2212//@return Returns MW_SUCCEED if succeeded, otherwise returns MW_FAILED or MW_INVALID_PARAMS
2213//*/
2214//MW_RESULT
2215// LIBMWCAPTURE_API
2216// MWGetVideoProcParam(
2217// HANDLE hVideo,
2218// MWCAP_VIDEO_PROC_PARAM_TYPE videoProcParamType,
2219// long * plParamValue
2220// );
2221//
2222//
2224// * @ingroup group_functions_common
2225//@brief Set the current value of the video processing parameter
2226//@param[in] hVideo Video handle
2227//@param[in] videoProcParamType Parameter type of video processing (like brightness,contrast,hue,saturation)
2228//@param[in] lParamValue Parameters should be within the range
2229//@return Returns MW_SUCCEED if succeeded, otherwise returns MW_FAILED or MW_INVALID_PARAMS
2230//*/
2231//MW_RESULT
2232// LIBMWCAPTURE_API
2233// MWSetVideoProcParam(
2234// HANDLE hVideo,
2235// MWCAP_VIDEO_PROC_PARAM_TYPE videoProcParamType,
2236// long lParamValue
2237// );
2238//
2239
2240#ifdef __cplusplus
2241}
2242#endif
VIDEO_CAPTURE_CALLBACK
void(* VIDEO_CAPTURE_CALLBACK)(BYTE *pBuffer, long iBufferLen, long stride, void *pParam)
Callback function of video capture.
Definition: MWCaptureExtension.h:1610
AUDIO_CAPTURE_CALLBACK
void(* AUDIO_CAPTURE_CALLBACK)(const BYTE *pbFrame, int cbFrame, uint64_t u64TimeStamp, void *pParam)
Callback function of audio capture.
Definition: MWCaptureExtension.h:1618
MWGetHDMIInfoFramePacket
MW_RESULT LIBMWCAPTURE_API MWGetHDMIInfoFramePacket(HCHANNEL hChannel, MWCAP_HDMI_INFOFRAME_ID id, HDMI_INFOFRAME_PACKET *pPacket)
Gets HDMI InfoFrame data.
MWGetAudioInputSourceArray
MW_RESULT LIBMWCAPTURE_API MWGetAudioInputSourceArray(HCHANNEL hChannel, DWORD *pdwInputSource, DWORD *pdwInputCount)
Gets the input audio signal types supported by the channel.
MWGetVideoInputQuantizationRange
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputQuantizationRange(HCHANNEL hChannel, MWCAP_VIDEO_QUANTIZATION_RANGE *pQuantRange)
Gets quantization range of input video.
MWGetVideoInputColorFormat
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputColorFormat(HCHANNEL hChannel, MWCAP_VIDEO_COLOR_FORMAT *pColorFormat)
Gets color format of input video.
MWSetVideoInputSource
MW_RESULT LIBMWCAPTURE_API MWSetVideoInputSource(HCHANNEL hChannel, DWORD dwSource)
Sets the video input source of the specified channel.
MWGetAVInputSourceLink
MW_RESULT LIBMWCAPTURE_API MWGetAVInputSourceLink(HCHANNEL hChannel, BOOLEAN *pbLink)
Gets the states of input audio/video sources.
MWGetChannelInfoByIndex
MW_RESULT LIBMWCAPTURE_API MWGetChannelInfoByIndex(int nIndex, MWCAP_CHANNEL_INFO *pChannelInfo)
Gets the channel info by its index.
MWDestoryAudioCapture
MW_RESULT LIBMWCAPTURE_API MWDestoryAudioCapture(HANDLE hAudio)
Stops to capture audio.
MWOpenChannelByPath
HCHANNEL LIBMWCAPTURE_API MWOpenChannelByPath(const char *pszDevicePath)
Opens capture channel by device instance path.
MWGetVideoInputAspectRatio
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputAspectRatio(HCHANNEL hChannel, int *pnAspectX, int *pnAspectY)
Gets aspect ratio of input video.
MWCreateVideoCapture
HANDLE LIBMWCAPTURE_API MWCreateVideoCapture(char *pszVideoDevicePath, int nWidth, int nHeight, int nFourcc, int nFrameDuration, VIDEO_CAPTURE_CALLBACK callback, void *pParam)
Captures videos using dshow. Supports all capture devices.
MWSetAudioVolume
MW_RESULT LIBMWCAPTURE_API MWSetAudioVolume(HCHANNEL hChannel, MWCAP_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume)
Sets the volume of audio capture device.
MWCreateAudioCapture
HANDLE LIBMWCAPTURE_API MWCreateAudioCapture(HCHANNEL hChannel, MWCAP_AUDIO_CAPTURE_NODE captureNode, DWORD dwSamplesPerSec, WORD wBitsPerSample, WORD wChannels, AUDIO_CAPTURE_CALLBACK callback, void *pParam)
Captures audio data for all capture devices.
MWGetVideoInputSource
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputSource(HCHANNEL hChannel, DWORD *pdwSource)
Gets current video input source of the channel.
MWCaptureExitInstance
void LIBMWCAPTURE_API MWCaptureExitInstance()
Quits instance.
MWGetInputSourceScan
MW_RESULT LIBMWCAPTURE_API MWGetInputSourceScan(HCHANNEL hChannel, BOOLEAN *pbScan)
Gets the scan state of input source.
MWGetVideoCaptureSupportColorFormat
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureSupportColorFormat(HCHANNEL hChannel, DWORD *pColorFourcc, int *nCount)
Uses DShow to get the device supported color spaces.
MWGetInputSpecificStatus
MW_RESULT LIBMWCAPTURE_API MWGetInputSpecificStatus(HCHANNEL hChannel, MWCAP_INPUT_SPECIFIC_STATUS *pInputStatus)
Gets the specific status of input signal.
MWGetVideoDevicePathByChannel
MW_RESULT MWGetVideoDevicePathByChannel(HCHANNEL hChannel, char *pszVideoDevicePath)
‍**
MWSetVideoInputColorFormat
MW_RESULT LIBMWCAPTURE_API MWSetVideoInputColorFormat(HCHANNEL hChannel, MWCAP_VIDEO_COLOR_FORMAT colorFormat)
Sets color format of input video.
MWCaptureSetSDIANCType
MW_RESULT LIBMWCAPTURE_API MWCaptureSetSDIANCType(HCHANNEL hChannel, BYTE byIndex, BOOLEAN bHANC, BOOLEAN bVANC, BYTE byDID, BYTE bySDID)
Sets the ANC data types to be captured for SDI signal.
MWGetAudioVolume
MW_RESULT LIBMWCAPTURE_API MWGetAudioVolume(HCHANNEL hChannel, MWCAP_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume)
Gets the volume value of audio capture device.
MWSetVideoInputAspectRatio
MW_RESULT LIBMWCAPTURE_API MWSetVideoInputAspectRatio(HCHANNEL hChannel, int nAspectX, int nAspectY)
Sets aspect ratio of input video.
MWSetAVInputSourceLink
MW_RESULT LIBMWCAPTURE_API MWSetAVInputSourceLink(HCHANNEL hChannel, BOOLEAN bLink)
Sets whether the input video source is linked to its audio automatically.
MWGetAudioSignalStatus
MW_RESULT LIBMWCAPTURE_API MWGetAudioSignalStatus(HCHANNEL hChannel, MWCAP_AUDIO_SIGNAL_STATUS *pSignalStatus)
Gets the audio signal status of specified channel.
MWGetChannelCount
int LIBMWCAPTURE_API MWGetChannelCount()
Gets the total number of channels.
MWDestoryVideoCapture
MW_RESULT LIBMWCAPTURE_API MWDestoryVideoCapture(HANDLE hVideo)
Stops to capture video.
MWSetEDID
MW_RESULT LIBMWCAPTURE_API MWSetEDID(HCHANNEL hChannel, BYTE *pbyData, ULONG ulSize)
Sets EDID of specified channel.
MWGetVideoSignalStatus
MW_RESULT LIBMWCAPTURE_API MWGetVideoSignalStatus(HCHANNEL hChannel, MWCAP_VIDEO_SIGNAL_STATUS *pSignalStatus)
Gets video signal status of specified channel.
MWSetAudioInputSource
MW_RESULT LIBMWCAPTURE_API MWSetAudioInputSource(HCHANNEL hChannel, DWORD dwSource)
Sets current audio input source of specified channel.
MWGetAudioInputSource
MW_RESULT LIBMWCAPTURE_API MWGetAudioInputSource(HCHANNEL hChannel, DWORD *pdwSource)
Gets current input audio of the specified channel.
MWGetEDID
MW_RESULT LIBMWCAPTURE_API MWGetEDID(HCHANNEL hChannel, BYTE *pbyData, ULONG *pulSize)
Gets the EDID of specified channel.
MWGetVersion
MW_RESULT LIBMWCAPTURE_API MWGetVersion(BYTE *pbyMaj, BYTE *pbyMin, WORD *pwBuild)
Gets the version number of SDK.
MWSetInputSourceScan
MW_RESULT LIBMWCAPTURE_API MWSetInputSourceScan(HCHANNEL hChannel, BOOLEAN bScan)
Sets the states of scanned input video source.
MWGetFamilyInfoByIndex
MW_RESULT LIBMWCAPTURE_API MWGetFamilyInfoByIndex(int nIndex, LPVOID pFamilyInfo, DWORD dwSize)
Gets the product family based on the index.
MWGetVideoCaps
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaps(HCHANNEL hChannel, MWCAP_VIDEO_CAPS *pVideoCaps)
Gets video capture capability of the specified channel.
MWRefreshDevice
MW_RESULT LIBMWCAPTURE_API MWRefreshDevice()
Refreshes device list.
MWGetChannelInfo
MW_RESULT LIBMWCAPTURE_API MWGetChannelInfo(HCHANNEL hChannel, MWCAP_CHANNEL_INFO *pChannelInfo)
Gets channel information.
MWGetVideoCaptureSupportResolutionMode
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureSupportResolutionMode(HCHANNEL hChannel, MWCAP_VIDEO_RESOLUTION_MODE *pMode, int *pCount)
Gets resolution modes supported by devices, including MWCAP_VIDEO_RESOLUTION_MODE_LIST when the resol...
MWGetVideoCaptureSupportListResolution
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureSupportListResolution(HCHANNEL hChannel, MWCAP_VIDEO_RESOLUTION_LIST *pList)
Gets resolutions supported by devices when the return mode of MWGetVideoCaptureSupportResolutionMode ...
MWCloseChannel
void LIBMWCAPTURE_API MWCloseChannel(HCHANNEL hChannel)
Closes capture channel.
MWGetDevicePath
MW_RESULT LIBMWCAPTURE_API MWGetDevicePath(int nIndex, char *pDevicePath)
Gets the instance path of capture device based on the index.
MWCaptureGetSDIANCPacket
MW_RESULT LIBMWCAPTURE_API MWCaptureGetSDIANCPacket(HCHANNEL hChannel, MWCAP_SDI_ANC_PACKET *pPacket)
Captures specified SDI ANC types.
MWCaptureInitInstance
BOOL LIBMWCAPTURE_API MWCaptureInitInstance()
Initializes the MWCapture interfaces.
MWGetHDMIInfoFrameValidFlag
MW_RESULT LIBMWCAPTURE_API MWGetHDMIInfoFrameValidFlag(HCHANNEL hChannel, DWORD *pdwValidFlag)
Gets valid flag of HDMI InfoFrame.
MWGetVideoInputSourceArray
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputSourceArray(HCHANNEL hChannel, DWORD *pdwInputSource, DWORD *pdwInputCount)
Gets the input video signal types supported by the channel.
MWGetAudioCaps
MW_RESULT LIBMWCAPTURE_API MWGetAudioCaps(HCHANNEL hChannel, MWCAP_AUDIO_CAPS *pAudioCaps)
Gets audio capture capability of the channel.
MWGetFamilyInfo
MW_RESULT LIBMWCAPTURE_API MWGetFamilyInfo(HCHANNEL hChannel, LPVOID pFamilyInfo, DWORD dwSize)
Gets attributions of product family which the capture device belongs to.
MWSetLEDMode
MW_RESULT LIBMWCAPTURE_API MWSetLEDMode(HCHANNEL hChannel, DWORD dwMode)
Sets LED mode.
MWGetVideoCaptureSupportRangeResolution
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureSupportRangeResolution(HCHANNEL hChannel, MWCAP_VIDEO_RESOLUTION_RANGE *pRange)
Gets resolution range supported by the device, when the return mode of MWGetVideoCaptureSupportResolu...
MWSetVideoInputQuantizationRange
MW_RESULT LIBMWCAPTURE_API MWSetVideoInputQuantizationRange(HCHANNEL hChannel, MWCAP_VIDEO_QUANTIZATION_RANGE quantRange)
Sets quantization range of input video.
MWCAP_HDMI_INFOFRAME_ID
enum _MWCAP_HDMI_INFOFRAME_ID MWCAP_HDMI_INFOFRAME_ID
MWCAP_HDMI_INFOFRAME_ID.
MWCAP_AUDIO_NODE
enum _MWCAP_AUDIO_NODE MWCAP_AUDIO_NODE
MWCAP_AUDIO_NODE.
MWCAP_AUDIO_CAPTURE_NODE
enum _MWCAP_AUDIO_CAPTURE_NODE MWCAP_AUDIO_CAPTURE_NODE
MWCAP_AUDIO_CAPTURE_NODE.
MWCAP_VIDEO_QUANTIZATION_RANGE
enum _MWCAP_VIDEO_QUANTIZATION_RANGE MWCAP_VIDEO_QUANTIZATION_RANGE
MWCAP_VIDEO_QUANTIZATION_RANGE.
MWCAP_VIDEO_COLOR_FORMAT
enum _MWCAP_VIDEO_COLOR_FORMAT MWCAP_VIDEO_COLOR_FORMAT
MWCAP_VIDEO_COLOR_FORMAT.
_HDMI_INFOFRAME_PACKET
HDMI_INFOFRAME_PACKET.
Definition: MWHDMIPackets.h:361
_MWCAP_AUDIO_CAPS
MWCAP_AUDIO_CAPS.
Definition: MWCaptureExtension.h:515
_MWCAP_AUDIO_SIGNAL_STATUS
MWCAP_AUDIO_SIGNAL_STATUS.
Definition: MWCaptureExtension.h:744
_MWCAP_AUDIO_VOLUME
Definition: MWUSBCaptureExtension.h:173
_MWCAP_CHANNEL_INFO
MWCAP_CHANNEL_INFO.
Definition: MWCaptureExtension.h:410
_MWCAP_INPUT_SPECIFIC_STATUS
MWCAP_INPUT_SPECIFIC_STATUS.
Definition: MWCaptureExtension.h:687
_MWCAP_SDI_ANC_PACKET
MWCAP_SDI_ANC_PACKET.
Definition: MWCaptureExtension.h:1642
_MWCAP_VIDEO_CAPS
MWCAP_VIDEO_CAPS.
Definition: MWCaptureExtension.h:470
_MWCAP_VIDEO_RESOLUTION_LIST
Definition: MWCaptureExtension.h:1476
_MWCAP_VIDEO_RESOLUTION_RANGE
Definition: MWCaptureExtension.h:1469
_MWCAP_VIDEO_SIGNAL_STATUS
MWCAP_VIDEO_SIGNAL_STATUS.
Definition: MWCaptureExtension.h:717