29#ifndef _MWUSB_CAPTURE_H_
30#define _MWUSB_CAPTURE_H_
32#ifdef LIBMWCAPTURE_EXPORTS
33#define LIBMWCAPTURE_API __declspec(dllexport)
35#define LIBMWCAPTURE_API __declspec(dllimport)
37#define LIBMWCAPTURE_API
44#include "MWUSBCaptureExtension.h"
90 LPFN_HOT_PLUG_CALLBACK lpfnCallback,
162 HUSBCHANNEL hChannel,
212 HUSBCHANNEL hChannel,
213 uint64_t * pullStatusBit
285 HUSBCHANNEL hChannel,
326 HUSBCHANNEL hChannel,
368 HUSBCHANNEL hChannel,
369 MWCAP_USB_AUDIO_NODE audioNode,
413 HUSBCHANNEL hChannel,
414 MWCAP_USB_AUDIO_NODE audioNode,
428 HUSBCHANNEL hChannel,
442 HUSBCHANNEL hChannel,
456 HUSBCHANNEL hChannel,
496 HUSBCHANNEL hChannel,
542 HUSBCHANNEL hChannel,
582 HUSBCHANNEL hChannel,
628 HUSBCHANNEL hChannel,
668 HUSBCHANNEL hChannel,
714 HUSBCHANNEL hChannel,
755 HUSBCHANNEL hChannel,
756 MWCAP_STATUS_IMAGE_MODE * pImageMode
798 HUSBCHANNEL hChannel,
799 MWCAP_STATUS_IMAGE_MODE * pImageMode
838 HUSBCHANNEL hChannel,
839 MWCAP_DEVICE_NAME_MODE * pNameMode
880 HUSBCHANNEL hChannel,
881 MWCAP_DEVICE_NAME_MODE * pNameMode
1011 HUSBCHANNEL hChannel,
1012 bool_t * pbAutoHAlign
1025 HUSBCHANNEL hChannel,
1039 HUSBCHANNEL hChannel,
1040 uint8_t * puSamplingPhase
1053 HUSBCHANNEL hChannel,
1054 uint8_t* puSamplingPhase
1067 HUSBCHANNEL hChannel,
1068 bool_t * pbAutoSamplingPhase
1081 HUSBCHANNEL hChannel,
1082 bool_t * pbAutoSamplingPhase
1095 HUSBCHANNEL hChannel,
1109 HUSBCHANNEL hChannel,
1123 HUSBCHANNEL hChannel,
1137 HUSBCHANNEL hChannel,
1151 HUSBCHANNEL hChannel,
1165 HUSBCHANNEL hChannel,
1179 HUSBCHANNEL hChannel,
1193 HUSBCHANNEL hChannel,
1239MWUSBGetVideoCaptureSupportFrameRate(
1256MWUSBGetVideoCaptureSupportFrameRateEx(
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoSamplingPhase(HUSBCHANNEL hChannel, uint8_t *puSamplingPhase)
Sets video sampling phase.
MW_RESULT LIBMWCAPTURE_API MWUSBGetInputSourceScanState(HUSBCHANNEL hChannel, bool_t *pbScanning)
Obtains the scan state of input source.
MW_RESULT LIBMWCAPTURE_API MWUSBUnRegisterHotPlug()
Unregisters hotplug callback function.
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoAutoHAlign(HUSBCHANNEL hChannel, bool_t pbAutoHAlign)
Sets video horizontal alignment.
MW_RESULT LIBMWCAPTURE_API MWUSBRegisterHotPlug(LPFN_HOT_PLUG_CALLBACK lpfnCallback, void *pParam)
Registers hotplug callback function of USB capture device.
MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoSamplingPhase(HUSBCHANNEL hChannel, uint8_t *puSamplingPhase)
Gets video sampling phase.
MW_RESULT LIBMWCAPTURE_API MWUSBGetCustomVideoResolutions(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY *paCustomResolutions)
Gets customize video resolutions.
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 MWUSBGetExtensionSupported(HUSBCHANNEL hChannel, uint32_t *pdwFlag)
Gets extended support.
MW_RESULT LIBMWCAPTURE_API MWUSBGetEDIDLoopThrough(HUSBCHANNEL hChannel, char *pbyEDID, uint32_t *pcbEDID)
**
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 MWUSBSetCustomVideoTimings(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING_ARRAY *paCustomTimings)
Sets customize video timing array.
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoTiming(HUSBCHANNEL hChannel, MWCAP_VIDEO_TIMING *pTiming)
Sets default video timing.
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 MWUSBSetEDIDMode(HUSBCHANNEL hChannel, MWCAP_EDID_MODE mode)
Sets the edid mode.
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 MWUSBGetPreferredVideoTimings(HUSBCHANNEL hChannel, MWCAP_VIDEO_TIMING_ARRAY *paTimings)
Gets video preferred timings.
MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoOutputFOURCC(HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FOURCC *pOutputFourCC)
Gets capture formats supported by the USB device.
MW_RESULT LIBMWCAPTURE_API MWUSBGetDeviceNameMode(HUSBCHANNEL hChannel, MWCAP_DEVICE_NAME_MODE *pNameMode)
Gets device name pattern of USB device.
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 MWUSBSetVideoOutputFrameSize(HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_SIZE *pFrameSize)
Sets resolutions supported by the USB device.
MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoAutoHAlign(HUSBCHANNEL hChannel, bool_t *pbAutoHAlign)
Gets whether video is horizontally aligned.
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoSamplingPhaseAutoAdjust(HUSBCHANNEL hChannel, bool_t *pbAutoSamplingPhase)
Sets video sampling phase auto adjust.
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 MWUSBGetVideoSamplingPhaseAutoAdjust(HUSBCHANNEL hChannel, bool_t *pbAutoSamplingPhase)
Gets whether video sampling phase is auto adjusted.
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoOutputFrameInterval(HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_INTERVAL *pFrameInterval)
Sets capture intervals supported by USB device.
MW_RESULT LIBMWCAPTURE_API MWUSBSaveOptions(HUSBCHANNEL hChannel)
Saves configurations.
MW_RESULT LIBMWCAPTURE_API MWUSBSetNotifyEnable(HUSBCHANNEL hChannel, MWCAP_NOTIFY_ENABLE *pNotify)
Sets notification types for specified channel.
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 MWUSBGetVideoOutputFrameInterval(HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_INTERVAL *pFrameInterval)
Gets capture intervals supported by USB device.
MW_RESULT LIBMWCAPTURE_API MWUSBSetCustomVideoResolutions(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY *paCustomResolutions)
Sets customize video resolutions.
MW_RESULT LIBMWCAPTURE_API MWUSBGetCustomVideoTimings(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING_ARRAY *paCustomTimings)
Gets customize video timing array.
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 MWUSBGetVideoCaptureConnectionFormat(HUSBCHANNEL hChannel, MWCAP_VIDEO_CONNECTION_FORMAT *pConnFormat)
Get the capture format related parameters of the video capture device.
MW_RESULT LIBMWCAPTURE_API MWUSBGetNotifyStatus(HUSBCHANNEL hChannel, uint64_t *pullStatusBit)
Gets notification status of USB specified channel.
MW_RESULT LIBMWCAPTURE_API MWUSBGetEDIDMode(HUSBCHANNEL hChannel, MWCAP_EDID_MODE *pMode)
Gets current edid mode.
MW_RESULT LIBMWCAPTURE_API MWUSBResetOptions(HUSBCHANNEL hChannel)
Reset the settings to the capture device.
MW_RESULT LIBMWCAPTURE_API MWUSBSetCustomVideoTiming(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pCustomTiming)
Sets customize video timing.
MW_RESULT LIBMWCAPTURE_API MWUSBSetDeviceNameMode(HUSBCHANNEL hChannel, MWCAP_DEVICE_NAME_MODE *pNameMode)
Sets device name pattern of USB 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 MWUSBLoadOptions(HUSBCHANNEL hChannel)
Load the settings to the capture device.
Definition: MWUSBCaptureExtension.h:173
Definition: MWCaptureExtension.h:1060
MWCAP_VIDEO_CONNECTION_FORMAT.
Definition: MWCaptureExtension.h:1406
Definition: MWUSBCaptureExtension.h:255
Definition: MWUSBCaptureExtension.h:250
MWCAP_VIDEO_CUSTOM_TIMING.
Definition: MWCaptureExtension.h:1547
Definition: MWUSBCaptureExtension.h:266
Definition: MWUSBCaptureExtension.h:260
Definition: MWUSBCaptureExtension.h:206
Definition: MWUSBCaptureExtension.h:222
Definition: MWUSBCaptureExtension.h:216
MWCAP_VIDEO_PROCESS_SETTINGS.
Definition: MWCaptureExtension.h:1432
Definition: MWUSBCaptureExtension.h:245
MWCAP_VIDEO_TIMING.
Definition: MWCaptureExtension.h:330