LibMWCapture
3.3.1
LibMWCapture Documentation
|
#include <stdint.h>
#include "MWLinux.h"
#include "MWProCapture.h"
#include "MWCaptureExtension.h"
#include "MWUSBCapture.h"
#include "MWUSBCaptureExtension.h"
Go to the source code of this file.
Macros | |
#define | LIBMWCAPTURE_API |
Functions | |
MW_RESULT LIBMWCAPTURE_API | MWGetVersion (BYTE *pbyMaj, BYTE *pbyMin, WORD *pwBuild) |
get the version of SDK More... | |
BOOL LIBMWCAPTURE_API | MWCaptureInitInstance () |
Initializes MWCapture. More... | |
void LIBMWCAPTURE_API | MWCaptureExitInstance () |
Quits MWCapture. More... | |
MW_RESULT LIBMWCAPTURE_API | MWRefreshDevice () |
Refreshes device list. More... | |
int LIBMWCAPTURE_API | MWGetChannelCount () |
Gets the number of devices. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetChannelInfoByIndex (int nIndex, MWCAP_CHANNEL_INFO *pChannelInfo) |
Gets the channel information based on the enum. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetFamilyInfoByIndex (int nIndex, LPVOID pFamilyInfo, DWORD dwSize) |
Gets the family information of the channel based on the enumeration value. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetDevicePath (int nIndex, char *pDevicePath) |
Gets the path of the device. More... | |
HCHANNEL LIBMWCAPTURE_API | MWOpenChannelByPath (const char *pszDevicePath) |
Opens the device channel according to the path. More... | |
void LIBMWCAPTURE_API | MWCloseChannel (HCHANNEL hChannel) |
Closes the device channel. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetChannelInfo (HCHANNEL hChannel, MWCAP_CHANNEL_INFO *pChannelInfo) |
Gets the channel information based on the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetFamilyInfo (HCHANNEL hChannel, LPVOID pFamilyInfo, DWORD dwSize) |
Gets the channel family information based on the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaps (HCHANNEL hChannel, MWCAP_VIDEO_CAPS *pVideoCaps) |
Obtains channel video capability information based on the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetAudioCaps (HCHANNEL hChannel, MWCAP_AUDIO_CAPS *pAudioCaps) |
Obtains channel audio capability information based on the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputSourceArray (HCHANNEL hChannel, DWORD *pdwInputSource, DWORD *pdwInputCount) |
Obtains channel video capability information based on channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetAudioInputSourceArray (HCHANNEL hChannel, DWORD *pdwInputSource, DWORD *pdwInputCount) |
Obtains an audio input array based on the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetInputSourceScan (HCHANNEL hChannel, BOOLEAN *pbScan) |
Gets whether the input source is automatically scanned according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetInputSourceScan (HCHANNEL hChannel, BOOLEAN bScan) |
Gets whether automatically scans the input signals according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetAVInputSourceLink (HCHANNEL hChannel, BOOLEAN *pbLink) |
Sets whether the audio input source Linked with video according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetAVInputSourceLink (HCHANNEL hChannel, BOOLEAN bLink) |
Sets whether the audio input source follows the video input source according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputSource (HCHANNEL hChannel, DWORD *pdwSource) |
Gets the video input source according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoInputSource (HCHANNEL hChannel, DWORD dwSource) |
Sets the video input source according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetAudioInputSource (HCHANNEL hChannel, DWORD *pdwSource) |
Gets the audio input source from the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetAudioInputSource (HCHANNEL hChannel, DWORD dwSource) |
Sets the audio input source according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetEDID (HCHANNEL hChannel, BYTE *pbyData, ULONG *pulSize) |
Gets EDID according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetEDID (HCHANNEL hChannel, BYTE *pbyData, ULONG ulSize) |
Sets edid according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetInputSpecificStatus (HCHANNEL hChannel, MWCAP_INPUT_SPECIFIC_STATUS *pInputStatus) |
Gets the input specific status value based on the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoSignalStatus (HCHANNEL hChannel, MWCAP_VIDEO_SIGNAL_STATUS *pSignalStatus) |
Gets the video signal status according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetAudioSignalStatus (HCHANNEL hChannel, MWCAP_AUDIO_SIGNAL_STATUS *pSignalStatus) |
Gets the audio signal status according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetHDMIInfoFrameValidFlag (HCHANNEL hChannel, DWORD *pdwValidFlag) |
Gets the HDMI infoframe valid flag according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetHDMIInfoFramePacket (HCHANNEL hChannel, MWCAP_HDMI_INFOFRAME_ID id, HDMI_INFOFRAME_PACKET *pPacket) |
Gets the HDMI infoframe data according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoInputAspectRatio (HCHANNEL hChannel, int nAspectX, int nAspectY) |
Sets the video input aspect ratio according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputAspectRatio (HCHANNEL hChannel, int *pnAspectX, int *pnAspectY) |
Gets the video input aspect ratio according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoInputColorFormat (HCHANNEL hChannel, MWCAP_VIDEO_COLOR_FORMAT colorFormat) |
Sets the video input color format according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputColorFormat (HCHANNEL hChannel, MWCAP_VIDEO_COLOR_FORMAT *pColorFormat) |
Gets the video input color format according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetVideoInputQuantizationRange (HCHANNEL hChannel, MWCAP_VIDEO_QUANTIZATION_RANGE quantRange) |
Sets the video input quantization range according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputQuantizationRange (HCHANNEL hChannel, MWCAP_VIDEO_QUANTIZATION_RANGE *pQuantRange) |
Gets the video input quantization range according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetLEDMode (HCHANNEL hChannel, DWORD dwMode) |
Sets the led mode according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetFirmwareStorageInfo (HCHANNEL hChannel, MWCAP_FIRMWARE_STORAGE *pFirmwareStorageInfo) |
Gets firmware storage information according to channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWEraseFirmwareData (HCHANNEL hChannel, DWORD cbOffset, DWORD cbErase) |
Erases the firmware data according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWReadFirmwareData (HCHANNEL hChannel, DWORD cbOffset, BYTE *pbyData, DWORD cbToRead, DWORD *pcbRead) |
Obtains the firmware data according to the channel handle. More... | |
MW_RESULT LIBMWCAPTURE_API | MWWriteFirmwareData (HCHANNEL hChannel, DWORD cbOffset, BYTE *pbyData, DWORD cbData) |
Writes the firmware data according to the channel handle. More... | |
HANDLE LIBMWCAPTURE_API | MWCreateVideoCapture (HCHANNEL hChannel, int nWidth, int nHeight, int nFourcc, int nFrameDuration, VIDEO_CAPTURE_CALLBACK callback, void *pParam) |
Uses the DShow function to create video capture. More... | |
MW_RESULT LIBMWCAPTURE_API | MWDestoryVideoCapture (HANDLE hVideo) |
End of video capture. More... | |
HANDLE LIBMWCAPTURE_API | MWCreateAudioCapture (HCHANNEL hChannel, MWCAP_AUDIO_CAPTURE_NODE captureNode, DWORD dwSamplesPerSec, WORD wBitsPerSample, WORD wChannels, AUDIO_CAPTURE_CALLBACK callback, void *pParam) |
create audio capture using the DShow function More... | |
MW_RESULT LIBMWCAPTURE_API | MWDestoryAudioCapture (HANDLE hAudio) |
End of audio capture. More... | |
MW_RESULT LIBMWCAPTURE_API | MWGetAudioVolume (HCHANNEL hChannel, MWCAP_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume) |
Obtains audio attribute value of the audio device. More... | |
MW_RESULT LIBMWCAPTURE_API | MWSetAudioVolume (HCHANNEL hChannel, MWCAP_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume) |
Sets the audio attribute value of audio device. More... | |
MW_RESULT LIBMWCAPTURE_API | MWCaptureSetSDIANCType (HCHANNEL hChannel, BYTE byIndex, BOOLEAN bHANC, BOOLEAN bVANC, BYTE byDID, BYTE bySDID) |
Set the type of ANC packet to capture. More... | |
MW_RESULT LIBMWCAPTURE_API | MWCaptureGetSDIANCPacket (HCHANNEL hChannel, MWCAP_SDI_ANC_PACKET *pPacket) |
Get ANC Packet. More... | |
#define LIBMWCAPTURE_API |
Definition at line 36 of file MWCapture.h.
void LIBMWCAPTURE_API MWCaptureExitInstance | ( | ) |
Quits MWCapture.
MW_RESULT LIBMWCAPTURE_API MWCaptureGetSDIANCPacket | ( | HCHANNEL | hChannel, |
MWCAP_SDI_ANC_PACKET * | pPacket | ||
) |
Get ANC Packet.
[in] | hChannel | Channel handle opened |
[in] | pPacket | ANC packet MWCAP_SDI_ANC_PACKET.byDID: ANC DID, byDID == 0 indicates that no valid ANC packet has been read MWCAP_SDI_ANC_PACKET.bySDID: ANC SDID MWCAP_SDI_ANC_PACKET.byDC: ANC data length MWCAP_SDI_ANC_PACKET.abyUDW[255]: ANC data, refer to SMPTE standard for specific content |
BOOL LIBMWCAPTURE_API MWCaptureInitInstance | ( | ) |
Initializes MWCapture.
MW_RESULT LIBMWCAPTURE_API MWCaptureSetSDIANCType | ( | HCHANNEL | hChannel, |
BYTE | byIndex, | ||
BOOLEAN | bHANC, | ||
BOOLEAN | bVANC, | ||
BYTE | byDID, | ||
BYTE | bySDID | ||
) |
Set the type of ANC packet to capture.
[in] | hChannel | Channel handle opened |
[in] | byIndex | ANC index, the range is 0-3, The capture card can capture up to 4 different types of ANC packages |
[in] | bHANC | Capture in HANC space or not |
[in] | bVANC | Capture in VANC space or not |
[in] | byDID/bySDID | ANC ID, refer to SMPTE standard for specific content |
void LIBMWCAPTURE_API MWCloseChannel | ( | HCHANNEL | hChannel | ) |
Closes the device channel.
[in] | hChannel | Channel handles |
HANDLE LIBMWCAPTURE_API MWCreateAudioCapture | ( | HCHANNEL | hChannel, |
MWCAP_AUDIO_CAPTURE_NODE | captureNode, | ||
DWORD | dwSamplesPerSec, | ||
WORD | wBitsPerSample, | ||
WORD | wChannels, | ||
AUDIO_CAPTURE_CALLBACK | callback, | ||
void * | pParam | ||
) |
create audio capture using the DShow function
[in] | hChannel | Channel handle opened |
[in] | callback | Callback function of audio capture |
[in] | pParam | The parameters passed to the callback function |
HANDLE LIBMWCAPTURE_API MWCreateVideoCapture | ( | HCHANNEL | hChannel, |
int | nWidth, | ||
int | nHeight, | ||
int | nFourcc, | ||
int | nFrameDuration, | ||
VIDEO_CAPTURE_CALLBACK | callback, | ||
void * | pParam | ||
) |
Uses the DShow function to create video capture.
[in] | hChannel | Channel handle opened |
[in] | nWidth | Width of video capture |
[in] | nHeight | Height of video capture |
[in] | nFourcc | Color format |
[in] | nFrameDuration | Frame rate of video capture |
[in] | callback | Callback video capture |
[in] | pParam | The parameters passed to the callback function |
MW_RESULT LIBMWCAPTURE_API MWDestoryAudioCapture | ( | HANDLE | hAudio | ) |
End of audio capture.
[in] | hAudio | an audio capture handle created |
MW_RESULT LIBMWCAPTURE_API MWDestoryVideoCapture | ( | HANDLE | hVideo | ) |
End of video capture.
[in] | hVideo | Video capture handle created |
MW_RESULT LIBMWCAPTURE_API MWEraseFirmwareData | ( | HCHANNEL | hChannel, |
DWORD | cbOffset, | ||
DWORD | cbErase | ||
) |
Erases the firmware data according to the channel handle.
[in] | hChannel | Channel handle |
[in] | cbOffset | Offset |
[in] | cbErase | the data size needed to erase |
MW_RESULT LIBMWCAPTURE_API MWGetAudioCaps | ( | HCHANNEL | hChannel, |
MWCAP_AUDIO_CAPS * | pAudioCaps | ||
) |
Obtains channel audio capability information based on the channel handle.
[in] | hChannel | Channel handle |
[out] | pAudioCaps | audio caps structure |
MW_RESULT LIBMWCAPTURE_API MWGetAudioInputSource | ( | HCHANNEL | hChannel, |
DWORD * | pdwSource | ||
) |
Gets the audio input source from the channel handle.
[in] | hChannel | Channel handle |
[out] | pdwSource | Stores the obtained audio input source |
MW_RESULT LIBMWCAPTURE_API MWGetAudioInputSourceArray | ( | HCHANNEL | hChannel, |
DWORD * | pdwInputSource, | ||
DWORD * | pdwInputCount | ||
) |
Obtains an audio input array based on the channel handle.
[in] | hChannel | Channel handle |
[out] | pdwInputSource | Stores an array of audio input source interfaces |
[out] | pdwInputCount | The number of audio input source interfaces |
MW_RESULT LIBMWCAPTURE_API MWGetAudioSignalStatus | ( | HCHANNEL | hChannel, |
MWCAP_AUDIO_SIGNAL_STATUS * | pSignalStatus | ||
) |
Gets the audio signal status according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pSignalStatus | Audio signal state structure |
MW_RESULT LIBMWCAPTURE_API MWGetAudioVolume | ( | HCHANNEL | hChannel, |
MWCAP_AUDIO_NODE | audioNode, | ||
MWCAP_AUDIO_VOLUME * | pVolume | ||
) |
Obtains audio attribute value of the audio device.
[in] | hChannel | Channel handle opened |
[in] | audioNode | Audio device type |
[out] | pVolume | Audio attribute value |
MW_RESULT LIBMWCAPTURE_API MWGetAVInputSourceLink | ( | HCHANNEL | hChannel, |
BOOLEAN * | pbLink | ||
) |
Sets whether the audio input source Linked with video according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pbLink | Gets whether the audio input source follows the video input source |
int LIBMWCAPTURE_API MWGetChannelCount | ( | ) |
Gets the number of devices.
MW_RESULT LIBMWCAPTURE_API MWGetChannelInfo | ( | HCHANNEL | hChannel, |
MWCAP_CHANNEL_INFO * | pChannelInfo | ||
) |
Gets the channel information based on the channel handle.
[out] | hChannel | Channel handle |
[out] | pChannelInfo | Channel information structure |
MW_RESULT LIBMWCAPTURE_API MWGetChannelInfoByIndex | ( | int | nIndex, |
MWCAP_CHANNEL_INFO * | pChannelInfo | ||
) |
Gets the channel information based on the enum.
[in] | nIndex | Channel index |
[out] | pChannelInfo | Channel information structure |
MW_RESULT LIBMWCAPTURE_API MWGetDevicePath | ( | int | nIndex, |
char * | pDevicePath | ||
) |
Gets the path of the device.
[in] | nIndex | Channel index |
[out] | pDevicePath | path of the device |
MW_RESULT LIBMWCAPTURE_API MWGetEDID | ( | HCHANNEL | hChannel, |
BYTE * | pbyData, | ||
ULONG * | pulSize | ||
) |
Gets EDID according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pbyData | Stores the obtained EDID value |
[out] | pulSize | The length of EDID |
MW_RESULT LIBMWCAPTURE_API MWGetFamilyInfo | ( | HCHANNEL | hChannel, |
LPVOID | pFamilyInfo, | ||
DWORD | dwSize | ||
) |
Gets the channel family information based on the channel handle.
[in] | hChannel | Channel handle |
[out] | pFamilyInfo | Familyinfo structure |
[in] | dwSize | Familyinfo structure size |
MW_RESULT LIBMWCAPTURE_API MWGetFamilyInfoByIndex | ( | int | nIndex, |
LPVOID | pFamilyInfo, | ||
DWORD | dwSize | ||
) |
Gets the family information of the channel based on the enumeration value.
[in] | nIndex | Channel index |
[out] | pFamilyInfo | familyinfo structure |
[in] | dwSize | size of familyinfo structure |
MW_RESULT LIBMWCAPTURE_API MWGetFirmwareStorageInfo | ( | HCHANNEL | hChannel, |
MWCAP_FIRMWARE_STORAGE * | pFirmwareStorageInfo | ||
) |
Gets firmware storage information according to channel handle.
[in] | hChannel | Channel handle |
[out] | pFirmwareStorageInfo | the structure contains information about the device firmware |
MW_RESULT LIBMWCAPTURE_API MWGetHDMIInfoFramePacket | ( | HCHANNEL | hChannel, |
MWCAP_HDMI_INFOFRAME_ID | id, | ||
HDMI_INFOFRAME_PACKET * | pPacket | ||
) |
Gets the HDMI infoframe data according to the channel handle.
[in] | hChannel | Channel handle |
[in] | id | Frame id |
[out] | pPacket | Frame data |
MW_RESULT LIBMWCAPTURE_API MWGetHDMIInfoFrameValidFlag | ( | HCHANNEL | hChannel, |
DWORD * | pdwValidFlag | ||
) |
Gets the HDMI infoframe valid flag according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pdwValidFlag | Valid flag |
MW_RESULT LIBMWCAPTURE_API MWGetInputSourceScan | ( | HCHANNEL | hChannel, |
BOOLEAN * | pbScan | ||
) |
Gets whether the input source is automatically scanned according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pbScan | The query value Whether to automatically scan |
MW_RESULT LIBMWCAPTURE_API MWGetInputSpecificStatus | ( | HCHANNEL | hChannel, |
MWCAP_INPUT_SPECIFIC_STATUS * | pInputStatus | ||
) |
Gets the input specific status value based on the channel handle.
[in] | hChannel | Channel handle |
[out] | pInputStatus | MWCAP_INPUT_SPECIFIC_STATUS structure |
MW_RESULT LIBMWCAPTURE_API MWGetVersion | ( | BYTE * | pbyMaj, |
BYTE * | pbyMin, | ||
WORD * | pwBuild | ||
) |
get the version of SDK
[out] | pbyMaj | Major version |
[out] | pbyMin | Minor version |
[out] | pwBuild | Build version |
MW_RESULT LIBMWCAPTURE_API MWGetVideoCaps | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_CAPS * | pVideoCaps | ||
) |
Obtains channel video capability information based on the channel handle.
[in] | hChannel | Channel handle |
[out] | pVideoCaps | The size of video caps |
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputAspectRatio | ( | HCHANNEL | hChannel, |
int * | pnAspectX, | ||
int * | pnAspectY | ||
) |
Gets the video input aspect ratio according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pnAspectX | Width of aspect ratio |
[out] | pnAspectY | height of aspect ratio |
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputColorFormat | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_COLOR_FORMAT * | pColorFormat | ||
) |
Gets the video input color format according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pColorFormat | Color format |
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputQuantizationRange | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_QUANTIZATION_RANGE * | pQuantRange | ||
) |
Gets the video input quantization range according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pQuantRange | the address quantization range stored |
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputSource | ( | HCHANNEL | hChannel, |
DWORD * | pdwSource | ||
) |
Gets the video input source according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pdwSource | Gets the array of video input sources |
MW_RESULT LIBMWCAPTURE_API MWGetVideoInputSourceArray | ( | HCHANNEL | hChannel, |
DWORD * | pdwInputSource, | ||
DWORD * | pdwInputCount | ||
) |
Obtains channel video capability information based on channel handle.
[in] | hChannel | Channel handle |
[out] | pdwInputSource | Stores an array of video input source interface values |
[out] | pdwInputCount | The number of video input source interfaces |
MW_RESULT LIBMWCAPTURE_API MWGetVideoSignalStatus | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_SIGNAL_STATUS * | pSignalStatus | ||
) |
Gets the video signal status according to the channel handle.
[in] | hChannel | Channel handle |
[out] | pSignalStatus | Video signal state structure |
HCHANNEL LIBMWCAPTURE_API MWOpenChannelByPath | ( | const char * | pszDevicePath | ) |
Opens the device channel according to the path.
[in] | pszDevicePath | Opened path of the channel |
MW_RESULT LIBMWCAPTURE_API MWReadFirmwareData | ( | HCHANNEL | hChannel, |
DWORD | cbOffset, | ||
BYTE * | pbyData, | ||
DWORD | cbToRead, | ||
DWORD * | pcbRead | ||
) |
Obtains the firmware data according to the channel handle.
[in] | hChannel | Channel handle |
[in] | cbOffset | Offset |
[out] | pbyData | the firmware data being read |
[in] | cbToRead | The length of the data to read |
[out] | pcbRead | The length of the data being read |
MW_RESULT LIBMWCAPTURE_API MWRefreshDevice | ( | ) |
Refreshes device list.
MW_RESULT LIBMWCAPTURE_API MWSetAudioInputSource | ( | HCHANNEL | hChannel, |
DWORD | dwSource | ||
) |
Sets the audio input source according to the channel handle.
[in] | hChannel | Channel handle |
[in] | dwSource | Sets the audio input source |
MW_RESULT LIBMWCAPTURE_API MWSetAudioVolume | ( | HCHANNEL | hChannel, |
MWCAP_AUDIO_NODE | audioNode, | ||
MWCAP_AUDIO_VOLUME * | pVolume | ||
) |
Sets the audio attribute value of audio device.
[in] | hChannel | Channel handle opened |
[in] | audioNode | type of audio device |
[in] | pVolume | Audio attribute value |
MW_RESULT LIBMWCAPTURE_API MWSetAVInputSourceLink | ( | HCHANNEL | hChannel, |
BOOLEAN | bLink | ||
) |
Sets whether the audio input source follows the video input source according to the channel handle.
[in] | hChannel | Channel handle |
[in] | bLink | Sets whether the audio input source follows the video input source |
MW_RESULT LIBMWCAPTURE_API MWSetEDID | ( | HCHANNEL | hChannel, |
BYTE * | pbyData, | ||
ULONG | ulSize | ||
) |
Sets edid according to the channel handle.
[in] | hChannel | Channel handle |
[in] | pbyData | Sets EDID |
[in] | ulSize | The length of pbyData |
MW_RESULT LIBMWCAPTURE_API MWSetInputSourceScan | ( | HCHANNEL | hChannel, |
BOOLEAN | bScan | ||
) |
Gets whether automatically scans the input signals according to the channel handle.
[in] | hChannel | Channel handle |
[in] | bScan | Gets whether the audio input source follows the video input source |
MW_RESULT LIBMWCAPTURE_API MWSetLEDMode | ( | HCHANNEL | hChannel, |
DWORD | dwMode | ||
) |
Sets the led mode according to the channel handle.
[in] | hChannel | Channel handle |
[in] | dwMode | mode value set |
MW_RESULT LIBMWCAPTURE_API MWSetVideoInputAspectRatio | ( | HCHANNEL | hChannel, |
int | nAspectX, | ||
int | nAspectY | ||
) |
Sets the video input aspect ratio according to the channel handle.
[in] | hChannel | Channel handle |
[in] | nAspectX | Width of aspect ratio |
[in] | nAspectY | height of aspect ratio |
MW_RESULT LIBMWCAPTURE_API MWSetVideoInputColorFormat | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_COLOR_FORMAT | colorFormat | ||
) |
Sets the video input color format according to the channel handle.
[in] | hChannel | Channel handle |
[in] | colorFormat | Color format |
MW_RESULT LIBMWCAPTURE_API MWSetVideoInputQuantizationRange | ( | HCHANNEL | hChannel, |
MWCAP_VIDEO_QUANTIZATION_RANGE | quantRange | ||
) |
Sets the video input quantization range according to the channel handle.
[in] | hChannel | Channel handle |
[in] | quantRange | quantization range |
MW_RESULT LIBMWCAPTURE_API MWSetVideoInputSource | ( | HCHANNEL | hChannel, |
DWORD | dwSource | ||
) |
Sets the video input source according to the channel handle.
[in] | hChannel | Channel handle |
[in] | dwSource | Sets the video input source |
MW_RESULT LIBMWCAPTURE_API MWWriteFirmwareData | ( | HCHANNEL | hChannel, |
DWORD | cbOffset, | ||
BYTE * | pbyData, | ||
DWORD | cbData | ||
) |
Writes the firmware data according to the channel handle.
[in] | hChannel | Channel handle |
[in] | cbOffset | Offset |
[in] | pbyData | The firmware data to write |
[in] | cbData | The firmware data being written |