|
MWCapture SDK Mac
3.4.62314
|
Functions | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBRegisterHotPlug (LPFN_HOT_PLUG_CALLBACK lpfnCallback, void *pParam) |
| Registers hotplug callback function of USB capture device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBUnRegisterHotPlug () |
| Unregisters hotplug callback function. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetNotifyEnable (HUSBCHANNEL hChannel, MWCAP_NOTIFY_ENABLE *pNotify) |
| Sets notification types for specified channel. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetNotifyStatus (HUSBCHANNEL hChannel, uint64_t *pullStatusBit) |
| Gets notification status of USB specified channel. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetEDIDLoopThrough (HUSBCHANNEL hChannel, char *pbyEDID, uint32_t *pcbEDID) |
| ** | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetLoopThroughValid (HUSBCHANNEL hChannel, bool_t *pbValid) |
| Gets whether the loopthrough interface in the USB device is valid. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetAudioVolume (HUSBCHANNEL hChannel, MWCAP_USB_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume) |
| Gets the volume of USB audio device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetAudioVolume (HUSBCHANNEL hChannel, MWCAP_USB_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume) |
| Sets the volume of USB audio device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoCaptureConnectionFormat (HUSBCHANNEL hChannel, MWCAP_VIDEO_CONNECTION_FORMAT *pConnFormat) |
| Get the capture format related parameters of the video capture device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoCaptureProcessSettings (HUSBCHANNEL hChannel, MWCAP_VIDEO_PROCESS_SETTINGS *pProcSettings) |
| Get the video process settings of the video capture device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoCaptureProcessSettings (HUSBCHANNEL hChannel, MWCAP_VIDEO_PROCESS_SETTINGS *pProcSettings) |
| Sets the video process settings of the video capture device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoOutputFOURCC (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FOURCC *pOutputFourCC) |
| Gets capture formats supported by the USB device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoOutputFOURCC (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FOURCC *pOutputFourCC) |
| Sets capture formats supported by the USB device, 3 at most. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoOutputFrameSize (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_SIZE *pFrameSize) |
| Gets resolutions of captured images supported by the USB device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoOutputFrameSize (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_SIZE *pFrameSize) |
| Sets resolutions supported by the USB device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoOutputFrameInterval (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_INTERVAL *pFrameInterval) |
| Gets capture intervals supported by USB device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoOutputFrameInterval (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_INTERVAL *pFrameInterval) |
| Sets capture intervals supported by USB device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetStatusImageMode (HUSBCHANNEL hChannel, MWCAP_STATUS_IMAGE_MODE *pImageMode) |
| Gets the image pattern showed when there is not a valid input signal. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetStatusImageMode (HUSBCHANNEL hChannel, MWCAP_STATUS_IMAGE_MODE *pImageMode) |
| Sets the image pattern showed when there is not a valid input signal. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetDeviceNameMode (HUSBCHANNEL hChannel, MWCAP_DEVICE_NAME_MODE *pNameMode) |
| Gets device name pattern of USB device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetDeviceNameMode (HUSBCHANNEL hChannel, MWCAP_DEVICE_NAME_MODE *pNameMode) |
| Sets device name pattern of USB device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSaveOptions (HUSBCHANNEL hChannel) |
| Saves configurations. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBLoadOptions (HUSBCHANNEL hChannel) |
| Load the settings to the capture device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBResetOptions (HUSBCHANNEL hChannel) |
| Reset the settings to the capture device. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoAutoHAlign (HUSBCHANNEL hChannel, bool_t *pbAutoHAlign) |
| Gets whether video is horizontally aligned. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoAutoHAlign (HUSBCHANNEL hChannel, bool_t pbAutoHAlign) |
| Sets video horizontal alignment. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoSamplingPhase (HUSBCHANNEL hChannel, uint8_t *puSamplingPhase) |
| Gets video sampling phase. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoSamplingPhase (HUSBCHANNEL hChannel, uint8_t *puSamplingPhase) |
| Sets video sampling phase. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoSamplingPhaseAutoAdjust (HUSBCHANNEL hChannel, bool_t *pbAutoSamplingPhase) |
| Gets whether video sampling phase is auto adjusted. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoSamplingPhaseAutoAdjust (HUSBCHANNEL hChannel, bool_t *pbAutoSamplingPhase) |
| Sets video sampling phase auto adjust. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoTiming (HUSBCHANNEL hChannel, MWCAP_VIDEO_TIMING *pTiming) |
| Sets default video timing. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetPreferredVideoTimings (HUSBCHANNEL hChannel, MWCAP_VIDEO_TIMING_ARRAY *paTimings) |
| Gets video preferred timings. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetCustomVideoTimings (HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING_ARRAY *paCustomTimings) |
| Gets customize video timing array. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetCustomVideoTimings (HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING_ARRAY *paCustomTimings) |
| Sets customize video timing array. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetCustomVideoTiming (HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pCustomTiming) |
| Sets customize video timing. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetCustomVideoResolutions (HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY *paCustomResolutions) |
| Gets customize video resolutions. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetCustomVideoResolutions (HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY *paCustomResolutions) |
| Sets customize video resolutions. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetExtensionSupported (HUSBCHANNEL hChannel, uint32_t *pdwFlag) |
| Gets extended support. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetInputSourceScanState (HUSBCHANNEL hChannel, bool_t *pbScanning) |
| Obtains the scan state of input source. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetEDIDMode (HUSBCHANNEL hChannel, MWCAP_EDID_MODE *pMode) |
| Gets current edid mode. | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetEDIDMode (HUSBCHANNEL hChannel, MWCAP_EDID_MODE mode) |
| Sets the edid mode. | |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetAudioVolume | ( | HUSBCHANNEL | hChannel, |
| MWCAP_USB_AUDIO_NODE | audioNode, | ||
| MWCAP_AUDIO_VOLUME * | pVolume | ||
| ) |
Gets the volume of USB audio device.
| [in] | hChannel | Channel handle of USB device |
| [in] | audioNode | Audio device |
| [out] | pVolume | Volume of USB audio device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
Gets the volume of USB audio device.
| MW_RESULT LIBMWCAPTURE_API MWUSBGetCustomVideoResolutions | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY * | paCustomResolutions | ||
| ) |
Gets customize video resolutions.
| [in] | hChannel | Channel handle of USB device |
| [out] | paCustomResolutions | The customize resolutions of the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetCustomVideoTimings | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_CUSTOM_TIMING_ARRAY * | paCustomTimings | ||
| ) |
Gets customize video timing array.
| [in] | hChannel | Channel handle of USB device |
| [out] | paCustomTimings | The customize video timing of the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetDeviceNameMode | ( | HUSBCHANNEL | hChannel, |
| MWCAP_DEVICE_NAME_MODE * | pNameMode | ||
| ) |
Gets device name pattern of USB device.
| [in] | hChannel | Channel handle of USB device |
| [out] | pNameMode | Device name pattern |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBGetEDIDLoopThrough | ( | HUSBCHANNEL | hChannel, |
| char * | pbyEDID, | ||
| uint32_t * | pcbEDID | ||
| ) |
**
**
Gets EDID of the loopthrough interface in the USB device, only supported by devices with loopthrough interface
| [in] | hChannel | Channel handle of USB device |
| [out] | pbyEDID | EDID |
| [in,out] | pcbEDID | As an input parameter, it indicates the size of the area which is pointed by the pbyEDID. As an output parameter, it indicates the the size of the returned EDID. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
Gets EDID of the loopthrough interface in the USB device, which is only supported by devices with loopthrough interface.
| MW_RESULT LIBMWCAPTURE_API MWUSBGetEDIDMode | ( | HUSBCHANNEL | hChannel, |
| MWCAP_EDID_MODE * | pMode | ||
| ) |
Gets current edid mode.
| [in] | hChannel | Channel handle of USB device |
| [out] | pMode | The edid mode of device |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetExtensionSupported | ( | HUSBCHANNEL | hChannel, |
| uint32_t * | pdwFlag | ||
| ) |
Gets extended support.
| [in] | hChannel | Channel handle of USB device |
| [out] | pdwFlag | The extended supported flag of the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetInputSourceScanState | ( | HUSBCHANNEL | hChannel, |
| bool_t * | pbScanning | ||
| ) |
Obtains the scan state of input source.
| [in] | hChannel | Channel handle of USB device |
| [out] | pbScanning | Scan state of input source |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetLoopThroughValid | ( | HUSBCHANNEL | hChannel, |
| bool_t * | pbValid | ||
| ) |
Gets whether the loopthrough interface in the USB device is valid.
| [in] | hChannel | Channel handle of USB device |
| [out] | pbValid | Whether there is a loopthrough interface |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBGetNotifyStatus | ( | HUSBCHANNEL | hChannel, |
| uint64_t * | pullStatusBit | ||
| ) |
Gets notification status of USB specified channel.
| [in] | hChannel | Channel handle of USB device |
| [out] | pullStatusBit | Notification mask |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
Gets notification status of USB specified channel.
| MW_RESULT LIBMWCAPTURE_API MWUSBGetPreferredVideoTimings | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_TIMING_ARRAY * | paTimings | ||
| ) |
Gets video preferred timings.
| [in] | hChannel | Channel handle of USB device |
| [out] | paTimings | The preferred video timing of the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetStatusImageMode | ( | HUSBCHANNEL | hChannel, |
| MWCAP_STATUS_IMAGE_MODE * | pImageMode | ||
| ) |
Gets the image pattern showed when there is not a valid input signal.
| [in] | hChannel | Channel handle of USB device |
| [out] | pImageMode | The image pattern showed when there is not a valid input signal |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
Gets the image pattern showed when there is not a valid input signal.
| MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoAutoHAlign | ( | HUSBCHANNEL | hChannel, |
| bool_t * | pbAutoHAlign | ||
| ) |
Gets whether video is horizontally aligned.
| [in] | hChannel | Channel handle of USB device |
| [out] | pbAutoHAlign | The flag auto align horizontally |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoCaptureConnectionFormat | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_CONNECTION_FORMAT * | pConnFormat | ||
| ) |
Get the capture format related parameters of the video capture device.
| [in] | hChannel | Input the opened channel handle |
| [out] | pConnFormat | The video connection format information |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoCaptureProcessSettings | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_PROCESS_SETTINGS * | pProcSettings | ||
| ) |
Get the video process settings of the video capture device.
| [in] | hChannel | Input the opened channel handle |
| [out] | pProcSettings | Output the video process settings |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoOutputFOURCC | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_OUTPUT_FOURCC * | pOutputFourCC | ||
| ) |
Gets capture formats supported by the USB device.
| [in] | hChannel | Channel handle of USB device |
| [out] | pOutputFourCC | Supported capture format |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoOutputFrameInterval | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_OUTPUT_FRAME_INTERVAL * | pFrameInterval | ||
| ) |
Gets capture intervals supported by USB device.
| [in] | hChannel | Channel handle of USB device |
| [out] | pFrameInterval | Capture intervals supported by USB device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoOutputFrameSize | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_OUTPUT_FRAME_SIZE * | pFrameSize | ||
| ) |
Gets resolutions of captured images supported by the USB device.
| [in] | hChannel | Channel handle of USB device |
| [out] | pFrameSize | Resolutions of captured images supported by the USB device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoSamplingPhase | ( | HUSBCHANNEL | hChannel, |
| uint8_t * | puSamplingPhase | ||
| ) |
Gets video sampling phase.
| [in] | hChannel | Channel handle of USB device |
| [out] | puSamplingPhase | The value of the sampling phase of the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoSamplingPhaseAutoAdjust | ( | HUSBCHANNEL | hChannel, |
| bool_t * | pbAutoSamplingPhase | ||
| ) |
Gets whether video sampling phase is auto adjusted.
| [in] | hChannel | Channel handle of USB device |
| [out] | pbAutoSamplingPhase | The automatic adjustment flag of the sample phase |
| MW_RESULT LIBMWCAPTURE_API MWUSBLoadOptions | ( | HUSBCHANNEL | hChannel | ) |
Load the settings to the capture device.
| [in] | hChannel | Channel handle of USB device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBRegisterHotPlug | ( | LPFN_HOT_PLUG_CALLBACK | lpfnCallback, |
| void * | pParam | ||
| ) |
Registers hotplug callback function of USB capture device.
| [in] | lpfnCallback | Callback function |
| [in] | pParam | Callback object |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
Registers hotplug callback function of USB capture device to notify the plug states of USB capture devices.
| MW_RESULT LIBMWCAPTURE_API MWUSBResetOptions | ( | HUSBCHANNEL | hChannel | ) |
Reset the settings to the capture device.
| [in] | hChannel | Channel handle of USB device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBSaveOptions | ( | HUSBCHANNEL | hChannel | ) |
Saves configurations.
| [in] | hChannel | Channel handle of USB device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
The detailed usage refers to the following functions:
MWUSBSetVideoOutputFOURCC
MWUSBSetVideoOutputFrameSize
MWUSBSetVideoOutputFrameInterval
MWUSBSetStatusImageMode
MWUSBSetDeviceNameMode
| MW_RESULT LIBMWCAPTURE_API MWUSBSetAudioVolume | ( | HUSBCHANNEL | hChannel, |
| MWCAP_USB_AUDIO_NODE | audioNode, | ||
| MWCAP_AUDIO_VOLUME * | pVolume | ||
| ) |
Sets the volume of USB audio device.
| [in] | hChannel | Channel handle of USB device |
| [in] | audioNode | Audio device |
| [in] | pVolume | Audio device volume |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
Sets the volume of USB audio device.
| MW_RESULT LIBMWCAPTURE_API MWUSBSetCustomVideoResolutions | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY * | paCustomResolutions | ||
| ) |
Sets customize video resolutions.
| [in] | hChannel | Channel handle of USB device |
| [in] | paCustomResolutions | The customize resolutions set to the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBSetCustomVideoTiming | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_CUSTOM_TIMING * | pCustomTiming | ||
| ) |
Sets customize video timing.
| [in] | hChannel | Channel handle of USB device |
| [in] | pCustomTiming | The customize video timing set to the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBSetCustomVideoTimings | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_CUSTOM_TIMING_ARRAY * | paCustomTimings | ||
| ) |
Sets customize video timing array.
| [in] | hChannel | Channel handle of USB device |
| [in] | paCustomTimings | The customize video timing set to the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBSetDeviceNameMode | ( | HUSBCHANNEL | hChannel, |
| MWCAP_DEVICE_NAME_MODE * | pNameMode | ||
| ) |
Sets device name pattern of USB device.
| [in] | hChannel | Channel handle of USB device |
| [in] | pNameMode | Device name pattern |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBSetEDIDMode | ( | HUSBCHANNEL | hChannel, |
| MWCAP_EDID_MODE | mode | ||
| ) |
Sets the edid mode.
| [in] | hChannel | Channel handle of USB device |
| [out] | mode | The edid mode set to device |
| MW_RESULT LIBMWCAPTURE_API MWUSBSetNotifyEnable | ( | HUSBCHANNEL | hChannel, |
| MWCAP_NOTIFY_ENABLE * | pNotify | ||
| ) |
Sets notification types for specified channel.
| [in] | hChannel | Channel handle of the USB device |
| [in] | pNotify | Notification |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
Sets notification types for the specified channel.
| MW_RESULT LIBMWCAPTURE_API MWUSBSetStatusImageMode | ( | HUSBCHANNEL | hChannel, |
| MWCAP_STATUS_IMAGE_MODE * | pImageMode | ||
| ) |
Sets the image pattern showed when there is not a valid input signal.
| [in] | hChannel | Channel handle of USB device |
| [in] | pImageMode | The image pattern showed when there is not a valid input signal |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
Sets the image pattern showed when there is not a valid input signal.
| MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoAutoHAlign | ( | HUSBCHANNEL | hChannel, |
| bool_t | pbAutoHAlign | ||
| ) |
Sets video horizontal alignment.
| [in] | hChannel | Channel handle of USB device |
| [out] | pbAutoHAlign | The flag of the auto horizontal aligned set to the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoCaptureProcessSettings | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_PROCESS_SETTINGS * | pProcSettings | ||
| ) |
Sets the video process settings of the video capture device.
| [in] | hChannel | Input the opened channel handle |
| [in] | pProcSettings | The video process settings information |
| MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoOutputFOURCC | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_OUTPUT_FOURCC * | pOutputFourCC | ||
| ) |
Sets capture formats supported by the USB device, 3 at most.
| [in] | hChannel | Channel handle of USB device |
| [in] | pOutputFourCC | Supported capture formats |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
Sets capture formats supported by the USB device, which is 3 at most. The function must work with MWUSBSaveOptions, and plugs and reconnects the USB device after setting, then the function will work.
| MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoOutputFrameInterval | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_OUTPUT_FRAME_INTERVAL * | pFrameInterval | ||
| ) |
Sets capture intervals supported by USB device.
| [in] | hChannel | Channel handle of USB device |
| [in] | pFrameInterval | Capture intervals |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoOutputFrameSize | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_OUTPUT_FRAME_SIZE * | pFrameSize | ||
| ) |
Sets resolutions supported by the USB device.
| [in] | hChannel | Channel handle of USB device |
| [in] | pFrameSize | Resolutions supported by the USB device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
| MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoSamplingPhase | ( | HUSBCHANNEL | hChannel, |
| uint8_t * | puSamplingPhase | ||
| ) |
Sets video sampling phase.
| [in] | hChannel | Channel handle of USB device |
| [in] | puSamplingPhase | The value of the sampling phase set to the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoSamplingPhaseAutoAdjust | ( | HUSBCHANNEL | hChannel, |
| bool_t * | pbAutoSamplingPhase | ||
| ) |
Sets video sampling phase auto adjust.
| [in] | hChannel | Channel handle of USB device |
| [in] | pbAutoSamplingPhase | The automatic adjustment flag of the sample phase set to the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoTiming | ( | HUSBCHANNEL | hChannel, |
| MWCAP_VIDEO_TIMING * | pTiming | ||
| ) |
Sets default video timing.
| [in] | hChannel | Channel handle of USB device |
| [in] | pTiming | The video timing set to the capture device |
| MW_RESULT LIBMWCAPTURE_API MWUSBUnRegisterHotPlug | ( | ) |
Unregisters hotplug callback function.
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
hotplug callback function of USB capture device.
Refers to MWUSBRegisterHotPlug