29 #ifndef _MWUSB_CAPTURE_H_
30 #define _MWUSB_CAPTURE_H_
32 #ifdef LIBMWCAPTURE_EXPORTS
33 #define LIBMWCAPTURE_API __declspec(dllexport)
34 #elif LIBMWCAPTURE_DLL
35 #define LIBMWCAPTURE_API __declspec(dllimport)
37 #define LIBMWCAPTURE_API
44 #include "MWUSBCaptureExtension.h"
59 LPFN_HOT_PLUG_CALLBACK lpfnCallback,
98 uint64_t * pullStatusBit
112 HUSBCHANNEL hChannel,
127 HUSBCHANNEL hChannel,
128 uint32_t * pdwAddress
142 HUSBCHANNEL hChannel,
157 HUSBCHANNEL hChannel,
172 HUSBCHANNEL hChannel,
173 MWCAP_USB_AUDIO_NODE audioNode,
188 HUSBCHANNEL hChannel,
189 MWCAP_USB_AUDIO_NODE audioNode,
203 HUSBCHANNEL hChannel,
217 HUSBCHANNEL hChannel,
231 HUSBCHANNEL hChannel,
245 HUSBCHANNEL hChannel,
259 HUSBCHANNEL hChannel,
273 HUSBCHANNEL hChannel,
287 HUSBCHANNEL hChannel,
301 HUSBCHANNEL hChannel,
315 HUSBCHANNEL hChannel,
329 HUSBCHANNEL hChannel,
330 MWCAP_STATUS_IMAGE_MODE * pImageMode
343 HUSBCHANNEL hChannel,
344 MWCAP_STATUS_IMAGE_MODE * pImageMode
357 HUSBCHANNEL hChannel,
358 MWCAP_DEVICE_NAME_MODE * pNameMode
371 HUSBCHANNEL hChannel,
372 MWCAP_DEVICE_NAME_MODE * pNameMode
421 HUSBCHANNEL hChannel,
422 bool_t * pbAutoHAlign
435 HUSBCHANNEL hChannel,
449 HUSBCHANNEL hChannel,
450 uint8_t * puSamplingPhase
463 HUSBCHANNEL hChannel,
464 uint8_t* puSamplingPhase
477 HUSBCHANNEL hChannel,
478 bool_t * pbAutoSamplingPhase
491 HUSBCHANNEL hChannel,
492 bool_t * pbAutoSamplingPhase
505 HUSBCHANNEL hChannel,
519 HUSBCHANNEL hChannel,
533 HUSBCHANNEL hChannel,
547 HUSBCHANNEL hChannel,
561 HUSBCHANNEL hChannel,
575 HUSBCHANNEL hChannel,
589 HUSBCHANNEL hChannel,
603 HUSBCHANNEL hChannel,
649 MWUSBGetVideoCaptureSupportFrameRate(
666 MWUSBGetVideoCaptureSupportFrameRateEx(
679 #endif //_MWUSB_CAPTURE_H_
MW_RESULT LIBMWCAPTURE_API MWUSBRegisterHotPlug(LPFN_HOT_PLUG_CALLBACK lpfnCallback, void *pParam)
Registers notification event of device hot plug.
MWCAP_VIDEO_CUSTOM_TIMING.
Definition: MWCaptureExtension.h:1572
MWCAP_VIDEO_TIMING.
Definition: MWCaptureExtension.h:330
MW_RESULT LIBMWCAPTURE_API MWUSBGetFirmwareReadAddress(HUSBCHANNEL hChannel, uint32_t *pdwAddress)
Gets read address of USB device firmware.
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoAutoHAlign(HUSBCHANNEL hChannel, bool_t pbAutoHAlign)
Sets video horizontal alignment.
MW_RESULT LIBMWCAPTURE_API MWUSBSetDeviceNameMode(HUSBCHANNEL hChannel, MWCAP_DEVICE_NAME_MODE *pNameMode)
Sets device name pattern of USB device.
MWCAP_VIDEO_CONNECTION_FORMAT.
Definition: MWCaptureExtension.h:1431
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 MWUSBSetCustomVideoResolutions(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY *paCustomResolutions)
Sets customize video resolutions.
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 MWUSBGetVideoOutputFOURCC(HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FOURCC *pOutputFourCC)
Gets output video format of the video capture device.
Definition: MWUSBCaptureExtension.h:206
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 MWUSBSetEDIDMode(HUSBCHANNEL hChannel, MWCAP_EDID_MODE mode)
Sets the edid mode.
MW_RESULT LIBMWCAPTURE_API MWUSBGetPreferredVideoTimings(HUSBCHANNEL hChannel, MWCAP_VIDEO_TIMING_ARRAY *paTimings)
Gets video preferred timings.
MW_RESULT LIBMWCAPTURE_API MWUSBSetFirmwareErase(HUSBCHANNEL hChannel, uint32_t cbOffset, uint32_t cbErase)
Erases firmware data from USB device.
Definition: MWUSBCaptureExtension.h:245
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 MWUSBGetVideoOutputFrameSize(HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_SIZE *pFrameSize)
Gets resolutions of captured images supported by the USB 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 MWUSBGetDeviceNameMode(HUSBCHANNEL hChannel, MWCAP_DEVICE_NAME_MODE *pNameMode)
Gets device name pattern of USB device.
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 MWUSBSetNotifyEnable(HUSBCHANNEL hChannel, MWCAP_NOTIFY_ENABLE *pNotify)
Registers notification.
MW_RESULT LIBMWCAPTURE_API MWUSBGetEDIDMode(HUSBCHANNEL hChannel, MWCAP_EDID_MODE *pMode)
Gets current edid mode.
MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoAutoHAlign(HUSBCHANNEL hChannel, bool_t *pbAutoHAlign)
Gets whether video is horizontally aligned.
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoTiming(HUSBCHANNEL hChannel, MWCAP_VIDEO_TIMING *pTiming)
Sets default video timing.
MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoSamplingPhase(HUSBCHANNEL hChannel, uint8_t *puSamplingPhase)
Gets video sampling phase.
Definition: MWUSBCaptureExtension.h:216
Definition: MWCaptureExtension.h:1085
MW_RESULT LIBMWCAPTURE_API MWUSBResetOptions(HUSBCHANNEL hChannel)
Reset the settings to the capture 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 MWUSBGetCustomVideoTimings(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING_ARRAY *paCustomTimings)
Gets customize video timing array.
MWCAP_VIDEO_PROCESS_SETTINGS.
Definition: MWCaptureExtension.h:1457
Definition: MWUSBCaptureExtension.h:266
MW_RESULT LIBMWCAPTURE_API MWUSBGetAudioVolume(HUSBCHANNEL hChannel, MWCAP_USB_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume)
Gets the volume of USB audio device.
Definition: MWUSBCaptureExtension.h:260
MW_RESULT LIBMWCAPTURE_API MWUSBSetCustomVideoTimings(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING_ARRAY *paCustomTimings)
Sets customize video timing array.
MW_RESULT LIBMWCAPTURE_API MWUSBLoadOptions(HUSBCHANNEL hChannel)
Load the settings to the capture device.
Definition: MWUSBCaptureExtension.h:222
Definition: MWUSBCaptureExtension.h:250
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)
Gets EDID of the loopthrough interface in the USB device, only supported by devices with loopthrough ...
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoOutputFrameSize(HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_SIZE *pFrameSize)
Sets resolutions supported by the USB device.
MW_RESULT LIBMWCAPTURE_API MWUSBGetCustomVideoResolutions(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY *paCustomResolutions)
Gets customize video resolutions.
MW_RESULT LIBMWCAPTURE_API MWUSBUnRegisterHotPlug()
UnRegisters notification event of device hot plug.
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoSamplingPhaseAutoAdjust(HUSBCHANNEL hChannel, bool_t *pbAutoSamplingPhase)
Sets video sampling phase auto adjust.
MW_RESULT LIBMWCAPTURE_API MWUSBSaveOptions(HUSBCHANNEL hChannel)
Saves configurations.
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoOutputFrameInterval(HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_INTERVAL *pFrameInterval)
Sets capture intervals supported by USB device.
MW_RESULT LIBMWCAPTURE_API MWUSBGetVideoCaptureProcessSettings(HUSBCHANNEL hChannel, MWCAP_VIDEO_PROCESS_SETTINGS *pProcSettings)
Get the video process settings of the video capture device.
Definition: MWUSBCaptureExtension.h:173
MW_RESULT LIBMWCAPTURE_API MWUSBSetCustomVideoTiming(HUSBCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pCustomTiming)
Sets customize video timing.
MW_RESULT LIBMWCAPTURE_API MWUSBSetVideoOutputFOURCC(HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FOURCC *pOutputFourCC)
Sets output format of the video capture device.
Definition: MWUSBCaptureExtension.h:255
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 MWUSBGetInputSourceScanState(HUSBCHANNEL hChannel, bool_t *pbScanning)
Obtains the scan state of input source.
MW_RESULT LIBMWCAPTURE_API MWUSBGetExtensionSupported(HUSBCHANNEL hChannel, uint32_t *pdwFlag)
Gets extended support.