diff --git a/src/reprostim-capture/3rdparty/MWCapture_SDK_Linux-3_3_1_1515/Documents/html/Readme.html b/src/reprostim-capture/3rdparty/MWCapture_SDK_Linux-3_3_1_1515/Documents/html/Readme.html new file mode 100644 index 00000000..ff88af02 --- /dev/null +++ b/src/reprostim-capture/3rdparty/MWCapture_SDK_Linux-3_3_1_1515/Documents/html/Readme.html @@ -0,0 +1,284 @@ + + +
+ + + + + +|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
This section describes the changes between Magewell_Capture_SDK_3.3 (hereafter called "MWCaptureSDK 3.3", "SDK V3.3" or "MWCaptureSDK3.3.x.x") and its older version MWCaptureSDK 3.2.x.x (hereafter called "MWCaptureSDK 3.2"), which aims at helping developers get a better understanding of how to use the latest SDK. We highly recommend users of MWCaptureSDK 3.2 to read this important release note.
+CentOS 6.5/7 (x86 & x64)
+Note: Hardware-coded module required system is described in the mw_venc page.
+ +| Family Name | SDKv2 | SDKv3 |
|---|---|---|
| First Generation Capture Device | Y | N |
| Pro Capture Family | Y | Y |
| USB Capture Family | Y | Y |
| USB Capture Plus Family | Y | Y |
| ECO Capture Family | Y | Y |
Note: Available APIs in SDKv3 will depend on the capabilities of the particular Magewell capture hardware you are using. (For example, APIs such as OSD and LowLatency will be available with Pro Capture hardware but not the USB Capture, USB Capture Plus and Eco Capture families)
+Added examples for Python and java.
Added hardware video encoding module. For details, refer to mw_venc.
Added mp4 recording module. For details, refer to mw_mp4.
Optimized SDKv3 documentation.
Added the following APIs.
Replaced the interfaces of USB capture device and Pro/Eco Capture device, that have the same functions, with common interfaces.
+ +| Removed Interfaces | Alternative Interface | |
|---|---|---|
| USB interfaces | Pro/Eco interfaces | Common interfaces |
| MWUSBGetVideoCaptureConnectionFormat | MWGetVideoConnectFormat | MWGetVideoCaptureConnectionFormat |
| MWUSBGetVideoCaptureProcessSettings | MWGetVideoProcessSettings | MWGetVideoCaptureProcessSettings |
| MWUSBSetVideoCaptureProcessSettings | MWSetVideoProcessSettings | MWSetVideoCaptureProcessSettings |
| MWUSBGetPreferredVideoTimings | MWGetPreferredVideoTimingsArray | MWGetPreferredVideoTimings |
| MWUSBGetCustomVideoTimings | MWGetCustomVideoTimingsArray | MWGetCustomVideoTimings |
| MWUSBSetCustomVideoTimings | MWSetCustomVideoTimingsArray | MWSetCustomVideoTimings |
| MWUSBGetCustomVideoResolutions | MWGetCustomVideoResolutionsArray | MWGetCustomVideoResolutions |
| MWUSBSetCustomVideoResolutions | MWSetCustomVideoResolutionsArray | MWSetCustomVideoResolutions |
| Removed Interface | Alternative Interface |
|---|---|
| MWUSBGetVideoAutoHAlign | MWGetVideoAutoHAlign |
| MWUSBSetVideoAutoHAlign | MWSetVideoAutoHAlign |
| MWUSBGetVideoSamplingPhase | MWGetVideoSamplingPhase |
| MWUSBSetVideoSamplingPhase | MWSetVideoSamplingPhase |
| MWUSBGetVideoSamplingPhaseAutoAdjust | MWGetVideoSamplingPhaseAutoAdjust |
| MWUSBSetVideoSamplingPhaseAutoAdjust | MWSetVideoSamplingPhaseAutoAdjust |
| MWUSBSetVideoTiming | MWSetVideoTiming |
| MWUSBSetCustomVideoTiming | MWSetCustomVideoTiming |
| MWGetVideoOSDSettings | MWGetVideoCaptureOSDSettings |
Added examples.
New Features
New Examples
Binary Package
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
This is the complete list of members for CAutoConvertString, including all inherited members.
+| CAutoConvertString(const WCHAR *pwszString, UINT uCodePage=CP_ACP) (defined in CAutoConvertString) | CAutoConvertString | inline |
| CAutoConvertString(const char *pszString, UINT uCodePage=CP_ACP) (defined in CAutoConvertString) | CAutoConvertString | inline |
| Detach() (defined in CAutoConvertString) | CAutoConvertString | inline |
| m_pszString (defined in CAutoConvertString) | CAutoConvertString | protected |
| m_pvAlloc (defined in CAutoConvertString) | CAutoConvertString | protected |
| m_pwszString (defined in CAutoConvertString) | CAutoConvertString | protected |
| m_uCodePage (defined in CAutoConvertString) | CAutoConvertString | protected |
| operator char *() (defined in CAutoConvertString) | CAutoConvertString | inline |
| operator WCHAR *() (defined in CAutoConvertString) | CAutoConvertString | inline |
| ~CAutoConvertString() (defined in CAutoConvertString) | CAutoConvertString | inlinevirtual |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Protected Attributes | |
| +WCHAR * | m_pwszString |
| +char * | m_pszString |
| +void * | m_pvAlloc |
| +UINT | m_uCodePage |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
This is the complete list of members for CMWAutoLock, including all inherited members.
+| CMWAutoLock(CMWLock §ion) (defined in CMWAutoLock) | CMWAutoLock | inline |
| m_section (defined in CMWAutoLock) | CMWAutoLock | protected |
| ~CMWAutoLock() (defined in CMWAutoLock) | CMWAutoLock | inlinevirtual |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Public Member Functions | |
| + | CMWAutoLock (CMWLock §ion) |
+Protected Attributes | |
| +CMWLock & | m_section |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
This is the complete list of members for CMWAutoUnLock, including all inherited members.
+| CMWAutoUnLock(CMWLock §ion) (defined in CMWAutoUnLock) | CMWAutoUnLock | inline |
| m_section (defined in CMWAutoUnLock) | CMWAutoUnLock | protected |
| ~CMWAutoUnLock() (defined in CMWAutoUnLock) | CMWAutoUnLock | inlinevirtual |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Public Member Functions | |
| + | CMWAutoUnLock (CMWLock §ion) |
+Protected Attributes | |
| +CMWLock & | m_section |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
This is the complete list of members for CMWLock, including all inherited members.
+| CMWLock() (defined in CMWLock) | CMWLock | inline |
| Lock() (defined in CMWLock) | CMWLock | inline |
| m_cs (defined in CMWLock) | CMWLock | protected |
| TryLock() (defined in CMWLock) | CMWLock | inline |
| Unlock() (defined in CMWLock) | CMWLock | inline |
| ~CMWLock() (defined in CMWLock) | CMWLock | inlinevirtual |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Public Member Functions | |
| +void | Lock () |
| +void | Unlock () |
| +BOOL | TryLock () |
+Protected Attributes | |
| +CRITICAL_SECTION | m_cs |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Functions | |
| LIBMWCCDECODER_API mw_cc708_decoder_t * | MWCreateCC708Decoder () |
| MWCreateCC708Decoder Creats CC708 decoder. More... | |
| LIBMWCCDECODER_API void | MWDestoryCC708Decoder (mw_cc708_decoder_t *pDecoder) |
| MWDestoryCC708Decoder Unregisters CC708 decoder. More... | |
| LIBMWCCDECODER_API void | MWResetCC708Decoder (mw_cc708_decoder_t *pDecoder) |
| MWResetCC708Decoder Resets CC708 decoder. More... | |
| LIBMWCCDECODER_API void | MWSetCC708DecoderCallback (mw_cc708_decoder_t *pDecoder, void(*pHandle)(int service, void *userdata), void *pUserdata) |
| MWSetCC708DecoderCallback Sets CC708 decoder callback function. More... | |
| LIBMWCCDECODER_API void | MWSetCC708DecodeType (mw_cc708_decoder_t *pDecoder, bool b608, bool b708) |
| MWSetCC708DecodeType Sets CC708 decoder to parsing CC data types. More... | |
| LIBMWCCDECODER_API MW_CC_RESULT | MWEnableOutputChannel (mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t mcc) |
| MWEnableOutputChannel Sets the decoded CC output channel. More... | |
| LIBMWCCDECODER_API MW_CC_RESULT | MWEnableOutputChannels (mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t *mcc, int array_num) |
| MWEnableOutputChannels Sets the decoded CC output channels. More... | |
| LIBMWCCDECODER_API MW_CC_RESULT | MWDisableOutputChannel (mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t mcc) |
| MWDisableOutputChannel Sets the channels not to output CC. More... | |
| LIBMWCCDECODER_API MW_CC_RESULT | MWDisableOutputChannels (mw_cc708_decoder_t *pDecoder, mw_cc708_channel_t *mcc, int array_num) |
| MWDisableOutputChannels Length of output channel array. More... | |
| LIBMWCCDECODER_API MW_CC_RESULT | MWDecodeCC608 (mw_cc708_decoder_t *pDecoder, const unsigned char *pData, int nDatalength) |
| MWDecodeCC608 Decodes cc608 ANC. More... | |
| LIBMWCCDECODER_API MW_CC_RESULT | MWDecodeCC708 (mw_cc708_decoder_t *pDecoder, const unsigned char *pData, int nDatalength) |
| MWDecodeCC708 Decodes cc708 ANC. More... | |
| LIBMWCCDECODER_API mw_cc708_decoder_t* MWCreateCC708Decoder | +( | +) | ++ |
MWCreateCC708Decoder Creats CC708 decoder.
+| LIBMWCCDECODER_API MW_CC_RESULT MWDecodeCC608 | +( | +mw_cc708_decoder_t * | +pDecoder, | +
| + | + | const unsigned char * | +pData, | +
| + | + | int | +nDatalength | +
| + | ) | ++ |
MWDecodeCC608 Decodes cc608 ANC.
+| [in] | pDecoder | CC708 decoder |
| [in] | pData | ANC |
| [in] | nDatalength | Length of ANC |
| LIBMWCCDECODER_API MW_CC_RESULT MWDecodeCC708 | +( | +mw_cc708_decoder_t * | +pDecoder, | +
| + | + | const unsigned char * | +pData, | +
| + | + | int | +nDatalength | +
| + | ) | ++ |
MWDecodeCC708 Decodes cc708 ANC.
+| [in] | pDecoder | CC708 decoder |
| [in] | pData | ANC |
| [in] | nDatalength | Length of ANC |
| LIBMWCCDECODER_API void MWDestoryCC708Decoder | +( | +mw_cc708_decoder_t * | +pDecoder | ) | ++ |
MWDestoryCC708Decoder Unregisters CC708 decoder.
+| [in] | pDecoder | Decoder pointer |
| LIBMWCCDECODER_API MW_CC_RESULT MWDisableOutputChannel | +( | +mw_cc708_decoder_t * | +pDecoder, | +
| + | + | mw_cc708_channel_t | +mcc | +
| + | ) | ++ |
MWDisableOutputChannel Sets the channels not to output CC.
+| [in] | pDecoder | CC708 decoder |
| [in] | mcc | Output channels |
| LIBMWCCDECODER_API MW_CC_RESULT MWDisableOutputChannels | +( | +mw_cc708_decoder_t * | +pDecoder, | +
| + | + | mw_cc708_channel_t * | +mcc, | +
| + | + | int | +array_num | +
| + | ) | ++ |
MWDisableOutputChannels Length of output channel array.
+| [in] | pDecoder | CC708 decoder |
| [in] | mcc | Output channel array |
| [in] | array_num | Length of output channel array |
| LIBMWCCDECODER_API MW_CC_RESULT MWEnableOutputChannel | +( | +mw_cc708_decoder_t * | +pDecoder, | +
| + | + | mw_cc708_channel_t | +mcc | +
| + | ) | ++ |
MWEnableOutputChannel Sets the decoded CC output channel.
+| [in] | pDecoder | CC708 decoder |
| [in] | mcc | Output channel |
| LIBMWCCDECODER_API MW_CC_RESULT MWEnableOutputChannels | +( | +mw_cc708_decoder_t * | +pDecoder, | +
| + | + | mw_cc708_channel_t * | +mcc, | +
| + | + | int | +array_num | +
| + | ) | ++ |
MWEnableOutputChannels Sets the decoded CC output channels.
+| [in] | pDecoder | CC708 decoder |
| [in] | mcc | Output channel array |
| [in] | array_num | Length of output channel array |
| LIBMWCCDECODER_API void MWResetCC708Decoder | +( | +mw_cc708_decoder_t * | +pDecoder | ) | ++ |
MWResetCC708Decoder Resets CC708 decoder.
+| [in] | pDecoder | CC708 decoder |
| LIBMWCCDECODER_API void MWSetCC708DecoderCallback | +( | +mw_cc708_decoder_t * | +pDecoder, | +
| + | + | void(*)(int service, void *userdata) | +pHandle, | +
| + | + | void * | +pUserdata | +
| + | ) | ++ |
MWSetCC708DecoderCallback Sets CC708 decoder callback function.
+| [in] | pDecoder | CC708 decoder |
| [in] | pHandle | Callback functions |
| [in] | pUserdata | Callback object |
| LIBMWCCDECODER_API void MWSetCC708DecodeType | +( | +mw_cc708_decoder_t * | +pDecoder, | +
| + | + | bool | +b608, | +
| + | + | bool | +b708 | +
| + | ) | ++ |
MWSetCC708DecodeType Sets CC708 decoder to parsing CC data types.
+| [in] | pDecoder | CC708 decoder |
| [in] | b608 | Whether to decode cc608 |
| [in] | b708 | Whether to decode cc708 |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Functions | |
| LIBCCRENDER_FREETYPE_API mw_cc_render_t * | MWCreateRender () |
| MWCreateRender Creates a CC renderer. More... | |
| LIBCCRENDER_FREETYPE_API void | MWDestoryRender (mw_cc_render_t *pRender) |
| MWDestoryRender Destroys a cc renderer. More... | |
| LIBCCRENDER_FREETYPE_API bool | MWLoadFont (mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
| MWLoadFont Uploads fonts. More... | |
| LIBCCRENDER_FREETYPE_API void | MWUnLoadFont (mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
| MWUnLoadFont Unloads fonts. More... | |
| LIBCCRENDER_FREETYPE_API mw_cc_screen_t * | MWCreateCCScreen (int t_nWidth, int t_nHeight) |
| MWCreateCCScreen Creates a CC screen. More... | |
| LIBCCRENDER_FREETYPE_API void | MWDestoryCCScreen (mw_cc_screen_t *t_pScreen) |
| MWDestoryCCScreen Destroys a CC Screen. More... | |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC608Screen (mw_cc_screen_t *t_pScreen, mw_cc608_buffer_t *t_pCC608Buffer, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
| MWRenderCC608Screen Renders on screens with cc608 buffer. More... | |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC608Buffer (unsigned char *t_pScreen, int t_nWidth, int t_nHeight, int t_nSize, mw_cc608_buffer_t *t_pCC608Buffer, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
| MWRenderCC608Buffer Render cc608 buffer to the specified memory. More... | |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC608BufferArea (unsigned char *t_pScreen, int t_nWidth, int t_nHeight, int t_nSize, int t_nX, int t_nY, int t_nAWidth, int t_nAHeight, mw_cc608_buffer_t *t_pCC608Buffer, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
| MWRenderCC608BufferArea Renders cc608 buffer to specified area of specified memory. More... | |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC708Screen (mw_cc_screen_t *t_pScreen, mw_cc708_tv_window_screen_t *t_pWindowScreen, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
| MWRenderCC708Screen Renders cc708 tv_window_screen to screen. More... | |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC708Buffer (unsigned char *t_pScreen, int t_nWidth, int t_nHeight, int t_nSize, mw_cc708_tv_window_screen_t *t_pWindowScreen, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
| MWRenderCC708Buffer Renders cc708 tv_window_screen to the specified memory. More... | |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT | MWRenderCC708BufferArea (unsigned char *t_pScreen, int t_nWidth, int t_nHeight, int t_nSize, int t_nX, int t_nY, int t_nAWidth, int t_nAHeight, mw_cc708_tv_window_screen_t *t_pWindowScreen, mw_cc_font_t *t_pmcfFont, mw_cc_render_t *pRender) |
| MWRenderCC708BufferArea Renders cc708 tv_window_screen to the specified area of specified memory. More... | |
| LIBCCRENDER_FREETYPE_API void | MWRenderCCSetBackgroundColor (mw_cc_font_t *t_pFont, bool t_bSet, mw_cc_color_t t_mccColor) |
| MWRenderCCSetBackgroundColor Sets the default or custom background color. More... | |
| LIBCCRENDER_FREETYPE_API void | MWRenderCCSetFontColor (mw_cc_font_t *t_pFont, bool t_bSet, mw_cc_color_t t_mccColor) |
| MWRenderCCSetFontColor Sets the default or custom Font color. More... | |
| LIBCCRENDER_FREETYPE_API mw_cc_screen_t* MWCreateCCScreen | +( | +int | +t_nWidth, | +
| + | + | int | +t_nHeight | +
| + | ) | ++ |
MWCreateCCScreen Creates a CC screen.
+| [in] | t_nWidth | Width of the screen |
| [in] | t_nHeight | Height of the screen |
| LIBCCRENDER_FREETYPE_API mw_cc_render_t* MWCreateRender | +( | +) | ++ |
MWCreateRender Creates a CC renderer.
+| LIBCCRENDER_FREETYPE_API void MWDestoryCCScreen | +( | +mw_cc_screen_t * | +t_pScreen | ) | ++ |
MWDestoryCCScreen Destroys a CC Screen.
+| [in] | t_pScreen | Screen |
| LIBCCRENDER_FREETYPE_API void MWDestoryRender | +( | +mw_cc_render_t * | +pRender | ) | ++ |
MWDestoryRender Destroys a cc renderer.
+| [in] | pRender | cc renderer |
| LIBCCRENDER_FREETYPE_API bool MWLoadFont | +( | +mw_cc_font_t * | +t_pmcfFont, | +
| + | + | mw_cc_render_t * | +pRender | +
| + | ) | ++ |
MWLoadFont Uploads fonts.
+| [in] | t_pmcfFont | Font |
| [in] | pRender | cc renderer |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC608Buffer | +( | +unsigned char * | +t_pScreen, | +
| + | + | int | +t_nWidth, | +
| + | + | int | +t_nHeight, | +
| + | + | int | +t_nSize, | +
| + | + | mw_cc608_buffer_t * | +t_pCC608Buffer, | +
| + | + | mw_cc_font_t * | +t_pmcfFont, | +
| + | + | mw_cc_render_t * | +pRender | +
| + | ) | ++ |
MWRenderCC608Buffer Render cc608 buffer to the specified memory.
+| [out] | t_pScreen | the specified memory |
| [in] | t_nWidth | Memory width |
| [in] | t_nHeight | Memory height |
| [in] | t_nSize | Memory size |
| [in] | t_pCC608Buffer | cc608 buffer |
| [in] | t_pmcfFont | Font |
| [in] | pRender | Renderer |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC608BufferArea | +( | +unsigned char * | +t_pScreen, | +
| + | + | int | +t_nWidth, | +
| + | + | int | +t_nHeight, | +
| + | + | int | +t_nSize, | +
| + | + | int | +t_nX, | +
| + | + | int | +t_nY, | +
| + | + | int | +t_nAWidth, | +
| + | + | int | +t_nAHeight, | +
| + | + | mw_cc608_buffer_t * | +t_pCC608Buffer, | +
| + | + | mw_cc_font_t * | +t_pmcfFont, | +
| + | + | mw_cc_render_t * | +pRender | +
| + | ) | ++ |
MWRenderCC608BufferArea Renders cc608 buffer to specified area of specified memory.
+| [out] | t_pScreen | Specified memory |
| [in] | t_nWidth | Width of memory |
| [in] | t_nHeight | Height of memory |
| [in] | t_nSize | Size of memory |
| [in] | t_nX | x coordinates of the specified area |
| [in] | t_nY | y coordinates of the specified area y coordinates |
| [in] | t_nAWidth | width of the specified area |
| [in] | t_nAHeight | Height of the specified area |
| [in] | t_pCC608Buffer | cc608 buffer |
| [in] | t_pmcfFont | Font |
| [in] | pRender | Renderer |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC608Screen | +( | +mw_cc_screen_t * | +t_pScreen, | +
| + | + | mw_cc608_buffer_t * | +t_pCC608Buffer, | +
| + | + | mw_cc_font_t * | +t_pmcfFont, | +
| + | + | mw_cc_render_t * | +pRender | +
| + | ) | ++ |
MWRenderCC608Screen Renders on screens with cc608 buffer.
+| [out] | t_pScreen | Screen |
| [in] | t_pCC608Buffer | cc608 buffer |
| [in] | t_pmcfFont | Font |
| [in] | pRender | Renderer |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC708Buffer | +( | +unsigned char * | +t_pScreen, | +
| + | + | int | +t_nWidth, | +
| + | + | int | +t_nHeight, | +
| + | + | int | +t_nSize, | +
| + | + | mw_cc708_tv_window_screen_t * | +t_pWindowScreen, | +
| + | + | mw_cc_font_t * | +t_pmcfFont, | +
| + | + | mw_cc_render_t * | +pRender | +
| + | ) | ++ |
MWRenderCC708Buffer Renders cc708 tv_window_screen to the specified memory.
+| [out] | t_pScreen | Specified memory |
| [in] | t_nWidth | Width of memory |
| [in] | t_nHeight | Height of memory |
| [in] | t_nSize | Size of memory |
| [in] | t_pWindowScreen | cc708 tv_window_screen |
| [in] | t_pmcfFont | Font |
| [in] | pRender | Renderer |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC708BufferArea | +( | +unsigned char * | +t_pScreen, | +
| + | + | int | +t_nWidth, | +
| + | + | int | +t_nHeight, | +
| + | + | int | +t_nSize, | +
| + | + | int | +t_nX, | +
| + | + | int | +t_nY, | +
| + | + | int | +t_nAWidth, | +
| + | + | int | +t_nAHeight, | +
| + | + | mw_cc708_tv_window_screen_t * | +t_pWindowScreen, | +
| + | + | mw_cc_font_t * | +t_pmcfFont, | +
| + | + | mw_cc_render_t * | +pRender | +
| + | ) | ++ |
MWRenderCC708BufferArea Renders cc708 tv_window_screen to the specified area of specified memory.
+| [out] | t_pScreen | Specified memory |
| [in] | t_nWidth | Memory width |
| [in] | t_nHeight | Memory height |
| [in] | t_nSize | Memory size |
| [in] | t_nX | Specified area x coordinates |
| [in] | t_nY | Specified area y coordinates |
| [in] | t_nAWidth | Area width |
| [in] | t_nAHeight | Area height |
| [in] | t_pWindowScreen | cc708 tv_window_screen |
| [in] | t_pmcfFont | Font |
| [in] | pRender | Renderer |
| LIBCCRENDER_FREETYPE_API MW_CC_RESULT MWRenderCC708Screen | +( | +mw_cc_screen_t * | +t_pScreen, | +
| + | + | mw_cc708_tv_window_screen_t * | +t_pWindowScreen, | +
| + | + | mw_cc_font_t * | +t_pmcfFont, | +
| + | + | mw_cc_render_t * | +pRender | +
| + | ) | ++ |
MWRenderCC708Screen Renders cc708 tv_window_screen to screen.
+| [out] | t_pScreen | Screen |
| [in] | t_pWindowScreen | cc708 tv_window_screen |
| [in] | t_pmcfFont | Font |
| [in] | pRender | Renderer |
| LIBCCRENDER_FREETYPE_API void MWRenderCCSetBackgroundColor | +( | +mw_cc_font_t * | +t_pFont, | +
| + | + | bool | +t_bSet, | +
| + | + | mw_cc_color_t | +t_mccColor | +
| + | ) | ++ |
MWRenderCCSetBackgroundColor Sets the default or custom background color.
+| [in] | t_pFont | Font |
| [in] | t_bSet | Whether to use the custom color |
| [in] | t_mccColor | Color |
| LIBCCRENDER_FREETYPE_API void MWRenderCCSetFontColor | +( | +mw_cc_font_t * | +t_pFont, | +
| + | + | bool | +t_bSet, | +
| + | + | mw_cc_color_t | +t_mccColor | +
| + | ) | ++ |
MWRenderCCSetFontColor Sets the default or custom Font color.
+| [in] | t_pFont | Font |
| [in] | t_bSet | Whether to use the custom color |
| [in] | t_mccColor | Font color |
| LIBCCRENDER_FREETYPE_API void MWUnLoadFont | +( | +mw_cc_font_t * | +t_pmcfFont, | +
| + | + | mw_cc_render_t * | +pRender | +
| + | ) | ++ |
MWUnLoadFont Unloads fonts.
+| [in] | t_pmcfFont | Font |
| [in] | pRender | cc renderer |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
| typedef enum _CC_RESULT MW_CC_RESULT | +
MW_CC_RESULT.
+Closed Caption state code
+ +| enum _cc608_background_color | +
cc608 background colors
+| enum _cc608_foreground_color | +
cc608 font colors
+| enum _cc708_channel | +
Enumeration of cc708 channels.
+| enum _CC_RESULT | +
MW_CC_RESULT.
+Closed Caption state code
+| enum _cea708_pen_attrib_font_style | +
CC708 fonts.
+| enum _cea708_pen_attrib_texttag | +
CC708 text labels which indicate different lines sources.
+| enum _cea708_windows_attrib_border_type | +
| enum _cea708_windows_attrib_effect_direction | +
| enum _cea708_windows_attrib_fill_opacity | +
| enum _cea708_windows_attrib_justify | +
| enum _cea708_windows_attrib_print_direction | +
| enum _cea708_windows_attrib_scroll_direction | +
| enum _cea_anchor_points | +
Anchor location of CC708 window.
+| enum _cea_pen_attrib_edgetype | +
| enum _cea_pen_attrib_offset | +
| enum _cea_pen_attrib_size | +
| enum _color_format | +
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Macros | |
| +#define | CC608_ROWS 15 |
| CC608 number of lines. | |
| +#define | CC608_COLUMNS 32 |
| CC608 number of columns. | |
| +#define | CC608_CHANNELS 4 |
| CC608 number of channels. | |
| +#define | MAX_708_PACKET_LENGTH 128 |
| Max length of CC708. | |
| +#define | CCX_DECODERS_708_MAX_SERVICES 63 |
| Mac services of CC708. | |
| +#define | I708_MAX_ROWS 15 |
| Max lines of CC708. | |
| +#define | I708_MAX_COLUMNS 42 |
| Max columns of CC708. | |
| +#define | I708_MAX_COLUMNS_2 32 |
| Max columns of CC708. | |
| +#define | I708_SCREENGRID_ROWS 75 |
| Lines of CC708. | |
| +#define | I708_SCREENGRID_COLUMNS 210 |
| Columns of CC708. | |
| +#define | I708_MAX_WINDOWS 8 |
| Max lines of CC708. | |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Classes | |
| struct | _cc608_attributes |
| mw_cc608_attributes_t cc608 font attribution More... | |
| struct | _cc608_char_cell |
| mw_cc608_char_cell_t cc608 character More... | |
| struct | _cc608_row |
| mw_cc608_row_t cc608 row More... | |
| struct | _cc608_buffer |
| mw_cc608_buffer_t cc608 single channel character More... | |
| struct | _cc608_memory |
| mw_cc608_memory_t all cc608 channel characters More... | |
| struct | _cc608_active_channel |
| mw_cc608_active_channel_t cc608 current active channel More... | |
| struct | _cc608_decoder |
| mw_cc608_decoder_t cc608 resolution structure More... | |
| struct | _cea708_time_code |
| mw_cea708_time_code_t CC708 time code More... | |
| struct | _cc708_cell |
| mw_cc708_cell_t cc708 character unit More... | |
| struct | _cc708_pen_color |
| mw_cc708_pen_color_t cc708 pen color More... | |
| struct | _cc708_pen_attrib |
| mw_cc708_pen_attrib_t cc708 pen property More... | |
| struct | _cc708_window_attrib |
| Property of mw_cc708_window_attrib_t Attribution of the cc708 captions window. More... | |
| struct | _cc708_window |
| mw_cc708_window_t cc708 captions window More... | |
| struct | _cc708_tv_window_screen |
| mw_cc708_tv_window_screen_t display of closed captions More... | |
| struct | _cc708_service_decoder |
| mw_cc708_service_decoder_t cc708 service decoder More... | |
| struct | _cc708_service_all_decoders |
| _cc708_service_all_decoders All cc708 service decoders More... | |
| struct | _cc708_decoder |
| _cc708_decoder cc708 decoder More... | |
+Typedefs | |
| +typedef struct _cc608_attributes | mw_cc608_attributes_t |
| mw_cc608_attributes_t cc608 font attribution | |
| +typedef struct _cc608_char_cell | mw_cc608_char_cell_t |
| mw_cc608_char_cell_t cc608 character | |
| +typedef struct _cc608_row | mw_cc608_row_t |
| mw_cc608_row_t cc608 row | |
| +typedef struct _cc608_buffer | mw_cc608_buffer_t |
| mw_cc608_buffer_t cc608 single channel character | |
| +typedef struct _cc608_memory | mw_cc608_memory_t |
| mw_cc608_memory_t all cc608 channel characters | |
| +typedef struct _cc608_active_channel | mw_cc608_active_channel_t |
| mw_cc608_active_channel_t cc608 current active channel | |
| +typedef struct _cc608_decoder | mw_cc608_decoder_t |
| mw_cc608_decoder_t cc608 resolution structure | |
| +typedef struct _cea708_time_code | mw_cea708_time_code_t |
| mw_cea708_time_code_t CC708 time code | |
| +typedef struct _cc708_cell | mw_cc708_cell_t |
| mw_cc708_cell_t cc708 character unit | |
| +typedef struct _cc708_pen_color | mw_cc708_pen_color_t |
| mw_cc708_pen_color_t cc708 pen color | |
| +typedef struct _cc708_pen_attrib | mw_cc708_pen_attrib_t |
| mw_cc708_pen_attrib_t cc708 pen property | |
| +typedef struct _cc708_window_attrib | mw_cc708_window_attrib_t |
| Property of mw_cc708_window_attrib_t Attribution of the cc708 captions window. | |
| +typedef struct _cc708_window | mw_cc708_window_t |
| mw_cc708_window_t cc708 captions window | |
| +typedef struct _cc708_tv_window_screen | mw_cc708_tv_window_screen_t |
| mw_cc708_tv_window_screen_t display of closed captions | |
| +typedef struct _cc708_service_decoder | mw_cc708_service_decoder_t |
| mw_cc708_service_decoder_t cc708 service decoder | |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Macros | |
| #define | MWFOURCC_UNK MWFOURCC('U', 'N', 'K', 'N') |
| Unknown color formate. More... | |
| #define | MWFOURCC_GREY MWFOURCC('G', 'R', 'E', 'Y') |
| 8bits Grey More... | |
| #define | MWFOURCC_Y800 MWFOURCC('Y', '8', '0', '0') |
| 8bits Grey More... | |
| #define | MWFOURCC_Y8 MWFOURCC('Y', '8', ' ', ' ') |
| 8bits Grey More... | |
| #define | MWFOURCC_Y16 MWFOURCC('Y', '1', '6', ' ') |
| 16bits Grey More... | |
| #define | MWFOURCC_RGB15 MWFOURCC('R', 'G', 'B', '5') |
| 16bits R5G5B5A1 More... | |
| #define | MWFOURCC_RGB16 MWFOURCC('R', 'G', 'B', '6') |
| 16bits R5G6B5 More... | |
| #define | MWFOURCC_RGB24 MWFOURCC('R', 'G', 'B', ' ') |
| 24bits R8G8B8 More... | |
| #define | MWFOURCC_RGBA MWFOURCC('R', 'G', 'B', 'A') |
| 32bits R8G8B8A8 More... | |
| #define | MWFOURCC_ARGB MWFOURCC('A', 'R', 'G', 'B') |
| 32bits A8R8G8B8 More... | |
| #define | MWFOURCC_BGR15 MWFOURCC('B', 'G', 'R', '5') |
| 16bits B5G5R5A1 More... | |
| #define | MWFOURCC_BGR16 MWFOURCC('B', 'G', 'R', '6') |
| 16bits B5G6R5 More... | |
| #define | MWFOURCC_BGR24 MWFOURCC('B', 'G', 'R', ' ') |
| 24bits B8G8R8 More... | |
| #define | MWFOURCC_BGRA MWFOURCC('B', 'G', 'R', 'A') |
| 32bits B8G8R8A8 More... | |
| #define | MWFOURCC_ABGR MWFOURCC('A', 'B', 'G', 'R') |
| 32bits A8B8G8R8 More... | |
| #define | MWFOURCC_NV16 MWFOURCC('N', 'V', '1', '6') |
| NV16. More... | |
| #define | MWFOURCC_NV61 MWFOURCC('N', 'V', '6', '1') |
| NV61. More... | |
| #define | MWFOURCC_I422 MWFOURCC('I', '4', '2', '2') |
| I422. More... | |
| #define | MWFOURCC_YV16 MWFOURCC('Y', 'V', '1', '6') |
| YV16. More... | |
| #define | MWFOURCC_YUY2 MWFOURCC('Y', 'U', 'Y', '2') |
| YUY2. More... | |
| #define | MWFOURCC_YUYV MWFOURCC('Y', 'U', 'Y', 'V') |
| YUYV. More... | |
| #define | MWFOURCC_UYVY MWFOURCC('U', 'Y', 'V', 'Y') |
| UYVY. More... | |
| #define | MWFOURCC_YVYU MWFOURCC('Y', 'V', 'Y', 'U') |
| YVYU. More... | |
| #define | MWFOURCC_VYUY MWFOURCC('V', 'Y', 'U', 'Y') |
| VYUY. More... | |
| #define | MWFOURCC_I420 MWFOURCC('I', '4', '2', '0') |
| I420. More... | |
| #define | MWFOURCC_IYUV MWFOURCC('I', 'Y', 'U', 'V') |
| IYUV. More... | |
| #define | MWFOURCC_NV12 MWFOURCC('N', 'V', '1', '2') |
| NV12. More... | |
| #define | MWFOURCC_YV12 MWFOURCC('Y', 'V', '1', '2') |
| YV12. More... | |
| #define | MWFOURCC_NV21 MWFOURCC('N', 'V', '2', '1') |
| NV21. More... | |
| #define | MWFOURCC_P010 MWFOURCC('P', '0', '1', '0') |
| P010. More... | |
| #define | MWFOURCC_P210 MWFOURCC('P', '2', '1', '0') |
| P210. More... | |
| #define | MWFOURCC_IYU2 MWFOURCC('I', 'Y', 'U', '2') |
| IYU2. More... | |
| #define | MWFOURCC_V308 MWFOURCC('v', '3', '0', '8') |
| V308. More... | |
| #define | MWFOURCC_AYUV MWFOURCC('A', 'Y', 'U', 'V') |
| AYUV. More... | |
| #define | MWFOURCC_UYVA MWFOURCC('U', 'Y', 'V', 'A') |
| UYVA. More... | |
| #define | MWFOURCC_V408 MWFOURCC('v', '4', '0', '8') |
| V408. More... | |
| #define | MWFOURCC_VYUA MWFOURCC('V', 'Y', 'U', 'A') |
| VYUA. More... | |
| #define | MWFOURCC_V210 MWFOURCC('v', '2', '1', '0') |
| #define | MWFOURCC_Y410 MWFOURCC('Y', '4', '1', '0') |
| Y410. More... | |
| #define | MWFOURCC_V410 MWFOURCC('v', '4', '1', '0') |
| V410. More... | |
| #define | MWFOURCC_RGB10 MWFOURCC('R', 'G', '1', '0') |
| RGB10. More... | |
| #define | MWFOURCC_BGR10 MWFOURCC('B', 'G', '1', '0') |
| BGR10. More... | |
+Functions | |
| BOOLEAN | FOURCC_IsRGB (DWORD dwFOURCC) |
| Determines whether the color format is RGB. More... | |
| BOOLEAN | FOURCC_IsPacked (DWORD dwFOURCC) |
| Determines whether the color format is packed. More... | |
| int | FOURCC_GetBpp (DWORD dwFOURCC) |
| Gets the bits that pixel of color format takes. More... | |
| DWORD | FOURCC_CalcMinStride (DWORD dwFOURCC, int cx, DWORD dwAlign) |
| Counts the number of bytes that a line data of image takes, depending on the width of image and the color format. More... | |
| DWORD | FOURCC_CalcImageSize (DWORD dwFOURCC, int cx, int cy, DWORD cbStride) |
| Counts the number of bytes that a frame takes, depending on the color format, resolution and the line width. More... | |
| BOOLEAN | FOURCC_IsMask (const DWORD *pdwMasks, DWORD dwRedMask, DWORD dwGreenMask, DWORD dwBlueMask) |
| Determins whether the mask is the same as specified color format. More... | |
| DWORD | FOURCC_GetFromBitmapHeader (DWORD biCompression, WORD biBitCount, DWORD *pdwMasks) |
| Gets color format from the bitmap header. More... | |
| #define MWFOURCC_ABGR MWFOURCC('A', 'B', 'G', 'R') | +
32bits A8B8G8R8
+32bits A8B8G8R8
+4 bytes per pixel, A takes 8bits, B takes 8bits, G takes 8bits, R takes 8bits
+Data structure:
+ [A8, B8, G8, R8],[A8, B8, G8, R8] ...
+ ...
+
| #define MWFOURCC_ARGB MWFOURCC('A', 'R', 'G', 'B') | +
32bits A8R8G8B8
+32bits A8R8G8B8
+4 bytes per pixel, R takes 8bits, G takes 8bits, B takes 8bits, A takes 8bits
+Data structure:
+ [A8, R8, G8, B8],[A8, R8, G8, B8] ...
+ ...
+
| #define MWFOURCC_AYUV MWFOURCC('A', 'Y', 'U', 'V') | +
AYUV.
+Packed YUV 8bits 4:4:4 (32bits)
+A single pixel takes 4 bytes.
+Data structure:
+ [A00 Y00 U00 V00][A01 Y01 U01 V01][A02 Y02 U02 V02][A03 Y03 U03 V03] ...
+ [A10 Y10 U10 V10][A11 Y11 U11 V11][A12 Y12 U12 V12][A13 Y13 U13 V13] ...
+ [A20 Y20 U20 V20][A21 Y21 U21 V21][A22 Y22 U22 V22][A23 Y23 U23 V23] ...
+ [A30 Y30 U30 V30][A31 Y31 U31 V31][A32 Y32 U32 V32][A33 Y33 U33 V33] ...
+ ...
+
| #define MWFOURCC_BGR10 MWFOURCC('B', 'G', '1', '0') | +
BGR10.
+Packed BGR 10bits (32bits B10G10R10A2)
+A single pixel takes 4 bytes.
+Data structure:
+ [B00 G00 R00 A00 (B10G10R10A2)][B01 G01 R01 A01 (B10G10R10A2)][B02 G02 R02 A02 (B10G10R10A2)][B03 G03 R03 A03 (B10G10R10A2)] ...
+ ...
+
| #define MWFOURCC_BGR15 MWFOURCC('B', 'G', 'R', '5') | +
16bits B5G5R5A1
+16bits B5G5R5A1
+2 bytes per pixel, B takes 5bits, G takes 5bits, R takes 5bits, A takes 1bits
+Data structure:
+ [B5, G5, R5, A1],[B5, G5, R5, A1] ...
+ ...
+
| #define MWFOURCC_BGR16 MWFOURCC('B', 'G', 'R', '6') | +
16bits B5G6R5
+16bits B5G6R5
+2 bytes per pixel, B takes 5bits, G takes 6bits, R takes 5bits
+Data structure:
+ [B5, G6, R5],[B5, G6, R5] ...
+ ...
+
| #define MWFOURCC_BGR24 MWFOURCC('B', 'G', 'R', ' ') | +
24bits B8G8R8
+24bits B8G8R8
+3 bytes per pixel, B takes 8bits, G takes 8bits, R takes 8bits
+Data structure:
+ [B8, G8, R8],[B8, G8, R8] ...
+ ...
+
| #define MWFOURCC_BGRA MWFOURCC('B', 'G', 'R', 'A') | +
32bits B8G8R8A8
+32bits B8G8R8A8
+4 bytes per pixel, B takes 8bits, G takes 8bits, R takes 8bits, A takes 8bits
+Data structure:
+ [B8, G8, R8, A8],[B8, G8, R8, A8] ...
+ ...
+
| #define MWFOURCC_GREY MWFOURCC('G', 'R', 'E', 'Y') | +
8bits Grey
+8bits Grey
+1 byte per pixel
+Data structure:
+ [Y0], [Y1], [Y2], ...
+ ...
+
| #define MWFOURCC_I420 MWFOURCC('I', '4', '2', '0') | +
I420.
+YUV 8bits 4:2:0 planar (12bits)
+A single pixel of the image takes 12bits.
+Data structure:
+ [Y00][Y01][Y02][Y03] ...
+ [Y10][Y11][Y12][Y13] ...
+ [Y20][Y21][Y22][Y23] ...
+ [Y30][Y31][Y32][Y33] ...
+ ...
+ [U00][U01] ...
+ [U10][U11] ...
+ ...
+ [V00][V01] ...
+ [V10][V11] ...
+ ...
+Converts to YUV data as: [Y00 U00 V00][Y01 U00 V00][Y02 U01 V01][Y03 U01 V01] ...
+ [Y10 U00 V00][Y11 U00 V00][Y12 U01 V01][Y13 U01 V01] ...
+ [Y20 U10 V10][Y21 U10 V10][Y22 U11 V11][Y23 U11 V11] ...
+ [Y30 U10 V10][Y31 U10 V10][Y32 U11 V11][Y33 U11 V11] ...
+ ...
+
| #define MWFOURCC_I422 MWFOURCC('I', '4', '2', '2') | +
I422.
+YUV 8bits 4:2:2 plannar (16bits)
+2 byte per pixel. All Y/U/V data is in one plane respectively.
+Data structure:
+ [Y00][Y01][Y02][Y03] ...
+ [Y10][Y11][Y12][Y13] ...
+ [Y20][Y21][Y22][Y23] ...
+ [Y30][Y31][Y32][Y33] ...
+ ...
+ [U00][U01] ...
+ [U10][U11] ...
+ [U20][U21] ...
+ [U30][U31] ...
+ ...
+ [V00][V01] ...
+ [V10][V11] ...
+ [V20][V21] ...
+ [V30][V31] ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V00][Y01 U00 V00][Y02 U01 V01][Y03 U01 V01] ...
+ ...
+
| #define MWFOURCC_IYU2 MWFOURCC('I', 'Y', 'U', '2') | +
IYU2.
+Packed YUV 8bits 4:4:4 (24bits)
+A single pixel takes 3 bytes.
+Data structure:
+ [U00 Y00 V00][U01 Y01 V01][U02 Y02 V02][U03 Y03 V03] ...
+ [U10 Y10 V10][U11 Y11 V11][U12 Y12 V12][U13 Y13 V13] ...
+ [U20 Y20 V20][U21 Y21 V21][U22 Y22 V22][U23 Y23 V23] ...
+ [U30 Y30 V30][U31 Y31 V31][U32 Y32 V32][U33 Y33 V33] ...
+ ...
+
| #define MWFOURCC_IYUV MWFOURCC('I', 'Y', 'U', 'V') | +
IYUV.
+YUV 8bits 4:2:0 planar (12bits); the same as MWFOURCC_I420
+A single pixel of the image takes 12bits.
+Data structure:
+ [Y00][Y01][Y02][Y03] ...
+ [Y10][Y11][Y12][Y13] ...
+ [Y20][Y21][Y22][Y23] ...
+ [Y30][Y31][Y32][Y33] ...
+ ...
+ [U00][U01] ...
+ [U10][U11] ...
+ ...
+ [V00][V01] ...
+ [V10][V11] ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V00][Y01 U00 V00][Y02 U01 V01][Y03 U01 V01] ...
+ [Y10 U00 V00][Y11 U00 V00][Y12 U01 V01][Y13 U01 V01] ...
+ [Y20 U10 V10][Y21 U10 V10][Y22 U11 V11][Y23 U11 V11] ...
+ [Y30 U10 V10][Y31 U10 V10][Y32 U11 V11][Y33 U11 V11] ...
+ ...
+
| #define MWFOURCC_NV12 MWFOURCC('N', 'V', '1', '2') | +
NV12.
+YUV 8bits 4:2:0 semi-planar (12bits)
+A single pixel of the image takes 12bits.
+All Y data is in one plane, all UV data is in one plane.
+Data structure:
+ [Y00][Y01][Y02][Y03] ...
+ [Y10][Y11][Y12][Y13] ...
+ [Y20][Y21][Y22][Y23] ...
+ [Y30][Y31][Y32][Y33] ...
+ ...
+ [U00 V00][U01 V01] ...
+ [U10 V10][U11 V11] ...
+ ...
+Converts to YUV data as: [Y00 U00 V00][Y01 U00 V00][Y02 U01 V01][Y03 U01 V01] ...
+ [Y10 U00 V00][Y11 U00 V00][Y12 U01 V01][Y13 U01 V01] ...
+ [Y20 U10 V10][Y21 U10 V10][Y22 U11 V11][Y23 U11 V11] ...
+ [Y30 U10 V10][Y31 U10 V10][Y32 U11 V11][Y33 U11 V11] ...
+ ...
+
| #define MWFOURCC_NV16 MWFOURCC('N', 'V', '1', '6') | +
NV16.
+YUV 8bits 4:2:2 semi-planar(16bits)
+2 byte per pixel, all Y data in one plane, all UV data in one plane
+Data structure:
+ [Y00][Y01][Y02][Y03] ...
+ [Y10][Y11][Y12][Y13] ...
+ [Y20][Y21][Y22][Y23] ...
+ [Y30][Y31][Y32][Y33] ...
+ ...
+ [U00 V00][U01 V01] ...
+ [U10 V10][U11 V11] ...
+ [U20 V20][U21 V21] ...
+ [U30 V30][U31 V31] ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V00][Y01 U00 V00][Y02 U01 V01][Y03 U01 V01] ...
+ ...
+
| #define MWFOURCC_NV21 MWFOURCC('N', 'V', '2', '1') | +
NV21.
+YUV 8bits 4:2:0 semi-planar (12bits)
+A single pixel of the image takes 12bits.
+All Y data is in one plane, all UV data is in one plane.
+Data structure:
+ [Y00][Y01][Y02][Y03] ...
+ [Y10][Y11][Y12][Y13] ...
+ [Y20][Y21][Y22][Y23] ...
+ [Y30][Y31][Y32][Y33] ...
+ ...
+ [V00 U00][V01 U01] ...
+ [V10 U10][V11 U11] ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V00][Y01 U00 V00][Y02 U01 V01][Y03 U01 V01] ...
+ [Y10 U00 V00][Y11 U00 V00][Y12 U01 V01][Y13 U01 V01] ...
+ [Y20 U10 V10][Y21 U10 V10][Y22 U11 V11][Y23 U11 V11] ...
+ [Y30 U10 V10][Y31 U10 V10][Y32 U11 V11][Y33 U11 V11] ...
+ ...
+
| #define MWFOURCC_NV61 MWFOURCC('N', 'V', '6', '1') | +
NV61.
+YUV 8bits 4:2:2 semi-planar (16bits)
+2 byte per pixel, all Y data in one plane, all UV data in one plane
+Data structure:
+ [Y00][Y01][Y02][Y03] ...
+ [Y10][Y11][Y12][Y13] ...
+ [Y20][Y21][Y22][Y23] ...
+ [Y30][Y31][Y32][Y33] ...
+ ...
+ [V00 U00][V01 U01] ...
+ [V10 U10][V11 U11] ...
+ [V20 U20][V21 U21] ...
+ [V30 U30][V31 U31] ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V00][Y01 U00 V00][Y02 U01 V01][Y03 U01 V01] ...
+ ...
+
| #define MWFOURCC_P010 MWFOURCC('P', '0', '1', '0') | +
P010.
+YUV 10bits 4:2:0 semi-planar(24bits)
+A single pixel takes 3 bytes.
+All Y data is in one plane, all UV data is in one plane.
+Data structure:
+ [Y00(Y10bits)][Y01(Y10bits)][Y02(Y10bits)][Y03(Y10bits)] ...
+ [Y10(Y10bits)][Y11(Y10bits)][Y12(Y10bits)][Y13(Y10bits)] ...
+ [Y20(Y10bits)][Y21(Y10bits)][Y22(Y10bits)][Y23(Y10bits)] ...
+ [Y30(Y10bits)][Y31(Y10bits)][Y32(Y10bits)][Y33(Y10bits)] ...
+ ...
+ [U00(U10bits) V00(V10bits)][U01(U10bits) V01(V10bits)] ...
+ [U10(U10bits) V10(V10bits)][U11(U10bits) V11(V10bits)] ...
+ ...
+Converts to YUV data as:
+ [Y00(Y10bits) U00(U10bits) V00(V10bits)][Y01(Y10bits) U00(U10bits) V00(V10bits)][Y02(Y10bits) U01(U10bits) V01(V10bits)][Y03(Y10bits) U01(U10bits) V01(V10bits)] ...
+ [Y10(Y10bits) U00(U10bits) V00(V10bits)][Y11(Y10bits) U00(U10bits) V00(V10bits)][Y12(Y10bits) U01(U10bits) V01(V10bits)][Y13(Y10bits) U01(U10bits) V01(V10bits)] ...
+ [Y20(Y10bits) U10(U10bits) V10(V10bits)][Y21(Y10bits) U10(U10bits) V10(V10bits)][Y22(Y10bits) U11(U10bits) V11(V10bits)][Y23(Y10bits) U11(U10bits) V11(V10bits)] ...
+ [Y30(Y10bits) U10(U10bits) V10(V10bits)][Y31(Y10bits) U10(U10bits) V10(V10bits)][Y32(Y10bits) U11(U10bits) V11(V10bits)][Y33(Y10bits) U11(U10bits) V11(V10bits)] ...
+ ...
+
| #define MWFOURCC_P210 MWFOURCC('P', '2', '1', '0') | +
P210.
+YUV 10bits 4:2:2 semi-planar (32bits)
+A single pixel takes 4 bytes.
+All Y data is in one plane, all UV data is in one plane.
+Data structure:
+ [Y00(Y10bits)][Y01(Y10bits)][Y02(Y10bits)][Y03(Y10bits)] ...
+ [Y10(Y10bits)][Y11(Y10bits)][Y12(Y10bits)][Y13(Y10bits)] ...
+ [Y20(Y10bits)][Y21(Y10bits)][Y22(Y10bits)][Y23(Y10bits)] ...
+ [Y30(Y10bits)][Y31(Y10bits)][Y32(Y10bits)][Y33(Y10bits)] ...
+ ...
+ [U00(U10bits) V00(V10bits)][U01(U10bits) V01(V10bits)] ...
+ [U10(U10bits) V10(V10bits)][U11(U10bits) V11(V10bits)] ...
+ [U20(U10bits) V20(V10bits)][U21(U10bits) V21(V10bits)] ...
+ [U30(U10bits) V30(V10bits)][U31(U10bits) V31(V10bits)] ...
+ ...
+Converts to YUV data as:
+ [Y00(Y10bits) U00(U10bits) V00(V10bits)][Y01(Y10bits) U00(U10bits) V00(V10bits)][Y02(Y10bits) U01(U10bits) V01(V10bits)][Y03(Y10bits) U01(U10bits) V01(V10bits)] ...
+ [Y10(Y10bits) U10(U10bits) V10(V10bits)][Y11(Y10bits) U10(U10bits) V10(V10bits)][Y12(Y10bits) U11(U10bits) V11(V10bits)][Y13(Y10bits) U11(U10bits) V11(V10bits)] ...
+ [Y20(Y10bits) U20(U10bits) V20(V10bits)][Y21(Y10bits) U20(U10bits) V20(V10bits)][Y22(Y10bits) U21(U10bits) V21(V10bits)][Y23(Y10bits) U21(U10bits) V21(V10bits)] ...
+ [Y30(Y10bits) U30(U10bits) V30(V10bits)][Y31(Y10bits) U30(U10bits) V30(V10bits)][Y32(Y10bits) U31(U10bits) V31(V10bits)][Y33(Y10bits) U31(U10bits) V31(V10bits)] ...
+ ...
+
| #define MWFOURCC_RGB10 MWFOURCC('R', 'G', '1', '0') | +
RGB10.
+Packed RGB 10bits (32bits R10G10B10A2)
+A single pixel takes 4 bytes.
+Data structure:
+ [R00 G00 B00 A00 (R10G10B10A2)][R01 G01 B01 A01 (R10G10B10A2)][R02 G02 B02 A02 (R10G10B10A2)][R03 G03 B03 A03 (R10G10B10A2)] ...
+ ...
+
| #define MWFOURCC_RGB15 MWFOURCC('R', 'G', 'B', '5') | +
16bits R5G5B5A1
+16bits R5G5B5A1
+2 bytes per pixel, R takes 5bits, G takes 5bits, B takes 5bits, A takes 1bit
+Data structure:
+ [R5, G5, B5, A1], ...
+ ...
+
| #define MWFOURCC_RGB16 MWFOURCC('R', 'G', 'B', '6') | +
16bits R5G6B5
+16bits R5G6B5
+2 bytes per pixel, R takes 5bits, G takes 5bits, B takes 5bits, A takes 1bit
+Data structure:
+ [R5, G6, B5],[R5, G6, B5] ...
+ ...
+
| #define MWFOURCC_RGB24 MWFOURCC('R', 'G', 'B', ' ') | +
24bits R8G8B8
+24bits R8G8B8
+3 bytes per pixel, R takes 8bits, G takes 8bits, B takes 8bits
+Data structure:
+ [R8, G8, B8],[R8, G8, B8] ...
+ ...
+
| #define MWFOURCC_RGBA MWFOURCC('R', 'G', 'B', 'A') | +
32bits R8G8B8A8
+32bits R8G8B8A8
+4 bytes per pixel, R takes 8bits, G takes 8bits, B takes 8bits, A takes 8bits
+Data structure:
+ [R8, G8, B8, A8],[R8, G8, B8, A8] ...
+ ...
+
| #define MWFOURCC_UNK MWFOURCC('U', 'N', 'K', 'N') | +
Unknown color formate.
+Unknown color formate
+
| #define MWFOURCC_UYVA MWFOURCC('U', 'Y', 'V', 'A') | +
UYVA.
+Packed YUV 8bits 4:4:4 (32bits)
+A single pixel takes 4 bytes.
+Data structure:
+ [U00 Y00 V00 A00][U01 Y01 V01 A01][U02 Y02 V02 A02][U03 Y03 V03 A03] ...
+ [U10 Y10 V10 A10][U11 Y11 V11 A11][U12 Y12 V12 A12][U13 Y13 V13 A13] ...
+ [U20 Y20 V20 A20][U21 Y21 V21 A21][U22 Y22 V22 A22][U23 Y23 V23 A23] ...
+ [U30 Y30 V30 A30][U31 Y31 V31 A31][U32 Y32 V32 A32][U33 Y33 V33 A33] ...
+ ...
+
| #define MWFOURCC_UYVY MWFOURCC('U', 'Y', 'V', 'Y') | +
UYVY.
+Packed YUV 8bits 4:2:2 (16bits)
+2 byte per pixel. 2 pixels as a base unit.
+Data structure:
+ {[U00 Y00][V01 Y01]} {[U02 Y02][V03 Y03]} ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V01][Y01 U00 V01][Y02 U02 V03][Y03 U02 V03] ...
+ ...
+
| #define MWFOURCC_V210 MWFOURCC('v', '2', '1', '0') | +
V210
+Packed YUV 10bit 4:2:2 (24bits)
+2 byte per pixel
+Data structure is:
+ [2'b00 V00 Y00 U00][2'b00 Y02 U01 Y01][2'b00 U02 Y03 V01][2'b00 Y05 V02 Y04] ...
+ [2'b00 V10 Y10 U10][2'b00 Y12 U11 Y11][2'b00 U12 Y13 V11][2'b00 Y15 V12 Y14] ...
+ [2'b00 V20 Y20 U20][2'b00 Y22 U21 Y21][2'b00 U22 Y23 V21][2'b00 Y25 V22 Y24] ...
+ [2'b00 V30 Y30 U30][2'b00 Y32 U31 Y31][2'b00 U32 Y33 V31][2'b00 Y35 V32 Y34] ...
+ ...
+
| #define MWFOURCC_V308 MWFOURCC('v', '3', '0', '8') | +
V308.
+Packed YUV 8bits 4:4:4 (24bits)
+A single pixel takes 3 bytes.
+Data structure:
+ [V00 Y00 U00][V01 Y01 U01][V02 Y02 U02][V03 Y03 U03] ...
+ [V10 Y10 U10][V11 Y11 U11][V12 Y12 U12][V13 Y13 U13] ...
+ [V20 Y20 U20][V21 Y21 U21][V22 Y22 U22][V23 Y23 U23] ...
+ [V30 Y30 U30][V31 Y31 U31][V32 Y32 U32][V33 Y33 U33] ...
+ ...
+
| #define MWFOURCC_V408 MWFOURCC('v', '4', '0', '8') | +
V408.
+Packed YUV 8bits 4:4:4 (32bits); the same as MWFOURCC_UYVA
+A single pixel takes 4 bytes.
+Data structure:
+ [U00 Y00 V00 A00][U01 Y01 V01 A01][U02 Y02 V02 A02][U03 Y03 V03 A03] ...
+ [U10 Y10 V10 A10][U11 Y11 V11 A11][U12 Y12 V12 A12][U13 Y13 V13 A13] ...
+ [U20 Y20 V20 A20][U21 Y21 V21 A21][U22 Y22 V22 A22][U23 Y23 V23 A23] ...
+ [U30 Y30 V30 A30][U31 Y31 V31 A31][U32 Y32 V32 A32][U33 Y33 V33 A33] ...
+ ...
+
| #define MWFOURCC_V410 MWFOURCC('v', '4', '1', '0') | +
V410.
+Packed YUV 10bits 4:4:4 (32bits Y10U10V10A2)
+A single pixel takes 4 bytes.
+Data structure:
+ [A00 U00 Y00 V00 (A2U10Y10V10)][A01 U01 Y01 V01 (A2U10Y10V10)][A02 U02 Y02 V02 (A2U10Y10V10)][A03 U03 Y03 V03 (A2U10Y10V10)] ...
+ [A10 U10 Y10 V10 (A2U10Y10V10)][A11 U11 Y11 V11 (A2U10Y10V10)][A12 U12 Y12 V12 (A2U10Y10V10)][A13 U13 Y13 V13 (A2U10Y10V10)] ...
+ [A20 U20 Y20 V20 (A2U10Y10V10)][A21 U21 Y21 V21 (A2U10Y10V10)][A22 U22 Y22 V22 (A2U10Y10V10)][A23 U23 Y23 V23 (A2U10Y10V10)] ...
+ [A30 U30 Y30 V30 (A2U10Y10V10)][A31 U31 Y31 V31 (A2U10Y10V10)][A32 U32 Y32 V32 (A2U10Y10V10)][A33 U33 Y33 V33 (A2U10Y10V10)] ...
+ ...
+
| #define MWFOURCC_VYUA MWFOURCC('V', 'Y', 'U', 'A') | +
VYUA.
+Packed YUV 8bits 4:4:4 (32bits)
+A single pixel takes 4 bytes.
+Data structure:
+ [V00 Y00 U00 A00][V01 Y01 U01 A01][V02 Y02 U02 A02][V03 Y03 U03 A03] ...
+ [V10 Y10 U10 A10][V11 Y11 U11 A11][V12 Y12 U12 A12][V13 Y13 U13 A13] ...
+ [V20 Y20 U20 A20][V21 Y21 U21 A21][V22 Y22 U22 A22][V23 Y23 U23 A23] ...
+ [V30 Y30 U30 A30][V31 Y31 U31 A31][V32 Y32 U32 A32][V33 Y33 U33 A33] ...
+ ...
+
| #define MWFOURCC_VYUY MWFOURCC('V', 'Y', 'U', 'Y') | +
VYUY.
+Packed YUV 8bits 4:2:2 (16bits)
+2 byte per pixel. 2 pixels as a base unit.
+Data structure:
+ {[V00 Y00][U01 Y01]} {[V02 Y02][U03 Y03]} ...
+ ...
+Converts to YUV data as:
+ [Y00 U01 V00][Y01 U01 V00][Y02 U03 V02][Y03 U03 V02] ...
+ ...
+
| #define MWFOURCC_Y16 MWFOURCC('Y', '1', '6', ' ') | +
16bits Grey
+16bits Grey
+2 bytes per pixel
+Data structure:
+ [Y0], [Y1], [Y2], ...
+ ...
+
| #define MWFOURCC_Y410 MWFOURCC('Y', '4', '1', '0') | +
Y410.
+Packed YUV 10bits 4:4:4 (32bits Y10U10V10A2)
+A single pixel takes 4 bytes.
+Data structure:
+ [U00 Y00 V00 A00 (U10Y10V10A2)][U01 Y01 V01 A01 (U10Y10V10A2)][U02 Y02 V02 A02 (U10Y10V10A2)][U03 Y03 V03 A03 (U10Y10V10A2)] ...
+ [U10 Y10 V10 A10 (U10Y10V10A2)][U11 Y11 V11 A11 (U10Y10V10A2)][U12 Y12 V12 A12 (U10Y10V10A2)][U13 Y13 V13 A13 (U10Y10V10A2)] ...
+ [U20 Y20 V20 A20 (U10Y10V10A2)][U21 Y21 V21 A21 (U10Y10V10A2)][U22 Y22 V22 A22 (U10Y10V10A2)][U23 Y23 V23 A23 (U10Y10V10A2)] ...
+ [U30 Y30 V30 A30 (U10Y10V10A2)][U31 Y31 V31 A31 (U10Y10V10A2)][U32 Y32 V32 A32 (U10Y10V10A2)][U33 Y33 V33 A33 (U10Y10V10A2)] ...
+ ...
+
| #define MWFOURCC_Y8 MWFOURCC('Y', '8', ' ', ' ') | +
8bits Grey
+8bits Grey; the same as MWFOURCC_GREY
+1 byte per pixel
+Data structure:
+ [Y0], [Y1], [Y2], ...
+ ...
+
| #define MWFOURCC_Y800 MWFOURCC('Y', '8', '0', '0') | +
8bits Grey
+8bits Grey; the same as MWFOURCC_GREY
+1 byte per pixel
+Data structure:
+ [Y0], [Y1], [Y2], ...
+ ...
+
| #define MWFOURCC_YUY2 MWFOURCC('Y', 'U', 'Y', '2') | +
YUY2.
+Packed YUV 8bits 4:2:2 (16bits)
+2 byte per pixel. 2 pixels as a base unit.
+Data structure:
+ {[Y00 U00][Y01 V01]} {[Y02 U02][Y03 V03]} ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V01][Y01 U00 V01][Y02 U02 V03][Y03 U02 V03] ...
+ ...
+
| #define MWFOURCC_YUYV MWFOURCC('Y', 'U', 'Y', 'V') | +
YUYV.
+Packed YUV 8bits 4:2:2 (16bits); the same as MWFOURCC_YUY2
+2 byte per pixel. 2 pixels as a base unit.
+Data structure:
+ {[Y00 U00][Y01 V01]} {[Y02 U02][Y03 V03]} ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V01][Y01 U00 V01][Y02 U02 V03][Y03 U02 V03] ...
+ ...
+
| #define MWFOURCC_YV12 MWFOURCC('Y', 'V', '1', '2') | +
YV12.
+YUV 8bits 4:2:0 planar (12bits)
+A single pixel of the image takes 12bits.
+Data structure:
+ [Y00][Y01][Y02][Y03] ...
+ [Y10][Y11][Y12][Y13] ...
+ [Y20][Y21][Y22][Y23] ...
+ [Y30][Y31][Y32][Y33] ...
+ ...
+ [V00][V01] ...
+ [V10][V11] ...
+ ...
+ [U00][U01] ...
+ [U10][U11] ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V00][Y01 U00 V00][Y02 U01 V01][Y03 U01 V01] ...
+ [Y10 U00 V00][Y11 U00 V00][Y12 U01 V01][Y13 U01 V01] ...
+ [Y20 U10 V10][Y21 U10 V10][Y22 U11 V11][Y23 U11 V11] ...
+ [Y30 U10 V10][Y31 U10 V10][Y32 U11 V11][Y33 U11 V11] ...
+ ...
+
| #define MWFOURCC_YV16 MWFOURCC('Y', 'V', '1', '6') | +
YV16.
+YUV 8bits 4:2:2 plannar (16bits)
+2 byte per pixel. All Y/U/V data is in one plane respectively.
+Data structure:
+ [Y00][Y01][Y02][Y03] ...
+ [Y10][Y11][Y12][Y13] ...
+ [Y20][Y21][Y22][Y23] ...
+ [Y30][Y31][Y32][Y33] ...
+ ...
+ [V00][V01] ...
+ [V10][V11] ...
+ [V20][V21] ...
+ [V30][V31] ...
+ ...
+ [U00][U01] ...
+ [U10][U11] ...
+ [U20][U21] ...
+ [U30][U31] ...
+ ...
+Converts to YUV data as:
+ [Y00 U00 V00][Y01 U00 V00][Y02 U01 V01][Y03 U01 V01] ...
+ ...
+
| #define MWFOURCC_YVYU MWFOURCC('Y', 'V', 'Y', 'U') | +
YVYU.
+Packed YUV 8bits 4:2:2 (16bits)
+2 byte per pixel. 2 pixels as a base unit.
+Data structure:
+ {[Y00 V00][Y01 U01]} {[Y02 V02][Y03 U03]} ...
+ ...
+Converts to YUV data as:
+ [Y00 U01 V00][Y01 U01 V00][Y02 U03 V02][Y03 U03 V02] ...
+ ...
+
+
|
+ +inline | +
Counts the number of bytes that a frame takes, depending on the color format, resolution and the line width.
+| [in] | dwFOURCC | Color format |
| [in] | cx | Image width |
| [in] | cy | Image height |
| [in] | cbStride | The bytes of line width |
+
|
+ +inline | +
Counts the number of bytes that a line data of image takes, depending on the width of image and the color format.
+| [in] | dwFOURCC | Color format |
| [in] | cx | Width of a line |
| [in] | dwAlign | Byte alignment |
+
|
+ +inline | +
Gets the bits that pixel of color format takes.
+| [in] | dwFOURCC | color format |
+
|
+ +inline | +
Gets color format from the bitmap header.
+| [in] | biCompression | Bitmap compression format |
| [in] | biBitCount | Color bit counts |
| [in] | pdwMasks | Color mask |
+
|
+ +inline | +
Determins whether the mask is the same as specified color format.
+| [in] | pdwMasks | Color format mask |
| [in] | dwRedMask | Red mask |
| [in] | dwGreenMask | Green mask |
| [in] | dwBlueMask | Blue mask |
+
|
+ +inline | +
Determines whether the color format is packed.
+| [in] | dwFOURCC | color format |
+
|
+ +inline | +
Determines whether the color format is RGB.
+| [in] | dwFOURCC | color format |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Typedefs | |
| typedef void(* | VIDEO_CAPTURE_CALLBACK) (BYTE *pBuffer, long iBufferLen, void *pParam) |
| Callback function of video capture. More... | |
| typedef void(* | AUDIO_CAPTURE_CALLBACK) (const BYTE *pbFrame, int cbFrame, uint64_t u64TimeStamp, void *pParam) |
| Callback function of audio capture. More... | |
| typedef void(* AUDIO_CAPTURE_CALLBACK) (const BYTE *pbFrame, int cbFrame, uint64_t u64TimeStamp, void *pParam) | +
Callback function of audio capture.
+Gets audio data
+Related functions are:
+ MWCreateAudioCapture
+
| typedef void(* VIDEO_CAPTURE_CALLBACK) (BYTE *pBuffer, long iBufferLen, void *pParam) | +
Callback function of video capture.
+Gets video data
+Related functions is:
+ MWCreateVideoCapture
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Functions | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVersion (BYTE *pbyMaj, BYTE *pbyMin, WORD *pwBuild) |
| Gets the version number of SDK. More... | |
| BOOL LIBMWCAPTURE_API | MWCaptureInitInstance () |
| Initializes the MWCapture interfaces. More... | |
| void LIBMWCAPTURE_API | MWCaptureExitInstance () |
| Quits instance. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWRefreshDevice () |
| Refreshes device list. More... | |
| int LIBMWCAPTURE_API | MWGetChannelCount () |
| Gets the total number of channels. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetChannelInfoByIndex (int nIndex, MWCAP_CHANNEL_INFO *pChannelInfo) |
| Gets the channel info by its index. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetFamilyInfoByIndex (int nIndex, LPVOID pFamilyInfo, DWORD dwSize) |
| Gets the product family based on the index. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetDevicePath (int nIndex, char *pDevicePath) |
| Gets the instance path of capture device based on the index. More... | |
| HCHANNEL LIBMWCAPTURE_API | MWOpenChannelByPath (const char *pszDevicePath) |
| Opens capture channel by device instance path. More... | |
| void LIBMWCAPTURE_API | MWCloseChannel (HCHANNEL hChannel) |
| Closes capture channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetChannelInfo (HCHANNEL hChannel, MWCAP_CHANNEL_INFO *pChannelInfo) |
| Gets channel information. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetFamilyInfo (HCHANNEL hChannel, LPVOID pFamilyInfo, DWORD dwSize) |
| Gets attributions of product family which the capture device belongs to. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaps (HCHANNEL hChannel, MWCAP_VIDEO_CAPS *pVideoCaps) |
| Gets video capture capability of the specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetAudioCaps (HCHANNEL hChannel, MWCAP_AUDIO_CAPS *pAudioCaps) |
| Gets audio capture capability of the channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputSourceArray (HCHANNEL hChannel, DWORD *pdwInputSource, DWORD *pdwInputCount) |
| Gets the input video signal types supported by the channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetAudioInputSourceArray (HCHANNEL hChannel, DWORD *pdwInputSource, DWORD *pdwInputCount) |
| Gets the input audio signal types supported by the channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetInputSourceScan (HCHANNEL hChannel, BOOLEAN *pbScan) |
| Gets the scan state of input source. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetInputSourceScan (HCHANNEL hChannel, BOOLEAN bScan) |
| Sets the scan state of input source. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetAVInputSourceLink (HCHANNEL hChannel, BOOLEAN *pbLink) |
| Gets whether the input audio input source is related to video input source. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetAVInputSourceLink (HCHANNEL hChannel, BOOLEAN bLink) |
| Sets whether the input video source is linked to its audio automatically. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputSource (HCHANNEL hChannel, DWORD *pdwSource) |
| Gets current video input source of the channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoInputSource (HCHANNEL hChannel, DWORD dwSource) |
| Sets the video input source of the specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetAudioInputSource (HCHANNEL hChannel, DWORD *pdwSource) |
| Gets current input audio source of the specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetAudioInputSource (HCHANNEL hChannel, DWORD dwSource) |
| Sets current audio input source of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetEDID (HCHANNEL hChannel, BYTE *pbyData, ULONG *pulSize) |
| Gets the EDID of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetEDID (HCHANNEL hChannel, BYTE *pbyData, ULONG ulSize) |
| Sets EDID of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetInputSpecificStatus (HCHANNEL hChannel, MWCAP_INPUT_SPECIFIC_STATUS *pInputStatus) |
| Gets the specific status of input signal. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoSignalStatus (HCHANNEL hChannel, MWCAP_VIDEO_SIGNAL_STATUS *pSignalStatus) |
| Gets video signal status of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetAudioSignalStatus (HCHANNEL hChannel, MWCAP_AUDIO_SIGNAL_STATUS *pSignalStatus) |
| Gets the audio signal status of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetHDMIInfoFrameValidFlag (HCHANNEL hChannel, DWORD *pdwValidFlag) |
| Gets valid flag of HDMI InfoFrame. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetHDMIInfoFramePacket (HCHANNEL hChannel, MWCAP_HDMI_INFOFRAME_ID id, HDMI_INFOFRAME_PACKET *pPacket) |
| Gets HDMI InfoFrame data. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoInputAspectRatio (HCHANNEL hChannel, int nAspectX, int nAspectY) |
| Sets aspect ratio of input video source. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputAspectRatio (HCHANNEL hChannel, int *pnAspectX, int *pnAspectY) |
| Gets aspect ratio of input video source. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoInputColorFormat (HCHANNEL hChannel, MWCAP_VIDEO_COLOR_FORMAT colorFormat) |
| Sets color format of input video. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputColorFormat (HCHANNEL hChannel, MWCAP_VIDEO_COLOR_FORMAT *pColorFormat) |
| Gets color format of input video. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoInputQuantizationRange (HCHANNEL hChannel, MWCAP_VIDEO_QUANTIZATION_RANGE quantRange) |
| Sets quantization range of input video. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoInputQuantizationRange (HCHANNEL hChannel, MWCAP_VIDEO_QUANTIZATION_RANGE *pQuantRange) |
| Gets quantization range of input video. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetLEDMode (HCHANNEL hChannel, DWORD dwMode) |
| Sets LED mode. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetFirmwareStorageInfo (HCHANNEL hChannel, MWCAP_FIRMWARE_STORAGE *pFirmwareStorageInfo) |
| Gets firmware storage information. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWEraseFirmwareData (HCHANNEL hChannel, DWORD cbOffset, DWORD cbErase) |
| Erases firmware data. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWReadFirmwareData (HCHANNEL hChannel, DWORD cbOffset, BYTE *pbyData, DWORD cbToRead, DWORD *pcbRead) |
| Read firmware data from specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWWriteFirmwareData (HCHANNEL hChannel, DWORD cbOffset, BYTE *pbyData, DWORD cbData) |
| Writes firmware data to specified channel. More... | |
| HANDLE LIBMWCAPTURE_API | MWCreateVideoCapture (HCHANNEL hChannel, int nWidth, int nHeight, int nFourcc, int nFrameDuration, VIDEO_CAPTURE_CALLBACK callback, void *pParam) |
| Uses the v4l function to create video capture. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWDestoryVideoCapture (HANDLE hVideo) |
| Stops video capturing. 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 v4l function. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWDestoryAudioCapture (HANDLE hAudio) |
| Stops audio capturing. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetAudioVolume (HCHANNEL hChannel, MWCAP_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume) |
| Gets the volume value of audio capture device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetAudioVolume (HCHANNEL hChannel, MWCAP_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume) |
| Sets the volume of audio capture device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoAutoHAlign (HCHANNEL hChannel, BOOLEAN *pbAutoHAlign) |
| Gets whether to adjust horizontal alignment of the vga timing automatically. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoAutoHAlign (HCHANNEL hChannel, BOOLEAN bAutoHAlign) |
| Sets whether to adjust horizontal alignment of the vga timing automatically. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoSamplingPhase (HCHANNEL hChannel, BYTE *puSamplingPhase) |
| Gets the phase of the specified input vga timing. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoSamplingPhase (HCHANNEL hChannel, BYTE puSamplingPhase) |
| Sets the phase of the specified input vga timing. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoSamplingPhaseAutoAdjust (HCHANNEL hChannel, BOOLEAN *pbAutoSamplingPhase) |
| Gets whether to adjust the phase of the specified input vga timing automatically. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoSamplingPhaseAutoAdjust (HCHANNEL hChannel, BOOLEAN bAutoSamplingPhase) |
| Sets whether to automatically adjust the phase of vga timing sampling. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoTiming (HCHANNEL hChannel, MWCAP_VIDEO_TIMING *pTiming) |
| Sets the vga timing of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetPreferredVideoTimings (HCHANNEL hChannel, MWCAP_VIDEO_TIMING_ARRAY *paTimings) |
| Gets the preffered vga timing array of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetCustomVideoTiming (HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING *pCustomTiming) |
| Sets the custom vga timing of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetCustomVideoTimings (HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING_ARRAY *paCustomTimings) |
| Gets the custom vga timing of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetCustomVideoTimings (HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_TIMING_ARRAY *paCustomTimings) |
| Sets the custom vga timing array of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetCustomVideoResolutions (HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY *paCustomResolutions) |
| Gets the custom resolutions in vga timing of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetCustomVideoResolutions (HCHANNEL hChannel, MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY *paCustomResolutions) |
| Sets the custom resolutions in vga timing of specified channel. More... | |
| 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. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCaptureGetSDIANCPacket (HCHANNEL hChannel, MWCAP_SDI_ANC_PACKET *pPacket) |
| Captures specified SDI ANC data. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaptureSupportResolutionMode (HCHANNEL hChannel, MWCAP_VIDEO_RESOLUTION_MODE *pMode, int *pCount) |
| Gets resolution mode supported by devices, including MWCAP_VIDEO_RESOLUTION_MODE_LIST when the resolutions are discrete values, and MWCAP_VIDEO_RESOLUTION_MODE_RANGE when the resolutions are continuous values. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaptureSupportRangeResolution (HCHANNEL hChannel, MWCAP_VIDEO_RESOLUTION_RANGE *pRange) |
| Gets resolution range supported by the device, when the return mode of MWGetVideoCaptureSupportResolutionMode is MWCAP_VIDEO_RESOLUTION_MODE_RANGE. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaptureSupportListResolution (HCHANNEL hChannel, MWCAP_VIDEO_RESOLUTION_LIST *pList) |
| Gets resolutions supported by devices when the return mode of MWGetVideoCaptureSupportResolutionMode is MWCAP_VIDEO_RESOLUTION_MODE_LIST. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaptureSupportColorFormat (HCHANNEL hChannel, DWORD *pColorFourcc, int *nCount) |
| Uses v4l2 to get the device supported color spaces. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoProcParamRange (HANDLE hVideo, MWCAP_VIDEO_PROC_PARAM_TYPE videoProcParamType, long *plParamValueMin, long *plParamValueMax, long *plParamValueDef) |
| Gets range of video processing parameters. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoProcParam (HANDLE hVideo, MWCAP_VIDEO_PROC_PARAM_TYPE videoProcParamType, long *plParamValue) |
| Gets current video processing settings. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoProcParam (HANDLE hVideo, MWCAP_VIDEO_PROC_PARAM_TYPE videoProcParamType, long lParamValue) |
| Sets the specified video processing parameters. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetPostReconfig (HCHANNEL hChannel, DWORD dwDelayMS) |
| Sends instructions for rereading configurations to delay the execution. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaptureConnectionFormat (HCHANNEL hChannel, MWCAP_VIDEO_CONNECTION_FORMAT *pConnFormat) |
| Gets the connection format of capture pin. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetInputSourceScanState (HCHANNEL hChannel, BOOLEAN *pbInputSourceScanning) |
| Gets whether to scan the input signal source of specified channel automatically. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaptureProcessSettings (HCHANNEL hChannel, MWCAP_VIDEO_PROCESS_SETTINGS *paProcessSettings) |
| Gets the video process settings of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoCaptureProcessSettings (HCHANNEL hChannel, MWCAP_VIDEO_PROCESS_SETTINGS *paProcessSettings) |
| Sets the video process parameters of specified channel. More... | |
| void LIBMWCAPTURE_API MWCaptureExitInstance | +( | +) | ++ |
Quits instance.
+The API is used to quit the current instance. It always used with MWCaptureInitInstance.
+
| MW_RESULT LIBMWCAPTURE_API MWCaptureGetSDIANCPacket | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_SDI_ANC_PACKET * | +pPacket | +
| + | ) | ++ |
Captures specified SDI ANC data.
+| [in] | hChannel | Channel handle |
| [in] | pPacket | ANC data packet + |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets capture cc data types of SDI signal and get ANC data packet.
+
| BOOL LIBMWCAPTURE_API MWCaptureInitInstance | +( | +) | ++ |
Initializes the MWCapture interfaces.
+| 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.
+| [in] | hChannel | The opened channel handle |
| [in] | byIndex | Index of ANC data types, from 0 to 3. |
| [in] | bHANC | Whether it is HANC |
| [in] | bVANC | Whether it is VANC |
| [in] | byDID | SMPTE ANC DID |
| [in] | bySDID | SMPTE ANC SDID |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the ANC data types of SDI signal, 4 types at most.
+
| void LIBMWCAPTURE_API MWCloseChannel | +( | +HCHANNEL | +hChannel | ) | ++ |
Closes capture channel.
+| [in] | hChannel | The opened channel handle |
Usage:
+Closes the capture channel according to the channel handle of the capture device.
| 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 v4l function.
+| [in] | hChannel | The opened channel handle |
| [in] | captureNode | Audio capture device type |
| [in] | dwSamplesPerSec | Sampling rate |
| [in] | wBitsPerSample | Depth |
| [in] | wChannels | channels |
| [in] | callback | The callback function |
| [in] | pParam | The parameter passed to the callback function |
| Not null | Function call succeeded. The device is ready to start to capture audio. |
| NULL | Function call failed. Failed to start capturing. |
Usage:
+ use v4l2, just support one channel. It is supported by all capture devices.
+
| HANDLE LIBMWCAPTURE_API MWCreateVideoCapture | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +nWidth, | +
| + | + | int | +nHeight, | +
| + | + | int | +nFourcc, | +
| + | + | int | +nFrameDuration, | +
| + | + | VIDEO_CAPTURE_CALLBACK | +callback, | +
| + | + | void * | +pParam | +
| + | ) | ++ |
Uses the v4l 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 of video capture |
| [in] | pParam | The parameter passed to the callback function |
| Not null | Function call succeeded. The device is ready to start to capture videos. |
| NULL | Function call failed. Failed to start capturing. |
Usage:
+ Captures videos from the specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWDestoryAudioCapture | +( | +HANDLE | +hAudio | ) | ++ |
Stops audio capturing.
+| [in] | hAudio | Opened audio capture handle |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Works with MWCreateAudioCapture or MWCreateAudioCaptureWithStdCallBack.
+
| MW_RESULT LIBMWCAPTURE_API MWDestoryVideoCapture | +( | +HANDLE | +hVideo | ) | ++ |
Stops video capturing.
+| [in] | hVideo | The opened video capture handle |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Stops video capturing. Works with MWCreateVideoCapture or
+MWCreateVideoCaptureWithStdCallBack.
+
| MW_RESULT LIBMWCAPTURE_API MWEraseFirmwareData | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD | +cbOffset, | +
| + | + | DWORD | +cbErase | +
| + | ) | ++ |
Erases firmware data.
+| [in] | hChannel | The opened channel handle |
| [in] | cbOffset | The starting position of the data to erase |
| [in] | cbErase | The length of the data to erase |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Erases firmware data of specified channel/device. It is not recommended to call this API.
+
| MW_RESULT LIBMWCAPTURE_API MWGetAudioCaps | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_AUDIO_CAPS * | +pAudioCaps | +
| + | ) | ++ |
Gets audio capture capability of the channel.
+| [in] | hChannel | Channel handle |
| [out] | pAudioCaps | A pointer to struct MWCAP_AUDIO_CAPS, which returns audio capture capability of the channel. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetAudioInputSource | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD * | +pdwSource | +
| + | ) | ++ |
Gets current input audio source of the specified channel.
+| [in] | hChannel | Channel handle |
| [out] | pdwSource | Returns current input audio source. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets current input audio of the specified channel. The definition of pdwSource refers to INPUT_TYPE.
+
| MW_RESULT LIBMWCAPTURE_API MWGetAudioInputSourceArray | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD * | +pdwInputSource, | +
| + | + | DWORD * | +pdwInputCount | +
| + | ) | ++ |
Gets the input audio signal types supported by the channel.
+| [in] | hChannel | Channel handle |
| [out] | pdwInputSource | Returns the input audio signal types supported by the channel. When being set to NULL, pdwInputCount returns the number of audio signal types supported by the channel. |
| [in,out] | pdwInputCount | As an input parameter, it indicates the size of array that pdwInputSource points to. As an output parameter, it returns the number of audio signal types supported by the channel. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetAudioSignalStatus | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_AUDIO_SIGNAL_STATUS * | +pSignalStatus | +
| + | ) | ++ |
Gets the audio signal status of specified channel.
+| [in] | hChannel | Channel handle |
| [out] | pSignalStatus | A pointer to struct MWCAP_AUDIO_SIGNAL_STATUS, which returns the audio signal status. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the audio signal status of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWGetAudioVolume | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_AUDIO_NODE | +audioNode, | +
| + | + | MWCAP_AUDIO_VOLUME * | +pVolume | +
| + | ) | ++ |
Gets the volume value of audio capture device.
+| [in] | hChannel | Channel handle |
| [in] | audioNode | Audio device type |
| [out] | pVolume | Returns the volume of audio capture device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets volume of audio capture device.
+
| MW_RESULT LIBMWCAPTURE_API MWGetAVInputSourceLink | +( | +HCHANNEL | +hChannel, | +
| + | + | BOOLEAN * | +pbLink | +
| + | ) | ++ |
Gets whether the input audio input source is related to video input source.
+| [in] | hChannel | Channel handle |
| [out] | pbLink | Returns whether the audio input source is related to the video input source |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets whether the audio input source is linked to video according to the channel handle. If it is TRUE, audio link video source is enabled by default. Which means when there are multiple input sources, the video input source will automate link its audio. If it returns FALSE, the video input would not match probably, you can use MWSetVideoInputSource and MWSetAudioInputSource to set the related link state.
+
| int LIBMWCAPTURE_API MWGetChannelCount | +( | +) | ++ |
| MW_RESULT LIBMWCAPTURE_API MWGetChannelInfo | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_CHANNEL_INFO * | +pChannelInfo | +
| + | ) | ++ |
Gets channel information.
+| [in] | hChannel | The Channel handle |
| [out] | pChannelInfo | Channel information |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetChannelInfoByIndex | +( | +int | +nIndex, | +
| + | + | MWCAP_CHANNEL_INFO * | +pChannelInfo | +
| + | ) | ++ |
Gets the channel info by its index.
+| [in] | nIndex | Channel index, ranges from 0 to (MWGetChannelCount() - 1). |
| [out] | pChannelInfo | Channel infomation |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoResolutions | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY * | +paCustomResolutions | +
| + | ) | ++ |
Gets the custom resolutions in vga timing of specified channel.
+| [in] | hChannel | Channel handle |
| [out] | paCustomResolutions | Custom resolution array |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the custom resolutions in vga timing of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoTimings | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_CUSTOM_TIMING_ARRAY * | +paCustomTimings | +
| + | ) | ++ |
Gets the custom vga timing of specified channel.
+| [in] | hChannel | Channel handle |
| [out] | paCustomTimings | Custom vga timing array |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the custom vga timing of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWGetDevicePath | +( | +int | +nIndex, | +
| + | + | char * | +pDevicePath | +
| + | ) | ++ |
Gets the instance path of capture device based on the index.
+| [in] | nIndex | Channel index, from 0 to (MWGetChannelCount() - 1) |
| [out] | pDevicePath | Path of the device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the instance path of capture device on its index
+
| MW_RESULT LIBMWCAPTURE_API MWGetEDID | +( | +HCHANNEL | +hChannel, | +
| + | + | BYTE * | +pbyData, | +
| + | + | ULONG * | +pulSize | +
| + | ) | ++ |
Gets the EDID of specified channel.
+| [in] | hChannel | Channel handle |
| [out] | pbyData | Returns EDID |
| [in,out] | pulSize | As input parameter, it indicates the memory size that pbyData points to. As output parameter, it returns the data length of EDID. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the EDID of specified channel.
+EDID is supplied by HDMI capture device. It is invalid for other capture devices.
+
| MW_RESULT LIBMWCAPTURE_API MWGetFamilyInfo | +( | +HCHANNEL | +hChannel, | +
| + | + | LPVOID | +pFamilyInfo, | +
| + | + | DWORD | +dwSize | +
| + | ) | ++ |
Gets attributions of product family which the capture device belongs to.
+| [in] | hChannel | Channel handle |
| [out] | pFamilyInfo | Returns attributions of product family which the capture device belongs to. |
| [in] | dwSize | The size of the struct which pFamilyInfo points to. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets attributions of product family which the capture device belongs to, according to its channel handle.
| MW_RESULT LIBMWCAPTURE_API MWGetFamilyInfoByIndex | +( | +int | +nIndex, | +
| + | + | LPVOID | +pFamilyInfo, | +
| + | + | DWORD | +dwSize | +
| + | ) | ++ |
Gets the product family based on the index.
+| [in] | nIndex | Channel index, from 0 to (MWGetChannelCount() - 1) |
| [out] | pFamilyInfo | A pointer to the struct of MWCAP_PRO_CAPTURE_INFO, MWCAP_ECO_CAPTURE_INFO or MWUSBCAP_CAPTURE_INFO that returns the product family of your device. |
| [in] | dwSize | The size of the struct that the pFamilyInfo points to. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the product family of the device based on the index.
+It is supported by the Pro/Eco/USB family.
+Code for Pro capture family:
+
Code for Eco capture family:
+
Code for USB capture family:
+
| MW_RESULT LIBMWCAPTURE_API MWGetFirmwareStorageInfo | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_FIRMWARE_STORAGE * | +pFirmwareStorageInfo | +
| + | ) | ++ |
Gets firmware storage information.
+| [in] | hChannel | The opened channel handle |
| [out] | pFirmwareStorageInfo | A pointer to MWCAP_FIRMWARE_STORAGE, which returns firmware storage information |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets firmware storage information of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWGetHDMIInfoFramePacket | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_HDMI_INFOFRAME_ID | +id, | +
| + | + | HDMI_INFOFRAME_PACKET * | +pPacket | +
| + | ) | ++ |
Gets HDMI InfoFrame data.
+| [in] | hChannel | Channel handle |
| [in] | id | HDMI InfoFrame ID |
| [out] | pPacket | A pointer to struct HDMI_INFOFRAME_PACKET, which returns HDMI InfoFrame data. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets data of HDMI InfoFrame.
+
| MW_RESULT LIBMWCAPTURE_API MWGetHDMIInfoFrameValidFlag | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD * | +pdwValidFlag | +
| + | ) | ++ |
Gets valid flag of HDMI InfoFrame.
+| [in] | hChannel | Channel handle |
| [out] | pdwValidFlag | Returns valid flag of HDMI InfoFrame |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets valid flag of HDMI InfoFrame. Only supported by HDMI capture devices, other devices are not supported.
+The value of pdwValidFlag refers to MWCAP_HDMI_INFOFRAME_MASK.
+
| MW_RESULT LIBMWCAPTURE_API MWGetInputSourceScan | +( | +HCHANNEL | +hChannel, | +
| + | + | BOOLEAN * | +pbScan | +
| + | ) | ++ |
Gets the scan state of input source.
+| [in] | hChannel | Channel handle |
| [out] | pbScan | The return value indicates whether it is in scanning. 1 indicates true, AutoScan; 0 indicates false, not Autoscan. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the scan state of input source. That is whether the input source is automatically scanned. If multiple sources are connected, the device will automatically capture the valid one.
| MW_RESULT LIBMWCAPTURE_API MWGetInputSourceScanState | +( | +HCHANNEL | +hChannel, | +
| + | + | BOOLEAN * | +pbInputSourceScanning | +
| + | ) | ++ |
Gets whether to scan the input signal source of specified channel automatically.
+| [in] | hChannel | Channel handle |
| [out] | pbInputSourceScanning | Whether to scan the input signal resource |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets whether to scan the input signal resources of specified channel automatically.
+
| MW_RESULT LIBMWCAPTURE_API MWGetInputSpecificStatus | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_INPUT_SPECIFIC_STATUS * | +pInputStatus | +
| + | ) | ++ |
Gets the specific status of input signal.
+| [in] | hChannel | Channel handle |
| [out] | pInputStatus | A pointer to struct MWCAP_INPUT_SPECIFIC_STATUS, which returns the input signal state. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the detailed state of specified input source.
+
| MW_RESULT LIBMWCAPTURE_API MWGetPreferredVideoTimings | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_TIMING_ARRAY * | +paTimings | +
| + | ) | ++ |
Gets the preffered vga timing array of specified channel.
+| [in] | hChannel | Channel handle |
| [out] | paTimings | Timing array |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the preffered vga timing array of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVersion | +( | +BYTE * | +pbyMaj, | +
| + | + | BYTE * | +pbyMin, | +
| + | + | WORD * | +pwBuild | +
| + | ) | ++ |
Gets the version number of SDK.
+| [out] | pbyMaj | Major version number |
| [out] | pbyMin | Minor version number |
| [out] | pwBuild | Build version number |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Calls the API wherever you need, even before the MWCaptureInitInstance().
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoAutoHAlign | +( | +HCHANNEL | +hChannel, | +
| + | + | BOOLEAN * | +pbAutoHAlign | +
| + | ) | ++ |
Gets whether to adjust horizontal alignment of the vga timing automatically.
+| [in] | hChannel | Channel handle |
| [out] | pbAutoHAlign | Whether to adjust horizontal automatically |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets whether to adjust horizontal alignment of the vga timing automatically.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoCaps | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_CAPS * | +pVideoCaps | +
| + | ) | ++ |
Gets video capture capability of the specified channel.
+| [in] | hChannel | Channel handle |
| [out] | pVideoCaps | A pointer to struct MWCAP_VIDEO_CAPS, which returns video capture capability of the channel |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureConnectionFormat | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_CONNECTION_FORMAT * | +pConnFormat | +
| + | ) | ++ |
Gets the connection format of capture pin.
+| [in] | hChannel | Channel handle |
| [out] | paConnectionFormat | Connection format |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureProcessSettings | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_PROCESS_SETTINGS * | +paProcessSettings | +
| + | ) | ++ |
Gets the video process settings of specified channel.
+| [in] | hChannel | Channel handle |
| [out] | paProcessSettings | Video process settings |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the video process parameters of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureSupportColorFormat | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD * | +pColorFourcc, | +
| + | + | int * | +nCount | +
| + | ) | ++ |
Uses v4l2 to get the device supported color spaces.
+| [in] | hChannel | The opened channel handle |
| [out] | pColorFourcc | Returns the device supported color spaces. For details, see MWFOURCC.h. When being set to NULL, the returned value is the number of device supported color spaces. |
| [out] | nCount | The number of color formats supported by the capture device. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets capture formats supported by devices.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureSupportListResolution | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_RESOLUTION_LIST * | +pList | +
| + | ) | ++ |
Gets resolutions supported by devices when the return mode of MWGetVideoCaptureSupportResolutionMode is MWCAP_VIDEO_RESOLUTION_MODE_LIST.
+| [in] | hChannel | The opened channel handle |
| [out] | pList | Supported discrete resolution values |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureSupportRangeResolution | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_RESOLUTION_RANGE * | +pRange | +
| + | ) | ++ |
Gets resolution range supported by the device, when the return mode of MWGetVideoCaptureSupportResolutionMode is MWCAP_VIDEO_RESOLUTION_MODE_RANGE.
+| [in] | hChannel | The opened channel handle |
| [out] | pRange | Supported resolution range |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureSupportResolutionMode | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_RESOLUTION_MODE * | +pMode, | +
| + | + | int * | +pCount | +
| + | ) | ++ |
Gets resolution mode supported by devices, including MWCAP_VIDEO_RESOLUTION_MODE_LIST when the resolutions are discrete values, and MWCAP_VIDEO_RESOLUTION_MODE_RANGE when the resolutions are continuous values.
+| [in] | hChannel | The opened channel handle |
| [out] | pMode | Returns the device supported resolution mode: MWCAP_VIDEO_RESOLUTION_MODE_LIST, MWCAP_VIDEO_RESOLUTION_MODE_RANGE. |
| [out] | pCount | Only available when the mode is MWCAP_VIDEO_RESOLUTION_MODE_LIST, indicates the device supported number of resolutions. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoInputAspectRatio | +( | +HCHANNEL | +hChannel, | +
| + | + | int * | +pnAspectX, | +
| + | + | int * | +pnAspectY | +
| + | ) | ++ |
Gets aspect ratio of input video source.
+| [in] | hChannel | The opened channel handle |
| [out] | pnAspectX | The returned width of aspect ratio |
| [out] | pnAspectY | The returned height of aspect ratio |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets aspect ratio of specified input video source.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoInputColorFormat | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_COLOR_FORMAT * | +pColorFormat | +
| + | ) | ++ |
Gets color format of input video.
+| [in] | hChannel | The opened channel handle |
| [out] | pColorFormat | A pointer to MWCAP_VIDEO_COLOR_FORMAT, which returns color format value |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets color format of specified input channel.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoInputQuantizationRange | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_QUANTIZATION_RANGE * | +pQuantRange | +
| + | ) | ++ |
Gets quantization range of input video.
+| [in] | hChannel | The opened channel handle |
| [out] | pQuantRange | A pointer to MWCAP_VIDEO_QUANTIZATION_RANGE, which returns the quantization range value |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets quantization range of specified input channel.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoInputSource | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD * | +pdwSource | +
| + | ) | ++ |
Gets current video input source of the channel.
+| [in] | hChannel | Channel handle |
| [out] | pdwSource | Returns current video input source |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets current video input source of the channel.
+The definition of pdwSource refers to MWCAP_VIDEO_INPUT_TYPE.
| MW_RESULT LIBMWCAPTURE_API MWGetVideoInputSourceArray | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD * | +pdwInputSource, | +
| + | + | DWORD * | +pdwInputCount | +
| + | ) | ++ |
Gets the input video signal types supported by the channel.
+| [in] | hChannel | Channel handle |
| [out] | pdwInputSource | Returns the input video signal types supported by the channel. When being set to NULL, pdwInputCount returns the number of video signal types supported by the channel. |
| [in,out] | pdwInputCount | As an input parameter, it indicates the size of array that pdwInputSource points to. As an output parameter, it returns the number of video signal types supported by the channel. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoProcParam | +( | +HANDLE | +hVideo, | +
| + | + | MWCAP_VIDEO_PROC_PARAM_TYPE | +videoProcParamType, | +
| + | + | long * | +plParamValue | +
| + | ) | ++ |
Gets current video processing settings.
+| [in] | hVideo | Opened video capture channel handle |
| [in] | videoProcParamType | Video processing parameters, including brightness, contrast, hue, saturation. |
| [out] | plParamValue | The returned default value |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoProcParamRange | +( | +HANDLE | +hVideo, | +
| + | + | MWCAP_VIDEO_PROC_PARAM_TYPE | +videoProcParamType, | +
| + | + | long * | +plParamValueMin, | +
| + | + | long * | +plParamValueMax, | +
| + | + | long * | +plParamValueDef | +
| + | ) | ++ |
Gets range of video processing parameters.
+| [in] | hVideo | The opened video capture handle |
| [in] | videoProcParamType | Video processing parameter type, including brightness, contrast, hue, saturation. |
| [out] | plParamValueMin | The returned minimum value |
| [out] | plParamValueMax | The returned maximum value |
| [out] | plParamValueDef | The returned default value |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoSamplingPhase | +( | +HCHANNEL | +hChannel, | +
| + | + | BYTE * | +puSamplingPhase | +
| + | ) | ++ |
Gets the phase of the specified input vga timing.
+| [in] | hChannel | The opened channel handle |
| [out] | puSamplingPhase | Phase |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the phase of the specified input vga timing.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoSamplingPhaseAutoAdjust | +( | +HCHANNEL | +hChannel, | +
| + | + | BOOLEAN * | +pbAutoSamplingPhase | +
| + | ) | ++ |
Gets whether to adjust the phase of the specified input vga timing automatically.
+| [in] | hChannel | Channel handle |
| [out] | pbAutoSamplingPhase | Returns whether to automatically adjust the phase of vga timing sampling |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets whether to adjust the phase of the specified vga timing automatically.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoSignalStatus | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_SIGNAL_STATUS * | +pSignalStatus | +
| + | ) | ++ |
Gets video signal status of specified channel.
+| [in] | hChannel | Channel handle |
| [out] | pSignalStatus | A pointer to struct MWCAP_VIDEO_SIGNAL_STATUS, which returns video signal status. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets the video signal status of specified channel.
| HCHANNEL LIBMWCAPTURE_API MWOpenChannelByPath | +( | +const char * | +pszDevicePath | ) | ++ |
Opens capture channel by device instance path.
+| [in] | pszDevicePath | Device instance path |
Usage:
+Opens capture channel according to device instance path. Gets ready for work.
| MW_RESULT LIBMWCAPTURE_API MWReadFirmwareData | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD | +cbOffset, | +
| + | + | BYTE * | +pbyData, | +
| + | + | DWORD | +cbToRead, | +
| + | + | DWORD * | +pcbRead | +
| + | ) | ++ |
Read firmware data from specified channel.
+| [in] | hChannel | The opened channel handle |
| [in] | cbOffset | The starting position of the data to read |
| [out] | pbyData | Returns the read data |
| [in] | cbToRead | The data length to read |
| [out] | pcbRead | Returns the actual length of the read data |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Reads the firmware data from specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWRefreshDevice | +( | +) | ++ |
Refreshes device list.
+| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Calls the API to refresh device list when the connected devices changed.
+
| MW_RESULT LIBMWCAPTURE_API MWSetAudioInputSource | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD | +dwSource | +
| + | ) | ++ |
Sets current audio input source of specified channel.
+| [in] | hChannel | Channel handle |
| [in] | dwSource | Sets current audio input source |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets current audio input source of specified channel.
+The definition of dwSource refers to INPUT_TYPE.
+
| MW_RESULT LIBMWCAPTURE_API MWSetAudioVolume | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_AUDIO_NODE | +audioNode, | +
| + | + | MWCAP_AUDIO_VOLUME * | +pVolume | +
| + | ) | ++ |
Sets the volume of audio capture device.
+| [in] | hChannel | Channel handle |
| [in] | audioNode | Audio device type |
| [in] | pVolume | The volume of audio capture device |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the volume of audio capture device.
+
| MW_RESULT LIBMWCAPTURE_API MWSetAVInputSourceLink | +( | +HCHANNEL | +hChannel, | +
| + | + | BOOLEAN | +bLink | +
| + | ) | ++ |
Sets whether the input video source is linked to its audio automatically.
+| [in] | hChannel | Channel handle |
| [in] | bLink | Sets whether the audio input source link the video input source |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets whether the audio input source link the video input source automatically.
+
| MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoResolutions | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_CUSTOM_RESOLUTION_ARRAY * | +paCustomResolutions | +
| + | ) | ++ |
Sets the custom resolutions in vga timing of specified channel.
+| [in] | hChannel | Channel handle |
| [in] | paCustomResolutions | Custom resolution array |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the custom resolutions in vga timing of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoTiming | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_CUSTOM_TIMING * | +pCustomTiming | +
| + | ) | ++ |
Sets the custom vga timing of specified channel.
+| [in] | hChannel | Channel handle |
| [in] | pCustomTiming | Custom timing |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the custom vga timing of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWSetCustomVideoTimings | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_CUSTOM_TIMING_ARRAY * | +paCustomTimings | +
| + | ) | ++ |
Sets the custom vga timing array of specified channel.
+| [in] | hChannel | Channel handle |
| [out] | paCustomTimings | Custom timings array |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the custom vga timing array of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWSetEDID | +( | +HCHANNEL | +hChannel, | +
| + | + | BYTE * | +pbyData, | +
| + | + | ULONG | +ulSize | +
| + | ) | ++ |
Sets EDID of specified channel.
+| [in] | hChannel | Channel handle |
| [in] | pbyData | New EDID |
| [in] | ulSize | Data length of EDID |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+EDID is supplied by HDMI capture device. The API is invalid for other capture devices when being called.
+
Make sure you are familiar with EDID when you use this API. Otherwise we do not recommend you to use it.
+
| MW_RESULT LIBMWCAPTURE_API MWSetInputSourceScan | +( | +HCHANNEL | +hChannel, | +
| + | + | BOOLEAN | +bScan | +
| + | ) | ++ |
Sets the scan state of input source.
+| [in] | hChannel | Channel handle |
| [in] | bScan | Indicates the scanned states. 1 indicates true, AutoScan; 0 indicates false, not Autoscans. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets whether to automatically scan the input interface captured channel.
+
| MW_RESULT LIBMWCAPTURE_API MWSetLEDMode | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD | +dwMode | +
| + | ) | ++ |
Sets LED mode.
+| [in] | hChannel | The opened channel handle |
| [in] | dwMode | LED mode. For details, see MWCAP_LED_MODE. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets LED flash mode of specified channel.
+For detailed information of dwMode value, see MWCAP_LED_MODE.
| MW_RESULT LIBMWCAPTURE_API MWSetPostReconfig | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD | +dwDelayMS | +
| + | ) | ++ |
Sends instructions for rereading configurations to delay the execution.
+| [in] | hChannel | Opened channel handle |
| [in] | dwDelayMS | Delay time in milliseconds |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Rereads configurations
+Be cautious when using it.
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoAutoHAlign | +( | +HCHANNEL | +hChannel, | +
| + | + | BOOLEAN | +bAutoHAlign | +
| + | ) | ++ |
Sets whether to adjust horizontal alignment of the vga timing automatically.
+| [in] | hChannel | Channel handle |
| [in] | bAutoHAlign | Whether to adjust horizontal alignment of the vga timing automatically |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets whether to adjust horizontal alignment of the vga timing automatically.
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoCaptureProcessSettings | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_PROCESS_SETTINGS * | +paProcessSettings | +
| + | ) | ++ |
Sets the video process parameters of specified channel.
+| [in] | hChannel | Channel handle |
| [in] | paProcessSettings | Video process parameters |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the video process parameters of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoInputAspectRatio | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +nAspectX, | +
| + | + | int | +nAspectY | +
| + | ) | ++ |
Sets aspect ratio of input video source.
+| [in] | hChannel | The opened channel handle |
| [in] | nAspectX | width |
| [in] | nAspectY | Height |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets aspect ratio of specified input video source. It works with the other video processing parameters.
| MW_RESULT LIBMWCAPTURE_API MWSetVideoInputColorFormat | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_COLOR_FORMAT | +colorFormat | +
| + | ) | ++ |
Sets color format of input video.
+| [in] | hChannel | The opened channel handle |
| [in] | colorFormat | Color format |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets color format of specified input channel.
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoInputQuantizationRange | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_QUANTIZATION_RANGE | +quantRange | +
| + | ) | ++ |
Sets quantization range of input video.
+| [in] | hChannel | The opened channel handle |
| [in] | quantRange | Quantization range |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets quantization range of specified input channel
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoInputSource | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD | +dwSource | +
| + | ) | ++ |
Sets the video input source of the specified channel.
+| [in] | hChannel | Channel handle |
| [in] | dwSource | Sets current video input source |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the video input source of the specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoProcParam | +( | +HANDLE | +hVideo, | +
| + | + | MWCAP_VIDEO_PROC_PARAM_TYPE | +videoProcParamType, | +
| + | + | long | +lParamValue | +
| + | ) | ++ |
Sets the specified video processing parameters.
+| [in] | hVideo | The opened video channel handle |
| [in] | videoProcParamType | Video processing parameter type, including brightness, contrast, hue, saturation. |
| [in] | lParamValue | The set value, which should be within the range of parameters. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoSamplingPhase | +( | +HCHANNEL | +hChannel, | +
| + | + | BYTE | +puSamplingPhase | +
| + | ) | ++ |
Sets the phase of the specified input vga timing.
+| [in] | hChannel | Channel handle |
| [in] | puSamplingPhase | Phase |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the phase of the specified input vga timing.
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoSamplingPhaseAutoAdjust | +( | +HCHANNEL | +hChannel, | +
| + | + | BOOLEAN | +bAutoSamplingPhase | +
| + | ) | ++ |
Sets whether to automatically adjust the phase of vga timing sampling.
+| [in] | hChannel | Channel handle |
| [in] | bAutoSamplingPhase | Whether to adjust the phase of the specified vga timing automatically |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets whether to automatically adjust the phase of vga timing sampling.
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoTiming | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_TIMING * | +pTiming | +
| + | ) | ++ |
Sets the vga timing of specified channel.
+| [in] | hChannel | Channel handle |
| [in] | pTiming | Timing |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the vga timing of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWWriteFirmwareData | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD | +cbOffset, | +
| + | + | BYTE * | +pbyData, | +
| + | + | DWORD | +cbData | +
| + | ) | ++ |
Writes firmware data to specified channel.
+| [in] | hChannel | The opened channel handle |
| [in] | cbOffset | The starting position of the data to write |
| [in] | pbyData | The data to write |
| [in] | cbData | The data length to write |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Writes firmware data to specified channel(device). We do not recommend you to call this API.
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Functions | |
| MW_RESULT LIBMWCAPTURE_API | MWStartVideoEcoCapture (HCHANNEL hChannel, MWCAP_VIDEO_ECO_CAPTURE_OPEN *pEcoCaptureOpen) |
| Starts video capturing for Eco Capture device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoEcoCaptureSettings (HCHANNEL hChannel, MWCAP_VIDEO_ECO_CAPTURE_SETTINGS *pSettings) |
| Sets capture parameters for Eco capture card. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCaptureSetVideoEcoFrame (HCHANNEL hChannel, MWCAP_VIDEO_ECO_CAPTURE_FRAME *pFrame) |
| Sets storage frames for Eco to capture video frames. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoEcoCaptureStatus (HCHANNEL hChannel, MWCAP_VIDEO_ECO_CAPTURE_STATUS *pStatus) |
| Gets status of Eco capture card, gets captured video frames. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWStopVideoEcoCapture (HCHANNEL hChannel) |
| Stops Eco capture. More... | |
| MW_RESULT LIBMWCAPTURE_API MWCaptureSetVideoEcoFrame | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_ECO_CAPTURE_FRAME * | +pFrame | +
| + | ) | ++ |
Sets storage frames for Eco to capture video frames.
+| [in] | hChannel | Opened channel handle |
| [in] | pFrame | Storage frames of Eco to capture video frame |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
| MW_RESULT LIBMWCAPTURE_API MWGetVideoEcoCaptureStatus | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_ECO_CAPTURE_STATUS * | +pStatus | +
| + | ) | ++ |
Gets status of Eco capture card, gets captured video frames.
+| [in] | hChannel | Opened channel handle |
| [out] | pStatus | Eco capture status |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
| MW_RESULT LIBMWCAPTURE_API MWSetVideoEcoCaptureSettings | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_ECO_CAPTURE_SETTINGS * | +pSettings | +
| + | ) | ++ |
Sets capture parameters for Eco capture card.
+| [in] | hChannel | Opened channel handle |
| [in] | pSettings | Eco capture parameters |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
| MW_RESULT LIBMWCAPTURE_API MWStartVideoEcoCapture | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_ECO_CAPTURE_OPEN * | +pEcoCaptureOpen | +
| + | ) | ++ |
Starts video capturing for Eco Capture device.
+| [in] | hChannel | Opened channel handle |
| [in] | pEcoCaptureOpen | Eco video capture parameters |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWStopVideoEcoCapture | +( | +HCHANNEL | +hChannel | ) | ++ |
Stops Eco capture.
+| [in] | hChannel | Opened channel handle |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Functions | |
| MW_RESULT LIBMWCAPTURE_API | MWStartVideoCapture (HCHANNEL hChannel, MWHANDLE hEvent) |
| Starts video capture. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWStopVideoCapture (HCHANNEL hChannel) |
| Stops the video capture. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWPinVideoBuffer (HCHANNEL hChannel, MWCAP_PTR pbFrame, DWORD cbFrame) |
| Locks a segment of virtual memory to reduce CPU load when capturing video data to that memory. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUnpinVideoBuffer (HCHANNEL hChannel, LPBYTE pbFrame) |
| Unlocks a segment of virtual memory. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCaptureVideoFrameToVirtualAddress (HCHANNEL hChannel, int iFrame, MWCAP_PTR pbFrame, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy) |
| Captures and saves video frames to virtual memory. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCaptureVideoFrameToPhysicalAddress (HCHANNEL hChannel, int iFrame, LARGE_INTEGER llFrameAddress, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy) |
| Stores captured video frames to physical addresses. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCaptureVideoFrameWithOSDToVirtualAddress (HCHANNEL hChannel, int iFrame, MWCAP_PTR pbFrame, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy, HOSD hOSDImage, const RECT *pOSDRects, int cOSDRects) |
| Captures video frames to virtual memory, and adds OSD. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCaptureVideoFrameWithOSDToPhysicalAddress (HCHANNEL hChannel, int iFrame, LARGE_INTEGER llFrameAddress, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy, HOSD hOSDImage, const RECT *pOSDRects, int cOSDRects) |
| Saves the captured video frame to physical memory and adds OSD. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCaptureVideoFrameToVirtualAddressEx (HCHANNEL hChannel, int iFrame, LPBYTE pbFrame, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy, DWORD dwProcessSwitchs, int cyParitalNotify, HOSD hOSDImage, const RECT *pOSDRects, int cOSDRects, SHORT sContrast, SHORT sBrightness, SHORT sSaturation, SHORT sHue, MWCAP_VIDEO_DEINTERLACE_MODE deinterlaceMode, MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE aspectRatioConvertMode, const RECT *pRectSrc, const RECT *pRectDest, int nAspectX, int nAspectY, MWCAP_VIDEO_COLOR_FORMAT colorFormat, MWCAP_VIDEO_QUANTIZATION_RANGE quantRange, MWCAP_VIDEO_SATURATION_RANGE satRange) |
| Save captured video frames to virtual memory. It is the extended MWCaptureVideoFrameToVirtualAddress. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCaptureVideoFrameToPhysicalAddressEx (HCHANNEL hChannel, int iFrame, LARGE_INTEGER llFrameAddress, DWORD cbFrame, DWORD cbStride, BOOLEAN bBottomUp, MWCAP_PTR64 pvContext, DWORD dwFOURCC, int cx, int cy, DWORD dwProcessSwitchs, int cyParitalNotify, HOSD hOSDImage, const RECT *pOSDRects, int cOSDRects, SHORT sContrast, SHORT sBrightness, SHORT sSaturation, SHORT sHue, MWCAP_VIDEO_DEINTERLACE_MODE deinterlaceMode, MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE aspectRatioConvertMode, const RECT *pRectSrc, const RECT *pRectDest, int nAspectX, int nAspectY, MWCAP_VIDEO_COLOR_FORMAT colorFormat, MWCAP_VIDEO_QUANTIZATION_RANGE quantRange, MWCAP_VIDEO_SATURATION_RANGE satRange) |
| Captures video frames and saves to physical memory. And is the extended version of MWCaptureVideoFrameToPhysicalAddress. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoBufferInfo (HCHANNEL hChannel, MWCAP_VIDEO_BUFFER_INFO *pVideoBufferInfo) |
| Gets video bufferring information. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoFrameInfo (HCHANNEL hChannel, BYTE i, MWCAP_VIDEO_FRAME_INFO *pVideoFrameInfo) |
| Gets video frame information. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaptureStatus (HCHANNEL hChannel, MWCAP_VIDEO_CAPTURE_STATUS *pStatus) |
| Gets video capture state, and frees up system storage. More... | |
| HOSD LIBMWCAPTURE_API | MWCreateImage (HCHANNEL hChannel, int cx, int cy) |
| Creates OSD image. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWOpenImage (HCHANNEL hChannel, HOSD hImage, LONG *plRet) |
| Opens OSD images. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCloseImage (HCHANNEL hChannel, HOSD hImage, LONG *plRet) |
| Turns off the OSD image. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUploadImageFromVirtualAddress (HCHANNEL hChannel, HOSD hImage, MWCAP_VIDEO_COLOR_FORMAT cfDest, MWCAP_VIDEO_QUANTIZATION_RANGE quantRangeDest, MWCAP_VIDEO_SATURATION_RANGE satRangeDest, WORD xDest, WORD yDest, WORD cxDest, WORD cyDest, MWCAP_PTR64 pvSrcFrame, DWORD cbSrcFrame, DWORD cbSrcStride, WORD cxSrc, WORD cySrc, BOOLEAN bSrcBottomUp, BOOLEAN bSrcPixelAlpha, BOOLEAN bSrcPixelXBGR) |
| Uploads images from virtual memory to capture device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUploadImageFromPhysicalAddress (HCHANNEL hChannel, HOSD hImage, MWCAP_VIDEO_COLOR_FORMAT cfDest, MWCAP_VIDEO_QUANTIZATION_RANGE quantRangeDest, MWCAP_VIDEO_SATURATION_RANGE satRangeDest, WORD xDest, WORD yDest, WORD cxDest, WORD cyDest, LARGE_INTEGER llSrcFrameAddress, DWORD cbSrcFrame, DWORD cbSrcStride, WORD cxSrc, WORD cySrc, BOOLEAN bSrcBottomUp, BOOLEAN bSrcPixelAlpha, BOOLEAN bSrcPixelXBGR) |
| Uploads an image from physical memory to capture device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetCustomVideoTimingsCount (HCHANNEL hChannel, DWORD *dwCount) |
| Gets number of custom video timings. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetCustomVideoResolutionsCount (HCHANNEL hChannel, DWORD *dwCount) |
| Gets number of custom video resolutions. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetStreamCount (HCHANNEL hChannel, int *pnCount) |
| Gets the number of streams according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetStreamInfos (HCHANNEL hChannel, MWCAP_STREAM_INFO *pStreamInfos, int *pnCount) |
| Gets the informations of streams according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetCtrlStreamID (HCHANNEL hChannel, int nCrtlID) |
| Sets the ID of controlled stream according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoCaptureOSDSettings (HCHANNEL hChannel, MWCAP_VIDEO_OSD_SETTINGS *paOSDSettings) |
| Gets OSD settings. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoCaptureOSDSettings (HCHANNEL hChannel, MWCAP_VIDEO_OSD_SETTINGS *paOSDSettings) |
| Sets OSD configurations. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoOSDImage (HCHANNEL hChannel, MWCAP_VIDEO_OSD_IMAGE *pOSDImage) |
| Gets OSD according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoOSDImage (HCHANNEL hChannel, MWCAP_VIDEO_OSD_IMAGE OSDImage) |
| Sets OSD according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoBrightness (HCHANNEL hChannel, int *pnBrightness) |
| Gets the brightness of video captured according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoBrightness (HCHANNEL hChannel, int nBrightness) |
| Sets the brightness of video captured according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoContrast (HCHANNEL hChannel, int *pnContrast) |
| Gets the contrast of video captured according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoContrast (HCHANNEL hChannel, int nContrast) |
| Sets the contrast of video captured according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoHue (HCHANNEL hChannel, int *pnHue) |
| Gets the hue of video captured according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoHue (HCHANNEL hChannel, int nHue) |
| Sets the hue of video captured according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetVideoSaturation (HCHANNEL hChannel, int *pnSaturation) |
| Gets the saturation of video captured according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetVideoSaturation (HCHANNEL hChannel, int nSaturation) |
| Sets the saturation of video captured according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSaveSettingsAsPreset (HCHANNEL hChannel) |
| Saves the presetting configurations of video capture according to channel handle. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWReloadPreset (HCHANNEL hChannel) |
| Reloads the presetting configurations of video capture according to channel handle. More... | |
| MWCAP_PTR LIBMWCAPTURE_API | MWCreateEvent () |
| Creates events. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCloseEvent (MWCAP_PTR hEvent) |
| Destroys the event. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetEvent (MWCAP_PTR hEvent) |
| Triggers the event. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWClearEvent (MWCAP_PTR hEvent) |
| Resets the event. More... | |
| BOOLEAN LIBMWCAPTURE_API | MWIsSetEvent (MWCAP_PTR hEvent) |
| Querys whether the event is triggered. More... | |
| int LIBMWCAPTURE_API | MWTryWaitEvent (MWCAP_PTR hEvent) |
| Waits for the event. More... | |
| int LIBMWCAPTURE_API | MWWaitEvent (MWCAP_PTR hEvent, int nTimeout) |
| Waits for the event. More... | |
| DWORD LIBMWCAPTURE_API | MWMultiWaitEvent (MWCAP_PTR *hEvents, int nCount, int nTimeout) |
| Waits for the events. More... | |
| MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameToPhysicalAddress | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +iFrame, | +
| + | + | LARGE_INTEGER | +llFrameAddress, | +
| + | + | DWORD | +cbFrame, | +
| + | + | DWORD | +cbStride, | +
| + | + | BOOLEAN | +bBottomUp, | +
| + | + | MWCAP_PTR64 | +pvContext, | +
| + | + | DWORD | +dwFOURCC, | +
| + | + | int | +cx, | +
| + | + | int | +cy | +
| + | ) | ++ |
Stores captured video frames to physical addresses.
+| [in] | hChannel | channel handle that has started video capturing |
| [in] | iFrame | Video frame number to be captured |
| [in] | llFrameAddress | Physical addresses that store the captured video frames |
| [in] | cbFrame | Byte length of memory that stores the captured data |
| [in] | cbStride | Step of memory that stores the captured data |
| [in] | bBottomUp | Whether to store the captured video frames from bottom to top |
| [in] | pvContext | Custom context pointer |
| [in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
| [in] | cx | Width of captured video frames |
| [in] | cy | Height of captured video frames |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
| MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameToPhysicalAddressEx | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +iFrame, | +
| + | + | LARGE_INTEGER | +llFrameAddress, | +
| + | + | DWORD | +cbFrame, | +
| + | + | DWORD | +cbStride, | +
| + | + | BOOLEAN | +bBottomUp, | +
| + | + | MWCAP_PTR64 | +pvContext, | +
| + | + | DWORD | +dwFOURCC, | +
| + | + | int | +cx, | +
| + | + | int | +cy, | +
| + | + | DWORD | +dwProcessSwitchs, | +
| + | + | int | +cyParitalNotify, | +
| + | + | HOSD | +hOSDImage, | +
| + | + | const RECT * | +pOSDRects, | +
| + | + | int | +cOSDRects, | +
| + | + | SHORT | +sContrast, | +
| + | + | SHORT | +sBrightness, | +
| + | + | SHORT | +sSaturation, | +
| + | + | SHORT | +sHue, | +
| + | + | MWCAP_VIDEO_DEINTERLACE_MODE | +deinterlaceMode, | +
| + | + | MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE | +aspectRatioConvertMode, | +
| + | + | const RECT * | +pRectSrc, | +
| + | + | const RECT * | +pRectDest, | +
| + | + | int | +nAspectX, | +
| + | + | int | +nAspectY, | +
| + | + | MWCAP_VIDEO_COLOR_FORMAT | +colorFormat, | +
| + | + | MWCAP_VIDEO_QUANTIZATION_RANGE | +quantRange, | +
| + | + | MWCAP_VIDEO_SATURATION_RANGE | +satRange | +
| + | ) | ++ |
Captures video frames and saves to physical memory. And is the extended version of MWCaptureVideoFrameToPhysicalAddress.
+| [in] | hChannel | channel handle that has started video capturing |
| [in] | iFrame | Video frame number to be captured |
| [in] | llFrameAddress | Physical addresses that store the captured video frames |
| [in] | cbFrame | Byte length of memory that stores the captured data |
| [in] | cbStride | Step of memory that stores the captured data |
| [in] | bBottomUp | Whether to store the captured video frames from bottom to top |
| [in] | pvContext | Custom context pointer |
| [in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
| [in] | cx | width of captured video frames |
| [in] | cy | Height of captured video frames |
| [in] | dwProcessSwitchs | Mask of video processing refers to MWCAP_VIDEO_PROCESS_xx |
| [in] | cyParitalNotify | The number of lines when capturing by lines |
| [in] | hOSDImage | OSD image handle which is got by using MWCreateImage(HCHANNEL hChannel,int cx,int cy) |
| [in] | pOSDRects | Target areas of OSD image |
| [in] | cOSDRects | Number of OSD image target areas |
| [in] | sContrast | Contrast |
| [in] | sBrightness | Brightness |
| [in] | sSaturation | Saturation |
| [in] | sHue | Hue |
| [in] | deinterlaceMode | Deinterlace Mode |
| [in] | aspectRatioConvertMode | Aspect Ratio Convert Mode |
| [in] | pRectSrc | The source area of the image to capture |
| [in] | pRectDest | The destination area of the image to capture |
| [in] | nAspectX | Width of the aspect ratio |
| [in] | nAspectY | Height of the aspect ratio |
| [in] | colorFormat | Color Format |
| [in] | quantRange | Quantization Range |
| [in] | satRange | Saturation Range |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Be cautious when using it.
+
| MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameToVirtualAddress | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +iFrame, | +
| + | + | MWCAP_PTR | +pbFrame, | +
| + | + | DWORD | +cbFrame, | +
| + | + | DWORD | +cbStride, | +
| + | + | BOOLEAN | +bBottomUp, | +
| + | + | MWCAP_PTR64 | +pvContext, | +
| + | + | DWORD | +dwFOURCC, | +
| + | + | int | +cx, | +
| + | + | int | +cy | +
| + | ) | ++ |
Captures and saves video frames to virtual memory.
+| [in] | hChannel | channel handle that has started video capturing |
| [in] | iFrame | Video frame number to be captured |
| [out] | pbFrame | Stores virtual memory pointers for captured data |
| [in] | cbFrame | Byte length of memory that stores the captured data |
| [in] | cbStride | Step of memory that stores the captured data |
| [in] | bBottomUp | Whether to store the captured video frames from bottom to top |
| [in] | pvContext | Custom context pointer |
| [in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
| [in] | cx | Width of captured video frames |
| [in] | cy | Height of captured video frames |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Related function(s): MWRegisterNotify
+ MWRegisterTimer
+
| MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameToVirtualAddressEx | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +iFrame, | +
| + | + | LPBYTE | +pbFrame, | +
| + | + | DWORD | +cbFrame, | +
| + | + | DWORD | +cbStride, | +
| + | + | BOOLEAN | +bBottomUp, | +
| + | + | MWCAP_PTR64 | +pvContext, | +
| + | + | DWORD | +dwFOURCC, | +
| + | + | int | +cx, | +
| + | + | int | +cy, | +
| + | + | DWORD | +dwProcessSwitchs, | +
| + | + | int | +cyParitalNotify, | +
| + | + | HOSD | +hOSDImage, | +
| + | + | const RECT * | +pOSDRects, | +
| + | + | int | +cOSDRects, | +
| + | + | SHORT | +sContrast, | +
| + | + | SHORT | +sBrightness, | +
| + | + | SHORT | +sSaturation, | +
| + | + | SHORT | +sHue, | +
| + | + | MWCAP_VIDEO_DEINTERLACE_MODE | +deinterlaceMode, | +
| + | + | MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE | +aspectRatioConvertMode, | +
| + | + | const RECT * | +pRectSrc, | +
| + | + | const RECT * | +pRectDest, | +
| + | + | int | +nAspectX, | +
| + | + | int | +nAspectY, | +
| + | + | MWCAP_VIDEO_COLOR_FORMAT | +colorFormat, | +
| + | + | MWCAP_VIDEO_QUANTIZATION_RANGE | +quantRange, | +
| + | + | MWCAP_VIDEO_SATURATION_RANGE | +satRange | +
| + | ) | ++ |
Save captured video frames to virtual memory. It is the extended MWCaptureVideoFrameToVirtualAddress.
+| [in] | hChannel | channel handle that has started video capturing |
| [in] | iFrame | Video frame number to be captured |
| [out] | pbFrame | Virtual addresses that store the captured video frames |
| [in] | cbFrame | Byte length of memory that stores the captured data |
| [in] | cbStride | Step of memory that stores the captured data |
| [in] | bBottomUp | Whether to store the captured video frames from bottom to top |
| [in] | pvContext | Custom context pointer |
| [in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
| [in] | cx | width of captured video frames |
| [in] | cy | Height of captured video frames |
| [in] | dwProcessSwitchs | Image processing mask. Refers to MWCAP_VIDEO_PROCESS_xx |
| [in] | cyParitalNotify | Number of rows captured by lines |
| [in] | hOSDImage | OSD image handle which is got by using MWCreateImage. |
| [in] | pOSDRects | Target areas of OSD image |
| [in] | cOSDRects | Number of OSD image target areas |
| [in] | sContrast | Contrast |
| [in] | sBrightness | Brightness |
| [in] | sSaturation | Saturation |
| [in] | sHue | Hue |
| [in] | deinterlaceMode | Deinterlace Mode |
| [in] | aspectRatioConvertMode | Aspect Ratio Convert Mode |
| [in] | pRectSrc | The source area of the image to capture |
| [in] | pRectDest | The destination area of the image to capture |
| [in] | nAspectX | Width of the aspect ratio |
| [in] | nAspectY | Height of the aspect ratio |
| [in] | colorFormat | Color Format |
| [in] | quantRange | Quantization Range |
| [in] | satRange | Saturation Range |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Captures video frames and saves the data to virtual memory. The extended version of MWCaptureVideoFrameToVirtualAddress but has more parameters for controlling.
+
| MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameWithOSDToPhysicalAddress | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +iFrame, | +
| + | + | LARGE_INTEGER | +llFrameAddress, | +
| + | + | DWORD | +cbFrame, | +
| + | + | DWORD | +cbStride, | +
| + | + | BOOLEAN | +bBottomUp, | +
| + | + | MWCAP_PTR64 | +pvContext, | +
| + | + | DWORD | +dwFOURCC, | +
| + | + | int | +cx, | +
| + | + | int | +cy, | +
| + | + | HOSD | +hOSDImage, | +
| + | + | const RECT * | +pOSDRects, | +
| + | + | int | +cOSDRects | +
| + | ) | ++ |
Saves the captured video frame to physical memory and adds OSD.
+| [in] | hChannel | channel handle that has started video capturing |
| [in] | iFrame | Video frame number to be captured |
| [in] | llFrameAddress | Physical addresses that store the captured video frames |
| [in] | cbFrame | Byte length of memory that stores the captured data |
| [in] | cbStride | Step of memory that stores the captured data |
| [in] | bBottomUp | Whether to store the captured video frames from bottom to top |
| [in] | pvContext | Custom context pointer |
| [in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
| [in] | cx | width of captured video frames |
| [in] | cy | Height of captured video frames |
| [in] | hOSDImage | handle of OSD image which is got by using MWCreateImage. |
| [in] | pOSDRects | Target areas of OSD image |
| [in] | cOSDRects | Number of OSD image target areas |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Be cautious when using it.
+
| MW_RESULT LIBMWCAPTURE_API MWCaptureVideoFrameWithOSDToVirtualAddress | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +iFrame, | +
| + | + | MWCAP_PTR | +pbFrame, | +
| + | + | DWORD | +cbFrame, | +
| + | + | DWORD | +cbStride, | +
| + | + | BOOLEAN | +bBottomUp, | +
| + | + | MWCAP_PTR64 | +pvContext, | +
| + | + | DWORD | +dwFOURCC, | +
| + | + | int | +cx, | +
| + | + | int | +cy, | +
| + | + | HOSD | +hOSDImage, | +
| + | + | const RECT * | +pOSDRects, | +
| + | + | int | +cOSDRects | +
| + | ) | ++ |
Captures video frames to virtual memory, and adds OSD.
+| [in] | hChannel | channel handle that has started video capturing |
| [in] | iFrame | Video frame number to be captured |
| [out] | pbFrame | virtual addresses that store the captured video frames |
| [in] | cbFrame | Byte length of memory that stores the captured data |
| [in] | cbStride | Step of memory that stores the captured data |
| [in] | bBottomUp | Whether to store the captured video frames from bottom to top |
| [in] | pvContext | Custom context pointer |
| [in] | dwFOURCC | Color format of captured video frames, see MWFOURCC.h. |
| [in] | cx | Width of captured video frames |
| [in] | cy | Height of captured video frames |
| [in] | hOSDImage | Handle of OSD image which is got by using MWCreateImage |
| [in] | pOSDRects | Target areas of OSD image |
| [in] | cOSDRects | Number of OSD image target areas |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Saves the captured video frame to virtual memory, and adds OSD.
+
| MW_RESULT LIBMWCAPTURE_API MWClearEvent | +( | +MWCAP_PTR | +hEvent | ) | ++ |
Resets the event.
+| [in] | hEvent | Event |
| MW_RESULT LIBMWCAPTURE_API MWCloseEvent | +( | +MWCAP_PTR | +hEvent | ) | ++ |
Destroys the event.
+| [in] | hEvent | Event handle |
| MW_RESULT LIBMWCAPTURE_API MWCloseImage | +( | +HCHANNEL | +hChannel, | +
| + | + | HOSD | +hImage, | +
| + | + | LONG * | +plRet | +
| + | ) | ++ |
Turns off the OSD image.
+| [in] | hChannel | Opened channel handle |
| [in] | hImage | Image handle |
| [out] | plRet | Returns counts of the image being called |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Turns off the OSD image and frees the OSD occupied resources.
+Related function(s): MWOpenImage
+ Using MWCreateImage needs to call MWCloseImage.
+ Using MWOpenImage needs to call MWCloseImage.
+
| MWCAP_PTR LIBMWCAPTURE_API MWCreateEvent | +( | +) | ++ |
Creates events.
+| HOSD LIBMWCAPTURE_API MWCreateImage | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +cx, | +
| + | + | int | +cy | +
| + | ) | ++ |
Creates OSD image.
+| [in] | hChannel | Opened channel handle |
| [in] | cx | Width of image |
| [in] | cy | Height of image |
Usage:
+Creates OSD image.
+Related function(s): MWCaptureVideoFrameWithOSDToVirtualAddress
+
| MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoResolutionsCount | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD * | +dwCount | +
| + | ) | ++ |
Gets number of custom video resolutions.
+| [in] | hChannel | Opened channel handle |
| [out] | dwCount | Number of custom video resolutions |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetCustomVideoTimingsCount | +( | +HCHANNEL | +hChannel, | +
| + | + | DWORD * | +dwCount | +
| + | ) | ++ |
Gets number of custom video timings.
+| [in] | hChannel | Opened channel handle |
| [out] | dwCount | Number of custom video timings |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWGetStreamCount | +( | +HCHANNEL | +hChannel, | +
| + | + | int * | +pnCount | +
| + | ) | ++ |
Gets the number of streams according to channel handle.
+| [in] | hChannel | channel handle |
| [in] | pnCount | the number of streams |
| MW_RESULT LIBMWCAPTURE_API MWGetStreamInfos | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_STREAM_INFO * | +pStreamInfos, | +
| + | + | int * | +pnCount | +
| + | ) | ++ |
Gets the informations of streams according to channel handle.
+| [in] | hChannel | channel handle |
| [in] | pStreamInfos | information of streams |
| [in] | pnCount | the number of streams |
| MW_RESULT LIBMWCAPTURE_API MWGetVideoBrightness | +( | +HCHANNEL | +hChannel, | +
| + | + | int * | +pnBrightness | +
| + | ) | ++ |
Gets the brightness of video captured according to channel handle.
+| [in] | hChannel | Channel handle |
| [out] | pnBrightness | Brightness of video captured |
| MW_RESULT LIBMWCAPTURE_API MWGetVideoBufferInfo | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_BUFFER_INFO * | +pVideoBufferInfo | +
| + | ) | ++ |
Gets video bufferring information.
+| [in] | hChannel | channel handle that has started video capturing |
| [out] | pVideoBufferInfo | Video bufferring information |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets video buffer on-board storage information that gives you the current number of video buffer frames and the frame id being cached.
+Related function(s): MWRegisterNotify
+ MWRegisterTimer
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureOSDSettings | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_OSD_SETTINGS * | +paOSDSettings | +
| + | ) | ++ |
Gets OSD settings.
+| [in] | hChannel | Opened channel handle |
| [out] | paOSDSettings | OSD settings |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Only png and rgba images are supported.
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoCaptureStatus | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_CAPTURE_STATUS * | +pStatus | +
| + | ) | ++ |
Gets video capture state, and frees up system storage.
+| [in] | hChannel | channel handle that has started video capturing |
| [out] | pStatus | Returns video capture state |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets video capture state. After the capture function call is completed, call the function, which gets the capture state while cleaning up the occupied system storage.
+Related function(s): MWRegisterNotify
+ MWRegisterTimer
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoContrast | +( | +HCHANNEL | +hChannel, | +
| + | + | int * | +pnContrast | +
| + | ) | ++ |
Gets the contrast of video captured according to channel handle.
+| [in] | hChannel | Channel handle |
| [out] | pnContrast | Contrast of video captured |
| MW_RESULT LIBMWCAPTURE_API MWGetVideoFrameInfo | +( | +HCHANNEL | +hChannel, | +
| + | + | BYTE | +i, | +
| + | + | MWCAP_VIDEO_FRAME_INFO * | +pVideoFrameInfo | +
| + | ) | ++ |
Gets video frame information.
+| [in] | hChannel | Video channel handle that has started video capturing |
| [in] | i | Video frame index |
| [out] | pVideoFrameInfo | Returns video frame information |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets video frame information, including bufferring start and end time with time code.
+Related function(s): MWRegisterNotify
+ MWRegisterTimer
+
| MW_RESULT LIBMWCAPTURE_API MWGetVideoHue | +( | +HCHANNEL | +hChannel, | +
| + | + | int * | +pnHue | +
| + | ) | ++ |
Gets the hue of video captured according to channel handle.
+| [in] | hChannel | Channel handle |
| [in] | pnHue | Hue of video captured |
| MW_RESULT LIBMWCAPTURE_API MWGetVideoOSDImage | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_OSD_IMAGE * | +pOSDImage | +
| + | ) | ++ |
Gets OSD according to channel handle.
+| [in] | hChannel | Channel handle |
| [out] | pOSDImage | OSD image |
| MW_RESULT LIBMWCAPTURE_API MWGetVideoSaturation | +( | +HCHANNEL | +hChannel, | +
| + | + | int * | +pnSaturation | +
| + | ) | ++ |
Gets the saturation of video captured according to channel handle.
+| [in] | hChannel | Channel handle |
| [out] | pnSaturation | Saturation of video captured |
| BOOLEAN LIBMWCAPTURE_API MWIsSetEvent | +( | +MWCAP_PTR | +hEvent | ) | ++ |
Querys whether the event is triggered.
+| [in] | hEvent | Event |
| DWORD LIBMWCAPTURE_API MWMultiWaitEvent | +( | +MWCAP_PTR * | +hEvents, | +
| + | + | int | +nCount, | +
| + | + | int | +nTimeout | +
| + | ) | ++ |
Waits for the events.
+| [in] | hEvents | Events |
| [in] | nCount | The number of event objects |
| [in] | nTimeout | Timeout period |
| MW_RESULT LIBMWCAPTURE_API MWOpenImage | +( | +HCHANNEL | +hChannel, | +
| + | + | HOSD | +hImage, | +
| + | + | LONG * | +plRet | +
| + | ) | ++ |
Opens OSD images.
+| [in] | hChannel | Opened channel handle |
| [in] | hImage | Image handle |
| [out] | plRet | Returns counts of the image being called |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Opens OSD image, and loads it to specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWPinVideoBuffer | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_PTR | +pbFrame, | +
| + | + | DWORD | +cbFrame | +
| + | ) | ++ |
Locks a segment of virtual memory to reduce CPU load when capturing video data to that memory.
+| [in] | hChannel | Opened channel handle |
| [in] | pbFrame | Virtual memory address |
| [in] | cbFrame | Virtual memory size |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Locks a segment of virtual memory to reduce the CPU usage when storing the captured video clips to that memory.
+
| MW_RESULT LIBMWCAPTURE_API MWReloadPreset | +( | +HCHANNEL | +hChannel | ) | ++ |
Reloads the presetting configurations of video capture according to channel handle.
+| [in] | hChannel | Channel handle |
| MW_RESULT LIBMWCAPTURE_API MWSaveSettingsAsPreset | +( | +HCHANNEL | +hChannel | ) | ++ |
Saves the presetting configurations of video capture according to channel handle.
+| [in] | hChannel | Channel handle |
| MW_RESULT LIBMWCAPTURE_API MWSetCtrlStreamID | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +nCrtlID | +
| + | ) | ++ |
Sets the ID of controlled stream according to channel handle.
+| [in] | hChannel | channel handle |
| [in] | nCrtlID | ID of controlled stream |
| MW_RESULT LIBMWCAPTURE_API MWSetEvent | +( | +MWCAP_PTR | +hEvent | ) | ++ |
Triggers the event.
+| [in] | hEvent | Event |
| MW_RESULT LIBMWCAPTURE_API MWSetVideoBrightness | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +nBrightness | +
| + | ) | ++ |
Sets the brightness of video captured according to channel handle.
+| [in] | hChannel | Channel handle |
| [in] | nBrightness | Brightness of video captured |
| MW_RESULT LIBMWCAPTURE_API MWSetVideoCaptureOSDSettings | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_OSD_SETTINGS * | +paOSDSettings | +
| + | ) | ++ |
Sets OSD configurations.
+| [in] | hChannel | Opened channel handle |
| [out] | paOSDSettings | OSD configurations |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| MW_RESULT LIBMWCAPTURE_API MWSetVideoContrast | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +nContrast | +
| + | ) | ++ |
Sets the contrast of video captured according to channel handle.
+| [in] | hChannel | Channel handle |
| [in] | nContrast | Contrast of video captured |
| MW_RESULT LIBMWCAPTURE_API MWSetVideoHue | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +nHue | +
| + | ) | ++ |
Sets the hue of video captured according to channel handle.
+| [in] | hChannel | Channel handle |
| [in] | nHue | Hue of video captured |
| MW_RESULT LIBMWCAPTURE_API MWSetVideoOSDImage | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_OSD_IMAGE | +OSDImage | +
| + | ) | ++ |
Sets OSD according to channel handle.
+| [in] | hChannel | Channel handle |
| [in] | OSGImage | OSD image |
| MW_RESULT LIBMWCAPTURE_API MWSetVideoSaturation | +( | +HCHANNEL | +hChannel, | +
| + | + | int | +nSaturation | +
| + | ) | ++ |
Sets the saturation of video captured according to channel handle.
+| [in] | hChannel | Channel handle |
| [in] | nSaturation | Saturation of video captured |
| MW_RESULT LIBMWCAPTURE_API MWStartVideoCapture | +( | +HCHANNEL | +hChannel, | +
| + | + | MWHANDLE | +hEvent | +
| + | ) | ++ |
Starts video capture.
+| [in] | hChannel | Opened channel handle |
| [in] | hEvent | An event handle |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+It is used for Pro capture cards.
+Related function(s): MWRegisterNotify
+ MWRegisterTimer
+
| MW_RESULT LIBMWCAPTURE_API MWStopVideoCapture | +( | +HCHANNEL | +hChannel | ) | ++ |
Stops the video capture.
+| [in] | hChannel | Opened channel handle |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+ Related function(s): MWRegisterNotify
+ MWRegisterTimer
+
| int LIBMWCAPTURE_API MWTryWaitEvent | +( | +MWCAP_PTR | +hEvent | ) | ++ |
Waits for the event.
+| [in] | hEvent | Event |
| MW_RESULT LIBMWCAPTURE_API MWUnpinVideoBuffer | +( | +HCHANNEL | +hChannel, | +
| + | + | LPBYTE | +pbFrame | +
| + | ) | ++ |
Unlocks a segment of virtual memory.
+| [in] | hChannel | Opened channel handle |
| [in] | pbFrame | Virtual memory address |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Unlocks a segment of virtual memory, and works with MWPinVideoBuffer.
+Related function(s): MWPinVideoBuffer
+
| MW_RESULT LIBMWCAPTURE_API MWUploadImageFromPhysicalAddress | +( | +HCHANNEL | +hChannel, | +
| + | + | HOSD | +hImage, | +
| + | + | MWCAP_VIDEO_COLOR_FORMAT | +cfDest, | +
| + | + | MWCAP_VIDEO_QUANTIZATION_RANGE | +quantRangeDest, | +
| + | + | MWCAP_VIDEO_SATURATION_RANGE | +satRangeDest, | +
| + | + | WORD | +xDest, | +
| + | + | WORD | +yDest, | +
| + | + | WORD | +cxDest, | +
| + | + | WORD | +cyDest, | +
| + | + | LARGE_INTEGER | +llSrcFrameAddress, | +
| + | + | DWORD | +cbSrcFrame, | +
| + | + | DWORD | +cbSrcStride, | +
| + | + | WORD | +cxSrc, | +
| + | + | WORD | +cySrc, | +
| + | + | BOOLEAN | +bSrcBottomUp, | +
| + | + | BOOLEAN | +bSrcPixelAlpha, | +
| + | + | BOOLEAN | +bSrcPixelXBGR | +
| + | ) | ++ |
Uploads an image from physical memory to capture device.
+| [in] | hChannel | Opened channel handle |
| [in] | hImage | Image handle |
| [in] | cfDest | Color format of the target image |
| [in] | quantRangeDest | Quantization range of the target image |
| [in] | satRangeDest | Saturation range of the target image |
| [in] | xDest | Horizontal target position |
| [in] | yDest | Vertical target position |
| [in] | cxDest | Target width of image |
| [in] | cyDest | Target height of image |
| [in] | llSrcFrameAddress | Physical address that stores the source image |
| [in] | cbSrcFrame | Data length of source image |
| [in] | cbSrcStride | Data step of source image |
| [in] | cxSrc | Width of source image |
| [in] | cySrc | Height of source image |
| [in] | bSrcBottomUp | Whether the source image is up-side-down |
| [in] | bSrcPixelAlpha | Whether there is an alpha component in the source image |
| [in] | bSrcPixelXBGR | Whether the color format of the source image is XBGR |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Uploads an image from physical memory to capture device.
+Be cautious when using it.
+
| MW_RESULT LIBMWCAPTURE_API MWUploadImageFromVirtualAddress | +( | +HCHANNEL | +hChannel, | +
| + | + | HOSD | +hImage, | +
| + | + | MWCAP_VIDEO_COLOR_FORMAT | +cfDest, | +
| + | + | MWCAP_VIDEO_QUANTIZATION_RANGE | +quantRangeDest, | +
| + | + | MWCAP_VIDEO_SATURATION_RANGE | +satRangeDest, | +
| + | + | WORD | +xDest, | +
| + | + | WORD | +yDest, | +
| + | + | WORD | +cxDest, | +
| + | + | WORD | +cyDest, | +
| + | + | MWCAP_PTR64 | +pvSrcFrame, | +
| + | + | DWORD | +cbSrcFrame, | +
| + | + | DWORD | +cbSrcStride, | +
| + | + | WORD | +cxSrc, | +
| + | + | WORD | +cySrc, | +
| + | + | BOOLEAN | +bSrcBottomUp, | +
| + | + | BOOLEAN | +bSrcPixelAlpha, | +
| + | + | BOOLEAN | +bSrcPixelXBGR | +
| + | ) | ++ |
Uploads images from virtual memory to capture device.
+| [in] | hChannel | Opened channel handle |
| [in] | hImage | Image handle |
| [in] | cfDest | Color format of the target image |
| [in] | quantRangeDest | Quantization range of the target image |
| [in] | satRangeDest | Saturation range of the target image |
| [in] | xDest | Horizontal target position |
| [in] | yDest | Vertical target position |
| [in] | cxDest | Target width of image |
| [in] | cyDest | Target height of image |
| [in] | pvSrcFrame | Source image |
| [in] | cbSrcFrame | Data length of source image |
| [in] | cbSrcStride | Data step of source image |
| [in] | cxSrc | Width of source image |
| [in] | cySrc | Height of source image |
| [in] | bSrcBottomUp | Whether the source image is up-side-down |
| [in] | bSrcPixelAlpha | Whether there is an alpha component in the source image |
| [in] | bSrcPixelXBGR | Whether the color format of the source image is XBGR |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Uploads images from system memory to capture device.
+
| int LIBMWCAPTURE_API MWWaitEvent | +( | +MWCAP_PTR | +hEvent, | +
| + | + | int | +nTimeout | +
| + | ) | ++ |
Waits for the event.
+| [in] | hEvent | Event |
| [in] | nTimeout | Timeout period |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Functions | |
| HCHANNEL LIBMWCAPTURE_API | MWOpenChannel (int nBoardValue, int nChannelIndex) |
| Opens capture channel by the rotary number and channel number. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetDeviceTime (HCHANNEL hChannel, LONGLONG *pllTime) |
| Gets time value of capture device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWSetDeviceTime (HCHANNEL hChannel, LONGLONG llTime) |
| Sets time of capture device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWRegulateDeviceTime (HCHANNEL hChannel, LONGLONG llTime) |
| Adjusts time of capture device. More... | |
| HTIMER LIBMWCAPTURE_API | MWRegisterTimer (HCHANNEL hChannel, MWHANDLE hEvent) |
| Registers a timer event object. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUnregisterTimer (HCHANNEL hChannel, HTIMER hTimer) |
| Unregisters a timer event object. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWScheduleTimer (HCHANNEL hChannel, HTIMER hTimer, LONGLONG llExpireTime) |
| Schedules timer event objects. More... | |
| HNOTIFY LIBMWCAPTURE_API | MWRegisterNotify (HCHANNEL hChannel, MWHANDLE hEvent, DWORD dwEnableBits) |
| Registers an event notification. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUnregisterNotify (HCHANNEL hChannel, HNOTIFY hNotify) |
| Unregisters an event notification object. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetNotifyStatus (HCHANNEL hChannel, HNOTIFY hNotify, ULONGLONG *pullStatus) |
| Gets current notification status. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWStartAudioCapture (HCHANNEL hChannel) |
| Starts audio capturing of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWStopAudioCapture (HCHANNEL hChannel) |
| Stops audio capturing of specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWCaptureAudioFrame (HCHANNEL hChannel, MWCAP_AUDIO_CAPTURE_FRAME *pAudioCaptureFrame) |
| Captures an audio frame. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWGetTemperature (HCHANNEL hChannel, unsigned int *pnTemp) |
| Gets the temperature of capture card. More... | |
| MW_RESULT LIBMWCAPTURE_API MWCaptureAudioFrame | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_AUDIO_CAPTURE_FRAME * | +pAudioCaptureFrame | +
| + | ) | ++ |
Captures an audio frame.
+| [in] | hChannel | Channel handle of opened audio capture |
| [out] | pAudioCaptureFrame | Returns an audio frame |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Captures audio frames.
+Related function(s): MWStartAudioCapture
+For LPCM to capture up to 8 channel data, the channel correspondence are 0L, 1L, 2L, 3L, 0R, 1R, 2R, 3R.
| MW_RESULT LIBMWCAPTURE_API MWGetDeviceTime | +( | +HCHANNEL | +hChannel, | +
| + | + | LONGLONG * | +pllTime | +
| + | ) | ++ |
Gets time value of capture device.
+| [in] | hChannel | Opened channel handle |
| [out] | pllTime | Returns time value of capture device in 100ns |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Gets device time, uses the same clock for different channels on the same capture device.
+
| MW_RESULT LIBMWCAPTURE_API MWGetNotifyStatus | +( | +HCHANNEL | +hChannel, | +
| + | + | HNOTIFY | +hNotify, | +
| + | + | ULONGLONG * | +pullStatus | +
| + | ) | ++ |
Gets current notification status.
+| [in] | hChannel | Opened channel handle |
| [in] | hNotify | Handle of registerred notification event object |
| [out] | pullStatus | Returns notification status. The value refers to the note of MWRegisterNotify |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+The function is used for Pro capture cards to get notification status.
+Related function(s): MWRegisterNotify
+
| MW_RESULT LIBMWCAPTURE_API MWGetTemperature | +( | +HCHANNEL | +hChannel, | +
| + | + | unsigned int * | +pnTemp | +
| + | ) | ++ |
Gets the temperature of capture card.
+| [in] | hChannel | Opened channel handle |
| [out] | pnTemp | Capture card temperature |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| HCHANNEL LIBMWCAPTURE_API MWOpenChannel | +( | +int | +nBoardValue, | +
| + | + | int | +nChannelIndex | +
| + | ) | ++ |
Opens capture channel by the rotary number and channel number.
+| [in] | nBoardValue | Rotary number on the capture device, 0 to f |
| [in] | nChannelIndex | Channel index, starts from 0 |
Usage:
+
| HNOTIFY LIBMWCAPTURE_API MWRegisterNotify | +( | +HCHANNEL | +hChannel, | +
| + | + | MWHANDLE | +hEvent, | +
| + | + | DWORD | +dwEnableBits | +
| + | ) | ++ |
Registers an event notification.
+| [in] | hChannel | Opened channel handle |
| [in] | hEvent | An event handle |
| [in] | dwEnableBits | Type mask for notifications |
Usage:
+The API is used to trigger Pro capture cards to capture video clips by notification type.
+
| HTIMER LIBMWCAPTURE_API MWRegisterTimer | +( | +HCHANNEL | +hChannel, | +
| + | + | MWHANDLE | +hEvent | +
| + | ) | ++ |
Registers a timer event object.
+| [in] | hChannel | Opened channel handle |
| [in] | hEvent | Event handle |
| MW_RESULT LIBMWCAPTURE_API MWRegulateDeviceTime | +( | +HCHANNEL | +hChannel, | +
| + | + | LONGLONG | +llTime | +
| + | ) | ++ |
Adjusts time of capture device.
+| [in] | hChannel | Opened channel handle |
| [in] | llTime | Adjusted time in 100ns. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Adjusts device time.
+
| MW_RESULT LIBMWCAPTURE_API MWScheduleTimer | +( | +HCHANNEL | +hChannel, | +
| + | + | HTIMER | +hTimer, | +
| + | + | LONGLONG | +llExpireTime | +
| + | ) | ++ |
Schedules timer event objects.
+| [in] | hChannel | Opened channel handle |
| [in] | hTimer | Scheduled timer event objects |
| [in] | llExpireTime | Sets the time value of the scheduled timer event, which is the absolute value of the capture device's clock. |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+ The API is used for pro capture cards to set the time when the timer event object is triggered.
+Related function(s): MWRegisterTimer
+
| MW_RESULT LIBMWCAPTURE_API MWSetDeviceTime | +( | +HCHANNEL | +hChannel, | +
| + | + | LONGLONG | +llTime | +
| + | ) | ++ |
Sets time of capture device.
+| [in] | hChannel | Opened channel handle |
| [in] | llTime | Sets the time value of the capture device clock, which is in 100 nanoseconds |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Sets the clock of capture device.
+
| MW_RESULT LIBMWCAPTURE_API MWStartAudioCapture | +( | +HCHANNEL | +hChannel | ) | ++ |
Starts audio capturing of specified channel.
+| [in] | hChannel | Opened channel handle |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Starts audio capturing of specified channel.
+
| MW_RESULT LIBMWCAPTURE_API MWStopAudioCapture | +( | +HCHANNEL | +hChannel | ) | ++ |
Stops audio capturing of specified channel.
+| [in] | hChannel | channel handle of opened audio capture |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+ Stops audio capturing of specified channel.
+ The API is used together with MWStartAudioCapture.
| MW_RESULT LIBMWCAPTURE_API MWUnregisterNotify | +( | +HCHANNEL | +hChannel, | +
| + | + | HNOTIFY | +hNotify | +
| + | ) | ++ |
Unregisters an event notification object.
+| [in] | hChannel | Channel handle |
| [in] | hNotify | Event notification handle |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+The API is used for Pro capture cards to unregister event.
+Related function(s): MWRegisterNotify
+
| MW_RESULT LIBMWCAPTURE_API MWUnregisterTimer | +( | +HCHANNEL | +hChannel, | +
| + | + | HTIMER | +hTimer | +
| + | ) | ++ |
Unregisters a timer event object.
+| [in] | hChannel | Opened channel handle |
| [in] | hTimer | Handle of timer event object that has been registered |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+ The API is used for pro capture cards that specify the capture interval between adjacent video frames.
+Related function(s): MWRegisterTimer(HCHANNEL hChannel, HANDLE hEvent)
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Functions | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBRegisterHotPlug (LPFN_HOT_PLUG_CALLBACK lpfnCallback, void *pParam) |
| Registers hotplug callback function of USB capture device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBUnRegisterHotPlug () |
| Unregisters hotplug callback function. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetNotifyEnable (HUSBCHANNEL hChannel, MWCAP_NOTIFY_ENABLE *pNotify) |
| Sets notification types for specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetNotifyStatus (HUSBCHANNEL hChannel, uint64_t *pullStatusBit) |
| Gets notification status of USB specified channel. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetFirmwareErase (HUSBCHANNEL hChannel, uint32_t cbOffset, uint32_t cbErase) |
| Erases firmware data from USB device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetFirmwareReadAddress (HUSBCHANNEL hChannel, uint32_t *pdwAddress) |
| Gets read address of USB device firmware. More... | |
| 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. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetLoopThroughValid (HUSBCHANNEL hChannel, bool_t *pbValid) |
| Gets whether the loopthrough interface in the USB device is valid. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetAudioVolume (HUSBCHANNEL hChannel, MWCAP_USB_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume) |
| Gets the volume of USB audio device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetAudioVolume (HUSBCHANNEL hChannel, MWCAP_USB_AUDIO_NODE audioNode, MWCAP_AUDIO_VOLUME *pVolume) |
| Sets the volume of USB audio device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoOutputFOURCC (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FOURCC *pOutputFourCC) |
| Gets capture formats supported by the USB device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoOutputFOURCC (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FOURCC *pOutputFourCC) |
| Sets capture formats supported by the USB device, 3 at most. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoOutputFrameSize (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_SIZE *pFrameSize) |
| Gets resolutions of captured images supported by the USB device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoOutputFrameSize (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_SIZE *pFrameSize) |
| Sets resolutions supported by the USB device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoOutputFrameInterval (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_INTERVAL *pFrameInterval) |
| Gets capture intervals supported by USB device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetVideoOutputFrameInterval (HUSBCHANNEL hChannel, MWCAP_VIDEO_OUTPUT_FRAME_INTERVAL *pFrameInterval) |
| Sets capture intervals supported by USB device. More... | |
| 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. More... | |
| 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. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetDeviceNameMode (HUSBCHANNEL hChannel, MWCAP_DEVICE_NAME_MODE *pNameMode) |
| Gets device name pattern of USB device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetDeviceNameMode (HUSBCHANNEL hChannel, MWCAP_DEVICE_NAME_MODE *pNameMode) |
| Sets device name pattern of USB device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSaveOptions (HUSBCHANNEL hChannel) |
| Saves configurations. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBLoadOptions (HUSBCHANNEL hChannel) |
| Loads the saved configurations. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBResetOptions (HUSBCHANNEL hChannel) |
| Restores to the default settings. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetExtensionSupported (HUSBCHANNEL hChannel, uint32_t *pdwFlag) |
| Gets extended Hid interfaces supported by USB device. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetEDIDMode (HUSBCHANNEL hChannel, MWCAP_EDID_MODE *pMode) |
| Gets current edid mode. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBSetEDIDMode (HUSBCHANNEL hChannel, MWCAP_EDID_MODE mode) |
| Sets the edid mode. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoCaptureSupportFrameRate (HCHANNEL hChannel, MWCAP_VIDEO_FRAMERATE *pFramerate, int *nCount) |
| Gets frame rates supported by USB device based on v4l. More... | |
| MW_RESULT LIBMWCAPTURE_API | MWUSBGetVideoCaptureSupportFrameRateEx (HCHANNEL hChannel, MWCAP_VIDEO_FRAMERATE_EX *pFramerate, int *nCount) |
| Gets frame rates supported by USB device based on v4l. More... | |
| 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 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 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 Hid interfaces supported by USB device.
+| [in] | hChannel | Channel handle of USB device |
| [out] | pdwFlag | Flag of the extended supported Hid interfaces |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+The meaning of the pdwFlag refers to MWCAP_HID_EXTENSION_XX.
+
| MW_RESULT LIBMWCAPTURE_API MWUSBGetFirmwareReadAddress | +( | +HUSBCHANNEL | +hChannel, | +
| + | + | uint32_t * | +pdwAddress | +
| + | ) | ++ |
Gets read address of USB device firmware.
+| [in] | hChannel | Channel handle of USB device |
| [out] | pdwAddress | Read address of firmware |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+
| 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 valid 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 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 MWUSBGetVideoCaptureSupportFrameRate | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_FRAMERATE * | +pFramerate, | +
| + | + | int * | +nCount | +
| + | ) | ++ |
Gets frame rates supported by USB device based on v4l.
+| [in] | hChannel | Channel handle of USB device |
| [out] | pFramerate | Frame rates supported by USB device. When it is set to NULL, only the number of supported frame rates is returned. |
| [in,out] | nCount | As an input parameter, it indicates the pointer points to the size of pFramerate array. As an output parameter, it indicates the number of capture frame rates 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 MWUSBGetVideoCaptureSupportFrameRateEx | +( | +HCHANNEL | +hChannel, | +
| + | + | MWCAP_VIDEO_FRAMERATE_EX * | +pFramerate, | +
| + | + | int * | +nCount | +
| + | ) | ++ |
Gets frame rates supported by USB device based on v4l.
+| [in] | hChannel | Channel handle of USB device |
| [out] | pFramerate | Capture frame rates supported by USB device |
| [in,out] | nCount | As an input parameter, it indicates the pointer points to the size of pFramerate array. As an output parameter, it indicates the number of capture frame rates 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 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 formats |
| 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 MWUSBLoadOptions | +( | +HUSBCHANNEL | +hChannel | ) | ++ |
Loads the saved 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:
+
| 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 parameter |
| 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 | ) | ++ |
Restores to the default settings.
+| [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 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 MWUSBSetFirmwareErase | +( | +HUSBCHANNEL | +hChannel, | +
| + | + | uint32_t | +cbOffset, | +
| + | + | uint32_t | +cbErase | +
| + | ) | ++ |
Erases firmware data from USB device.
+| [in] | hChannel | Channel handle of USB device |
| [in] | cbOffset | Address offset |
| [in] | cbErase | Erased size |
| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
| 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 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 MWUSBUnRegisterHotPlug | +( | +) | ++ |
Unregisters hotplug callback function.
+| MW_SUCCEEDED | Function call succeeded. |
| MW_FAILED | Function call failed. |
| MW_INVALID_PARAMS | Input invalid value(s). |
Usage:
+Unregisters hotplug callback function of USB capture device.
+Refers to MWUSBRegisterHotPlug
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Typedefs | |
| typedef void(* | MW_ENCODER_CALLBACK) (void *user_ptr, const uint8_t *p_frame, uint32_t frame_len, mw_venc_frame_info_t *p_frame_info) |
| Callback functions. More... | |
+Functions | |
| mw_venc_status_t | mw_venc_init () |
| Initializes mw_venc. More... | |
| mw_venc_status_t | mw_venc_deinit () |
| Destroys mw_venc. More... | |
| int32_t | mw_venc_get_gpu_num () |
| Obtains the number of GPUs for hardware video encoding and decoding. More... | |
| mw_venc_status_t | mw_venc_get_gpu_info_by_index (int32_t index, mw_venc_gpu_info_t *info) |
| Obtains hardware information of GPU by index. More... | |
| mw_venc_status_t | mw_venc_get_default_param (mw_venc_param_t *p_param) |
| Gets the default value of encoding parameters. More... | |
| uint32_t | mw_venc_get_support_platfrom () |
| Gets supported encoding hardware platform. More... | |
| mw_venc_handle_t | mw_venc_create (mw_venc_platform_t platform, mw_venc_param_t *p_param, MW_ENCODER_CALLBACK frame_callback, void *user_ptr) |
| Creates an encoder. More... | |
| mw_venc_handle_t | mw_venc_create_by_index (int32_t index, mw_venc_param_t *p_param, MW_ENCODER_CALLBACK frame_callback, void *user_ptr) |
| Ctreats an encoder. More... | |
| mw_venc_status_t | mw_venc_put_frame (mw_venc_handle_t handle, uint8_t *p_frame) |
| Imports data to encoders. More... | |
| mw_venc_status_t | mw_venc_put_frame_ex (mw_venc_handle_t handle, uint8_t *p_frame, int64_t pts) |
| Imports data to encoders. More... | |
| mw_venc_status_t | mw_venc_destory (mw_venc_handle_t handle) |
| Destroys encoders. More... | |
| mw_venc_status_t | mw_venc_get_property (mw_venc_handle_t handle, mw_venc_property_t param, void *args) |
| Gets encoder parameters. More... | |
| mw_venc_status_t | mw_venc_set_property (mw_venc_handle_t handle, mw_venc_property_t param, void *args) |
| Sets encoder parameters. More... | |
| typedef void(* MW_ENCODER_CALLBACK) (void *user_ptr, const uint8_t *p_frame, uint32_t frame_len, mw_venc_frame_info_t *p_frame_info) | +
Callback functions.
+out code date.
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+
| mw_venc_handle_t mw_venc_create | +( | +mw_venc_platform_t | +platform, | +
| + | + | mw_venc_param_t * | +p_param, | +
| + | + | MW_ENCODER_CALLBACK | +frame_callback, | +
| + | + | void * | +user_ptr | +
| + | ) | ++ |
Creates an encoder.
+| [in] | platform | Hardware encoding platform |
| [in] | p_param | Encoder parameters |
| [in] | frame_callback | Encoder callback function |
| [in] | user_ptr | Callback parameter |
Usage:
+ The recommended way to call the function is as follows.
| mw_venc_handle_t mw_venc_create_by_index | +( | +int32_t | +index, | +
| + | + | mw_venc_param_t * | +p_param, | +
| + | + | MW_ENCODER_CALLBACK | +frame_callback, | +
| + | + | void * | +user_ptr | +
| + | ) | ++ |
Ctreats an encoder.
+| [in] | index | index of GPU used for hardware encoding |
| [in] | p_param | parameters of the encoder |
| [in] | frame_callback | callback |
| [in] | user_ptr | callback parameters |
Usage:
+ The recommended way to call the function is as follows.
| mw_venc_status_t mw_venc_deinit | +( | +) | ++ |
Destroys mw_venc.
+Usage: Refers to mw_venc_init
+ +| mw_venc_status_t mw_venc_destory | +( | +mw_venc_handle_t | +handle | ) | ++ |
Destroys encoders.
+| [in] | handle | Encoder handle |
| MW_VENC_STATUS_SUCCESS | Function call succeeded. |
| MW_VENC_STATUS_INVALID_PARAM | Input invalid value(s). |
Usage:
+The usage refers to mw_venc_create mw_venc_create_by_index
| mw_venc_status_t mw_venc_get_default_param | +( | +mw_venc_param_t * | +p_param | ) | ++ |
Gets the default value of encoding parameters.
+| [out] | p_param | encoding parameters |
| MW_VENC_STATUS_SUCCESS | Function call succeeded. |
| MW_VENC_STATUS_INVALID_PARAM | Input invalid value(s). |
Related type(s):
+mw_venc_param_t
+Sets the default value of the parameters.
+
| mw_venc_status_t mw_venc_get_gpu_info_by_index | +( | +int32_t | +index, | +
| + | + | mw_venc_gpu_info_t * | +info | +
| + | ) | ++ |
Obtains hardware information of GPU by index.
+| MW_VENC_STATUS_SUCCESS | Function call succeeded. |
| MW_VENC_STATUS_INVALID_PARAM | Input invalid value(s). |
Related type(s):
+ mw_venc_gpu_info_t Usage:
+
Call the function after mw_venc_init
+ +| int32_t mw_venc_get_gpu_num | +( | +) | ++ |
Obtains the number of GPUs for hardware video encoding and decoding.
+Usage: Refers to mw_venc_init Note: Call the function after mw_venc_init
+ +| mw_venc_status_t mw_venc_get_property | +( | +mw_venc_handle_t | +handle, | +
| + | + | mw_venc_property_t | +param, | +
| + | + | void * | +args | +
| + | ) | ++ |
Gets encoder parameters.
+| [in] | handle | Encoder handle |
| [in] | param | Parameter type |
| [out] | args | Parameter values |
| MW_VENC_STATUS_SUCCESS | Function call succeeded. |
| MW_VENC_STATUS_INVALID_PARAM | Input invalid value(s). |
| MW_VENC_STATUS_FAIL | Failed to get encoder parameters. |
| MW_VENC_STATUS_UNSUPPORT | Unsupported parameter type. |
| MW_VENC_STATUS_UNKNOWN_ERROR | Failed to get encoder parameters with unknown error. |
Usage:
+The usage refers to mw_venc_create mw_venc_create_by_index
| uint32_t mw_venc_get_support_platfrom | +( | +) | ++ |
Gets supported encoding hardware platform.
+Usage:
+The recommended way of calling function:
| mw_venc_status_t mw_venc_init | +( | +) | ++ |
Initializes mw_venc.
+Usage: The suggested API call:
+| mw_venc_status_t mw_venc_put_frame | +( | +mw_venc_handle_t | +handle, | +
| + | + | uint8_t * | +p_frame | +
| + | ) | ++ |
Imports data to encoders.
+| [in] | handle | Encoder handle |
| [in] | p_frame | Frame data |
| MW_VENC_STATUS_SUCCESS | Function call succeeded. |
| MW_VENC_STATUS_INVALID_PARAM | Input invalid value(s). |
| MW_VENC_STATUS_FAIL | Function call failed. |
| MW_VENC_STATUS_UNKNOWN_ERROR | Function call failed with unknown errors. |
Usage:
+The usage refers to mw_venc_create
+ mw_venc_create_by_index
| mw_venc_status_t mw_venc_put_frame_ex | +( | +mw_venc_handle_t | +handle, | +
| + | + | uint8_t * | +p_frame, | +
| + | + | int64_t | +pts | +
| + | ) | ++ |
Imports data to encoders.
+| [in] | handle | Encoder handle |
| [in] | p_frame | Frame data |
| [in] | pts | timestamp |
| MW_VENC_STATUS_SUCCESS | Function call succeeded |
| MW_VENC_STATUS_INVALID_PARAM | Input invalid value(s). |
| MW_VENC_STATUS_FAIL | Function call failed. |
| MW_VENC_STATUS_UNKNOWN_ERROR | Function call failed with unknown errors. |
Usage:
+The usage refers to mw_venc_put_frame
| mw_venc_status_t mw_venc_set_property | +( | +mw_venc_handle_t | +handle, | +
| + | + | mw_venc_property_t | +param, | +
| + | + | void * | +args | +
| + | ) | ++ |
Sets encoder parameters.
+| [in] | handle | Encoder handle [in] param Parameter type |
| [in] | args | Parameter values |
| MW_VENC_STATUS_SUCCESS | Function call succeeded. |
| MW_VENC_STATUS_INVALID_PARAM | Input invalid value(s). |
| MW_VENC_STATUS_FAIL | Function call failed. |
| MW_VENC_STATUS_UNSUPPORT | Unsupported parameter type. |
Usage:
+The usage refers to mw_venc_create mw_venc_create_by_index
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Typedefs | |
| typedef enum mw_venc_frame_type | mw_venc_frame_type_t |
| mw_venc_frame_type_t More... | |
| typedef enum mw_venc_platform | mw_venc_platform_t |
| mw_venc_platform_t More... | |
| typedef enum mw_venc_code_type | mw_venc_code_type_t |
| mw_venc_code_type_t More... | |
| typedef enum mw_venc_targetusage | mw_venc_targetusage_t |
| mw_venc_targetusage_t More... | |
| typedef enum mw_venc_rate_control_mode | mw_venc_rate_control_mode_t |
| mw_venc_rate_control_mode_t More... | |
| typedef enum mw_venc_profile | mw_venc_profile_t |
| mw_venc_profile_t More... | |
| typedef enum mw_venc_level | mw_venc_level_t |
| mw_venc_level_t More... | |
| typedef enum mw_venc_fourcc | mw_venc_fourcc_t |
| mw_venc_fourcc_t More... | |
| typedef enum mw_venc_property | mw_venc_property_t |
| mw_venc_property_t More... | |
| typedef enum mw_venc_status | mw_venc_status_t |
| mw_venc_status_t More... | |
| typedef enum mw_venc_amd_mem_type | mw_venc_amd_mem_type_t |
| mw_venc_amd_mem_type_t More... | |
| typedef enum mw_venc_amd_mem_type mw_venc_amd_mem_type_t | +
mw_venc_amd_mem_type_t
+Defines types when encoding with AMD
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+
| typedef enum mw_venc_code_type mw_venc_code_type_t | +
mw_venc_code_type_t
+Defines code types.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| typedef enum mw_venc_fourcc mw_venc_fourcc_t | +
mw_venc_fourcc_t
+Defines the color format.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| typedef enum mw_venc_frame_type mw_venc_frame_type_t | +
mw_venc_frame_type_t
+Defines the frame types to be encoded.
+Related type(s):
+ mw_venc_frame_info_t
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ MW_ENCODER_CALLBACK
| typedef enum mw_venc_level mw_venc_level_t | +
mw_venc_level_t
+Defines the video encoding level. The higher the level is, the higher the bitrate, resolution, frame rate are being supported.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| typedef enum mw_venc_platform mw_venc_platform_t | +
mw_venc_platform_t
+Defines the hardware types which is used to do hardware encoding.
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| typedef enum mw_venc_profile mw_venc_profile_t | +
mw_venc_profile_t
+Defines the profile type.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| typedef enum mw_venc_property mw_venc_property_t | +
mw_venc_property_t
+Defines the encoder properties.
+Related function(s):
+ mw_venc_get_property mw_venc_set_property
| typedef enum mw_venc_rate_control_mode mw_venc_rate_control_mode_t | +
mw_venc_rate_control_mode_t
+Defines the bitrate controlling types.
+Related type(s):
+ mw_venc_param
+ mw_venc_rate_control
+ MW_VENC_PROPERTY_RATE_CONTROL
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| typedef enum mw_venc_status mw_venc_status_t | +
mw_venc_status_t
+Return status of coding APIs
+ +| typedef enum mw_venc_targetusage mw_venc_targetusage_t | +
mw_venc_targetusage_t
+Defines the preset of quality and speed mode for your encoder.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| enum mw_venc_amd_mem_type | +
mw_venc_amd_mem_type_t
+Defines types when encoding with AMD
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+
| enum mw_venc_code_type | +
mw_venc_code_type_t
+Defines code types.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| enum mw_venc_fourcc | +
mw_venc_fourcc_t
+Defines the color format.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| Enumerator | |
|---|---|
| MW_VENC_FOURCC_UNKNOWN |
+ Unknown. + |
| MW_VENC_FOURCC_NV12 |
+ NV12 equals MWFOURCC_NV12. + |
| MW_VENC_FOURCC_NV21 |
+ NV21 equals MWFOURCC_NV21. + |
| MW_VENC_FOURCC_YV12 |
+ YV12 equals MWFOURCC_YV12. + |
| MW_VENC_FOURCC_I420 |
+ I420 equals MWFOURCC_I420. + |
| MW_VENC_FOURCC_YUY2 |
+ YUY2 equals MWFOURCC_YUY2. + |
| MW_VENC_FOURCC_P010 |
+ P010 equals MWFOURCC_P010. + |
| MW_VENC_FOURCC_BGRA |
+ BGRA equals MWFOURCC_BGRA. + |
| MW_VENC_FOURCC_RGBA |
+ RGBA equals MWFOURCC_RGBA. + |
| MW_VENC_FOURCC_ARGB |
+ ARGB equals MWFOURCC_ARGB. + |
| MW_VENC_FOURCC_ABGR |
+ ABGR equals MWFOURCC_ABGR. + |
| MW_VENC_FOURCC_COUNT |
+ The maximum input value. + |
| enum mw_venc_frame_type | +
mw_venc_frame_type_t
+Defines the frame types to be encoded.
+Related type(s):
+ mw_venc_frame_info_t
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ MW_ENCODER_CALLBACK
| enum mw_venc_level | +
mw_venc_level_t
+Defines the video encoding level. The higher the level is, the higher the bitrate, resolution, frame rate are being supported.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| enum mw_venc_platform | +
mw_venc_platform_t
+Defines the hardware types which is used to do hardware encoding.
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| enum mw_venc_profile | +
mw_venc_profile_t
+Defines the profile type.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| enum mw_venc_property | +
mw_venc_property_t
+Defines the encoder properties.
+Related function(s):
+ mw_venc_get_property mw_venc_set_property
| Enumerator | |
|---|---|
| MW_VENC_PROPERTY_UNKNOWN |
+ Unknown. + |
| MW_VENC_PROPERTY_RATE_CONTROL |
+ Rate: mw_venc_rate_control_t default MW_VENC_RATECONTROL_CBR 4096k. + |
| MW_VENC_PROPERTY_FPS |
+ Frame rate: mw_venc_fps_t default 60/1. + |
| MW_VENC_PROPERTY_GOP_SIZE |
+ GOP: int32_t default 60. + |
| MW_VENC_PROPERTY_SLICE_NUM |
+ Number of slices: int32_t default 1. + |
| MW_VENC_PROPERTY_GOP_REF_SIZE |
+ GOP reference size: int32_t defalut 0, if = 1 -> no b-frame. + |
| MW_VENC_PROPERTY_EXTDATA |
+ Extened data: mw_venc_extdata_t just get vps sps pps. + |
| MW_VENC_PROPERTY_FORCE_IDR |
+ Force IDR. + |
| MW_VENC_PROPERTY_COUNT |
+ The maximum input value. + |
| enum mw_venc_rate_control_mode | +
mw_venc_rate_control_mode_t
+Defines the bitrate controlling types.
+Related type(s):
+ mw_venc_param
+ mw_venc_rate_control
+ MW_VENC_PROPERTY_RATE_CONTROL
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| enum mw_venc_status | +
mw_venc_status_t
+Return status of coding APIs
+| enum mw_venc_targetusage | +
mw_venc_targetusage_t
+Defines the preset of quality and speed mode for your encoder.
+Related type(s):
+ mw_venc_param
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Classes | |
| struct | mw_venc_frame_info |
| mw_venc_frame_info_t Defines the types infomation of frame to be encoded. +Related type(s): + mw_venc_frame_type_t +Related function(s): + mw_venc_create + mw_venc_create_ex + More... | |
| struct | mw_venc_rate_control |
| mw_venc_rate_control_t More... | |
| struct | mw_venc_fps |
| mw_venc_fps_t More... | |
| struct | mw_venc_extdata |
| mw_venc_extdata_t More... | |
| struct | mw_venc_param |
| mw_venc_param_t More... | |
| struct | mw_venc_gpu_info |
| mw_venc_gpu_info_t More... | |
+Typedefs | |
| +typedef struct mw_venc_frame_info | mw_venc_frame_info_t |
| mw_venc_frame_info_t Defines the types infomation of frame to be encoded. +Related type(s): + mw_venc_frame_type_t +Related function(s): + mw_venc_create + mw_venc_create_ex + | |
| typedef struct mw_venc_rate_control | mw_venc_rate_control_t |
| mw_venc_rate_control_t More... | |
| typedef struct mw_venc_fps | mw_venc_fps_t |
| mw_venc_fps_t More... | |
| typedef struct mw_venc_extdata | mw_venc_extdata_t |
| mw_venc_extdata_t More... | |
| typedef struct mw_venc_param | mw_venc_param_t |
| mw_venc_param_t More... | |
| typedef struct mw_venc_gpu_info | mw_venc_gpu_info_t |
| mw_venc_gpu_info_t More... | |
| typedef struct mw_venc_extdata mw_venc_extdata_t | +
mw_venc_extdata_t
+Defines the extended encoding data.
+Related type(s):
+ MW_VENC_PROPERTY_EXTDATA
+Related function(s):
+ mw_venc_get_property mw_venc_set_property
| typedef struct mw_venc_fps mw_venc_fps_t | +
mw_venc_fps_t
+Sets the frame rate.
+Related type(s):
+ MW_VENC_PROPERTY_FPS
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+ mw_venc_get_property mw_venc_set_property
| typedef struct mw_venc_gpu_info mw_venc_gpu_info_t | +
mw_venc_gpu_info_t
+hardware codec information
+ Related type(s):
+ mw_venc_platform_t
+Related function(s):
+ mw_venc_get_gpu_info_by_index
+ mw_venc_create_by_index
+
| typedef struct mw_venc_param mw_venc_param_t | +
mw_venc_param_t
+Encoder configurations
+Related type(s):
+ mw_venc_code_type_t
+ mw_venc_fourcc_t
+ mw_venc_targetusage_t
+ mw_venc_rate_control_t
+ mw_venc_fps_t
+ mw_venc_profile_t
+ mw_venc_level_t
+ mw_venc_amd_mem_type_t
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+
| typedef struct mw_venc_rate_control mw_venc_rate_control_t | +
mw_venc_rate_control_t
+Defines the parameters of bitrate controlling.
+Related type(s):
+ mw_venc_rate_control_mode_t
+ MW_VENC_PROPERTY_RATE_CONTROL
+Related function(s):
+ mw_venc_create
+ mw_venc_create_ex
+ mw_venc_get_default_param
+ mw_venc_get_property mw_venc_set_property
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Functions | |
| MW_MP4_API mw_mp4_handle_t | mw_mp4_open (const char *p_path) |
| MW_MP4_API mw_mp4_status_t | mw_mp4_set_video (mw_mp4_handle_t handle, const mw_mp4_video_info_t *p_info) |
| MW_MP4_API mw_mp4_status_t | mw_mp4_set_audio (mw_mp4_handle_t handle, const mw_mp4_audio_info_t *p_info) |
| MW_MP4_API mw_mp4_status_t | mw_mp4_set_subtitle (mw_mp4_handle_t handle, const mw_mp4_subtitle_info_t *p_info) |
| MW_MP4_API mw_mp4_status_t | mw_mp4_write_video (mw_mp4_handle_t handle, const uint8_t *p_stream, uint32_t size, uint64_t timestamp) |
| MW_MP4_API mw_mp4_status_t | mw_mp4_write_audio (mw_mp4_handle_t handle, const uint8_t *p_stream, uint32_t size, uint64_t timestamp) |
| MW_MP4_API mw_mp4_status_t | mw_mp4_write_subtitle (mw_mp4_handle_t handle, const uint8_t *p_stream, uint32_t size, uint64_t timestamp) |
| MW_MP4_API mw_mp4_status_t | mw_mp4_close (mw_mp4_handle_t handle) |
| MW_MP4_API mw_mp4_status_t | mw_mp4_repair (const char *p_path, bool del) |
| MW_MP4_API mw_mp4_status_t mw_mp4_close | +( | +mw_mp4_handle_t | +handle | ) | ++ |
close an opened MP4 file handle
| handle | mp4 file handle |
| MW_MP4_API mw_mp4_handle_t mw_mp4_open | +( | +const char * | +p_path | ) | ++ |
create a handle to mux video/audio/subtitle stream to mp4 file
| p_path | the output file path |
| MW_MP4_API mw_mp4_status_t mw_mp4_repair | +( | +const char * | +p_path, | +
| + | + | bool | +del | +
| + | ) | ++ |
repair a broken file
| p_path | the broken file path |
| del | automatic delete the redundancy file if repair succeeded. |
| MW_MP4_API mw_mp4_status_t mw_mp4_set_audio | +( | +mw_mp4_handle_t | +handle, | +
| + | + | const mw_mp4_audio_info_t * | +p_info | +
| + | ) | ++ |
set audio stream information, support codec aac
| handle | mp4 handle. |
| p_info | audio stream information. |
| MW_MP4_API mw_mp4_status_t mw_mp4_set_subtitle | +( | +mw_mp4_handle_t | +handle, | +
| + | + | const mw_mp4_subtitle_info_t * | +p_info | +
| + | ) | ++ |
set subtitle(closed caption) stream information, support EIA-608 and EIA-708
| handle | mp4 handle. |
| p_info | subtitle(closed caption) stream information. |
| MW_MP4_API mw_mp4_status_t mw_mp4_set_video | +( | +mw_mp4_handle_t | +handle, | +
| + | + | const mw_mp4_video_info_t * | +p_info | +
| + | ) | ++ |
set video track information, support codec H.264 and HEVC.
| handle | mp4 handle. |
| p_info | video stream information. |
| MW_MP4_API mw_mp4_status_t mw_mp4_write_audio | +( | +mw_mp4_handle_t | +handle, | +
| + | + | const uint8_t * | +p_stream, | +
| + | + | uint32_t | +size, | +
| + | + | uint64_t | +timestamp | +
| + | ) | ++ |
write an audio frame to mp4 file
| handle | mp4 handle |
| p_stream | audio frame data |
| size | audio frame size |
| timestamp | audio frame timestamp |
| MW_MP4_API mw_mp4_status_t mw_mp4_write_subtitle | +( | +mw_mp4_handle_t | +handle, | +
| + | + | const uint8_t * | +p_stream, | +
| + | + | uint32_t | +size, | +
| + | + | uint64_t | +timestamp | +
| + | ) | ++ |
write a subtitle(closed caption) frame to mp4 file
| handle | mp4 handle |
| p_stream | subtitle frame data |
| size | subtitle frame size |
| timestamp | subtitle frame timestamp |
| MW_MP4_API mw_mp4_status_t mw_mp4_write_video | +( | +mw_mp4_handle_t | +handle, | +
| + | + | const uint8_t * | +p_stream, | +
| + | + | uint32_t | +size, | +
| + | + | uint64_t | +timestamp | +
| + | ) | ++ |
write a video frame to mp4 file.
| handle | mp4 handle. |
| p_stream | video frame data |
| size | video frame size |
| timestamp | video frame timestamp |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
| typedef enum _MW_FAMILY_ID MW_FAMILY_ID | +
MW_FAMILY_ID.
+Distinguishes different capture family
+Related type: MWCAP_CHANNEL_INFO
+Related functions:
+MWGetFamilyInfoByIndex
+MWGetFamilyInfo
+MWGetChannelInfoByIndex
+MWGetChannelInfo
+
| typedef enum _MW_RESULT_ MW_RESULT | +
MW_RESULT.
+the interface returns values
+ +| typedef enum _MWCAP_AUDIO_CAPTURE_NODE MWCAP_AUDIO_CAPTURE_NODE | +
MWCAP_AUDIO_CAPTURE_NODE.
+Type of audio capture card
+Related functions are:
+ MWCreateAudioCapture
+
| typedef enum _MWCAP_AUDIO_INPUT_TYPE MWCAP_AUDIO_INPUT_TYPE | +
MWCAP_AUDIO_INPUT_TYPE.
+Defines input interface mask of audio channel
+ +| typedef enum _MWCAP_AUDIO_NODE MWCAP_AUDIO_NODE | +
MWCAP_AUDIO_NODE.
+Audio device type
+Related functions are:
+ MWGetAudioVolume
+ MWSetAudioVolume
+
| typedef enum _MWCAP_HDMI_INFOFRAME_ID MWCAP_HDMI_INFOFRAME_ID | +
MWCAP_HDMI_INFOFRAME_ID.
+Defines HDMI infoframe ID
+Related type: MWCAP_HDMI_INFOFRAME_MASK
+Related functions are:
+ MWGetHDMIInfoFramePacket
+
| typedef enum _MWCAP_HDMI_INFOFRAME_MASK MWCAP_HDMI_INFOFRAME_MASK | +
MWCAP_HDMI_INFOFRAME_MASK.
+Defines mask of HDMI infoframe
+Related type: MWCAP_HDMI_INFOFRAME_ID
+
| typedef enum _MWCAP_LED_MODE MWCAP_LED_MODE | +
MWCAP_LED_MODE.
+Defines LED mode.
+
| typedef enum _MWCAP_PCIE_LINK_TYPE MWCAP_PCIE_LINK_TYPE | +
MWCAP_PCIE_LINK_TYPE.
+Defines the connection type of PCIE and hose
+ +| typedef enum _MWCAP_PRODUCT_ID MWCAP_PRODUCT_ID | +
MWCAP_PRODUCT_ID.
+Distinguishes capture devices.
+ +| typedef enum _MWCAP_SD_VIDEO_STANDARD MWCAP_SD_VIDEO_STANDARD | +
MWCAP_SD_VIDEO_STANDARD.
+Defines the TV broadcast format used.
+
| typedef enum _MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE | +
MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE.
+Defines the aspect ratio conversion
+ +| typedef enum _MWCAP_VIDEO_COLOR_FORMAT MWCAP_VIDEO_COLOR_FORMAT | +
MWCAP_VIDEO_COLOR_FORMAT.
+Defines video color format
+ +| typedef enum _MWCAP_VIDEO_DEINTERLACE_MODE MWCAP_VIDEO_DEINTERLACE_MODE | +
MWCAP_VIDEO_DEINTERLACE_MODE.
+Defines the deinterlace mode
+ +| typedef enum _MWCAP_VIDEO_FRAME_STATE MWCAP_VIDEO_FRAME_STATE | +
MWCAP_VIDEO_FRAME_STATE.
+Defines video frame state.
+Related type: MWCAP_VIDEO_FRAME_INFO
+
| typedef enum _MWCAP_VIDEO_FRAME_TYPE MWCAP_VIDEO_FRAME_TYPE | +
MWCAP_VIDEO_FRAME_TYPE.
+Defines video frame type
+ +| typedef enum _MWCAP_VIDEO_INPUT_TYPE MWCAP_VIDEO_INPUT_TYPE | +
MWCAP_VIDEO_INPUT_TYPE.
+Defines input interface mask of video channel
+ +| typedef enum _MWCAP_VIDEO_PROC_PARAM_TYPE MWCAP_VIDEO_PROC_PARAM_TYPE | +
MWCAP_VIDEO_PROC_PARAM_TYPE.
+Defines parameters type of video process.
+Related functions are:
+ MWGetVideoProcParamRange
+ MWGetVideoProcParam
+ MWSetVideoProcParam
+
| typedef enum _MWCAP_VIDEO_QUANTIZATION_RANGE MWCAP_VIDEO_QUANTIZATION_RANGE | +
MWCAP_VIDEO_QUANTIZATION_RANGE.
+Defines quantization range
+ +| typedef enum _VIDEO_RESOLUTION_MODE MWCAP_VIDEO_RESOLUTION_MODE | +
MWCAP_VIDEO_RESOLUTION_MODE.
+Return value of video resolution
+Related function:
+ MWGetVideoCaptureSupportResolutionMode
+
| typedef enum _MWCAP_VIDEO_SATURATION_RANGE MWCAP_VIDEO_SATURATION_RANGE | +
MWCAP_VIDEO_SATURATION_RANGE.
+Defines video saturation range
+ +| typedef enum _MWCAP_VIDEO_SIGNAL_STATE MWCAP_VIDEO_SIGNAL_STATE | +
MWCAP_VIDEO_SIGNAL_STATE.
+Defines the input signal state
+
| typedef enum _MWCAP_VIDEO_SYNC_TYPE MWCAP_VIDEO_SYNC_TYPE | +
MWCAP_VIDEO_SYNC_TYPE.
+Defines video sync type
+ +| typedef enum _MWCAP_VIDEO_TIMING_TYPE MWCAP_VIDEO_TIMING_TYPE | +
MWCAP_VIDEO_TIMING_TYPE.
+Defines video timing type
+ +| enum _MW_FAMILY_ID | +
MW_FAMILY_ID.
+Distinguishes different capture family
+Related type: MWCAP_CHANNEL_INFO
+Related functions:
+MWGetFamilyInfoByIndex
+MWGetFamilyInfo
+MWGetChannelInfoByIndex
+MWGetChannelInfo
+
| Enumerator | |
|---|---|
| MW_FAMILY_ID_PRO_CAPTURE |
+ Pro Capture family. + |
| MW_FAMILY_ID_VALUE_CAPTURE |
+ Eco Capture family. + |
| MW_FAMILY_ID_USB_CAPTURE |
+ USB Capture family. + |
| enum _MW_RESULT_ | +
| enum _MWCAP_AUDIO_CAPTURE_NODE | +
MWCAP_AUDIO_CAPTURE_NODE.
+Type of audio capture card
+Related functions are:
+ MWCreateAudioCapture
+
| enum _MWCAP_AUDIO_INPUT_TYPE | +
MWCAP_AUDIO_INPUT_TYPE.
+Defines input interface mask of audio channel
+| enum _MWCAP_AUDIO_NODE | +
MWCAP_AUDIO_NODE.
+Audio device type
+Related functions are:
+ MWGetAudioVolume
+ MWSetAudioVolume
+
| enum _MWCAP_HDMI_INFOFRAME_ID | +
MWCAP_HDMI_INFOFRAME_ID.
+Defines HDMI infoframe ID
+Related type: MWCAP_HDMI_INFOFRAME_MASK
+Related functions are:
+ MWGetHDMIInfoFramePacket
+
| enum _MWCAP_HDMI_INFOFRAME_MASK | +
MWCAP_HDMI_INFOFRAME_MASK.
+Defines mask of HDMI infoframe
+Related type: MWCAP_HDMI_INFOFRAME_ID
+
| enum _MWCAP_LED_MODE | +
MWCAP_LED_MODE.
+Defines LED mode.
+
| enum _MWCAP_PCIE_LINK_TYPE | +
| enum _MWCAP_PRODUCT_ID | +
MWCAP_PRODUCT_ID.
+Distinguishes capture devices.
+| enum _MWCAP_SD_VIDEO_STANDARD | +
MWCAP_SD_VIDEO_STANDARD.
+Defines the TV broadcast format used.
+
| enum _MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE | +
MWCAP_VIDEO_ASPECT_RATIO_CONVERT_MODE.
+Defines the aspect ratio conversion
+| enum _MWCAP_VIDEO_COLOR_FORMAT | +
MWCAP_VIDEO_COLOR_FORMAT.
+Defines video color format
+| enum _MWCAP_VIDEO_DEINTERLACE_MODE | +
MWCAP_VIDEO_DEINTERLACE_MODE.
+Defines the deinterlace mode
+| enum _MWCAP_VIDEO_FRAME_STATE | +
MWCAP_VIDEO_FRAME_STATE.
+Defines video frame state.
+Related type: MWCAP_VIDEO_FRAME_INFO
+
| enum _MWCAP_VIDEO_FRAME_TYPE | +
MWCAP_VIDEO_FRAME_TYPE.
+Defines video frame type
+| enum _MWCAP_VIDEO_INPUT_TYPE | +
MWCAP_VIDEO_INPUT_TYPE.
+Defines input interface mask of video channel
+| enum _MWCAP_VIDEO_PROC_PARAM_TYPE | +
MWCAP_VIDEO_PROC_PARAM_TYPE.
+Defines parameters type of video process.
+Related functions are:
+ MWGetVideoProcParamRange
+ MWGetVideoProcParam
+ MWSetVideoProcParam
+
| Enumerator | |
|---|---|
| MWCAP_VIDEO_PROC_BRIGHTNESS |
+ Brightness. + |
| MWCAP_VIDEO_PROC_CONTRAST |
+ Contrast. + |
| MWCAP_VIDEO_PROC_HUE |
+ Hue. + |
| MWCAP_VIDEO_PROC_SATURATION |
+ Saturation. + |
| enum _MWCAP_VIDEO_QUANTIZATION_RANGE | +
MWCAP_VIDEO_QUANTIZATION_RANGE.
+Defines quantization range
+| enum _MWCAP_VIDEO_SATURATION_RANGE | +
MWCAP_VIDEO_SATURATION_RANGE.
+Defines video saturation range
+| enum _MWCAP_VIDEO_SIGNAL_STATE | +
MWCAP_VIDEO_SIGNAL_STATE.
+Defines the input signal state
+
| enum _MWCAP_VIDEO_SYNC_TYPE | +
| enum _MWCAP_VIDEO_TIMING_TYPE | +
MWCAP_VIDEO_TIMING_TYPE.
+Defines video timing type
+| enum _VIDEO_RESOLUTION_MODE | +
MWCAP_VIDEO_RESOLUTION_MODE.
+Return value of video resolution
+Related function:
+ MWGetVideoCaptureSupportResolutionMode
+
| Enumerator | |
|---|---|
| MWCAP_VIDEO_RESOLUTION_MODE_RANGE |
+ Return valur of supported video resolution. + |
| MWCAP_VIDEO_RESOLUTION_MODE_LIST |
+ Return discrete list of supported video resolution. + |
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Macros | |
| #define | INPUT_SOURCE(type, index) (((type) << 8) | ((index) & 0xFF)) |
| Defines audio or video input source. More... | |
| #define | INPUT_TYPE(source) ((source) >> 8) |
| Gets type variables from input sources. More... | |
| #define | INPUT_INDEX(source) ((source) & 0xFF) |
| Gets input source index. More... | |
| #define | MWCAP_NOTIFY_INPUT_SORUCE_START_SCAN 0x0001ULL |
| MWCAP_NOTIFY_INPUT_SOURCE_START_SCAN. More... | |
| #define | MWCAP_NOTIFY_INPUT_SORUCE_STOP_SCAN 0x0002ULL |
| MWCAP_NOTIFY_INPUT_SOURCE_STOP_SCAN. More... | |
| #define | MWCAP_NOTIFY_INPUT_SORUCE_SCAN_CHANGE 0x0003ULL |
| MWCAP_NOTIFY_INPUT_SOURCE_SCAN_CHANGE. More... | |
| #define | MWCAP_NOTIFY_VIDEO_INPUT_SOURCE_CHANGE 0x0004ULL |
| MWCAP_NOTIFY_VIDEO_INPUT_SOURCE_CHANGE. More... | |
| #define | MWCAP_NOTIFY_AUDIO_INPUT_SOURCE_CHANGE 0x0008ULL |
| MWCAP_NOTIFY_AUDIO_INPUT_SOURCE_CHANGE. More... | |
| #define | MWCAP_NOTIFY_INPUT_SPECIFIC_CHANGE 0x0010ULL |
| MWCAP_NOTIFY_INPUT_SPECIFIC_CHANGE. More... | |
| #define | MWCAP_NOTIFY_VIDEO_SIGNAL_CHANGE 0x0020ULL |
| MWCAP_NOTIFY_VIDEO_SIGNAL_CHANGE. More... | |
| #define | MWCAP_NOTIFY_AUDIO_SIGNAL_CHANGE 0x0040ULL |
| MWCAP_NOTIFY_AUDIO_SIGNAL_CHANGE. More... | |
| #define | MWCAP_NOTIFY_VIDEO_FIELD_BUFFERING 0x0080ULL |
| MWCAP_NOTIFY_VIDEO_FIELD_BUFFERING. More... | |
| #define | MWCAP_NOTIFY_VIDEO_FRAME_BUFFERING 0x0100ULL |
| MWCAP_NOTIFY_VIDEO_FRAME_BUFFERING. More... | |
| #define | MWCAP_NOTIFY_VIDEO_FIELD_BUFFERED 0x0200ULL |
| MWCAP_NOTIFY_VIDEO_FIELD_BUFFERED. More... | |
| #define | MWCAP_NOTIFY_VIDEO_FRAME_BUFFERED 0x0400ULL |
| MWCAP_NOTIFY_VIDEO_FRAME_BUFFERED. More... | |
| #define | MWCAP_NOTIFY_VIDEO_SMPTE_TIME_CODE 0x0800ULL |
| MWCAP_NOTIFY_VIDEO_SMPTE_TIME_CODE. More... | |
| #define | MWCAP_NOTIFY_AUDIO_FRAME_BUFFERED 0x1000ULL |
| MWCAP_NOTIFY_AUDIO_FRAME_BUFFERED. More... | |
| #define | MWCAP_NOTIFY_AUDIO_INPUT_RESET 0x2000ULL |
| MWCAP_NOTIFY_AUDIO_INPUT_RESET. More... | |
| #define | MWCAP_NOTIFY_VIDEO_SAMPLING_PHASE_CHANGE 0x4000ULL |
| MWCAP_NOTIFY_VIDEO_SAMPLING_PHASE_CHANGE. More... | |
| #define | MWCAP_NOTIFY_LOOP_THROUGH_CHANGED 0x8000ULL |
| MWCAP_NOTIFY_LOOP_THROUGH_CHANGED. More... | |
| #define | MWCAP_NOTIFY_LOOP_THROUGH_EDID_CHANGED 0x10000ULL |
| MWCAP_NOTIFY_LOOP_THROUGH_EDID_CHANGED. More... | |
| #define | MWCAP_NOTIFY_NEW_SDI_ANC_PACKET 0x20000ULL |
| MWCAP_NOTIFY_NEW_SDI_ANC_PACKET. More... | |
| #define | MWCAP_NOTIFY_HDMI_INFOFRAME_AVI (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_AVI)) |
| MWCAP_NOTIFY_HDMI_INFOFRAME_AVI. More... | |
| #define | MWCAP_NOTIFY_HDMI_INFOFRAME_AUDIO (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_AUDIO)) |
| MWCAP_NOTIFY_HDMI_INFOFRAME_AUDIO. More... | |
| #define | MWCAP_NOTIFY_HDMI_INFOFRAME_SPD (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_SPD)) |
| MWCAP_NOTIFY_HDMI_INFOFRAME_SPD. More... | |
| #define | MWCAP_NOTIFY_HDMI_INFOFRAME_MS (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_MS)) |
| MWCAP_NOTIFY_HDMI_INFOFRAME_MS. More... | |
| #define | MWCAP_NOTIFY_HDMI_INFOFRAME_VS (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_VS)) |
| MWCAP_NOTIFY_HDMI_INFOFRAME_VS. More... | |
| #define | MWCAP_NOTIFY_HDMI_INFOFRAME_ACP (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_ACP)) |
| MWCAP_NOTIFY_HDMI_INFOFRAME_ACP. More... | |
| #define | MWCAP_NOTIFY_HDMI_INFOFRAME_ISRC1 (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_ISRC1)) |
| MWCAP_NOTIFY_HDMI_INFOFRAME_ISRC1. More... | |
| #define | MWCAP_NOTIFY_HDMI_INFOFRAME_ISRC2 (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_ISRC2)) |
| MWCAP_NOTIFY_HDMI_INFOFRAME_ISRC2. More... | |
| #define | MWCAP_NOTIFY_HDMI_INFOFRAME_GAMUT (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_GAMUT)) |
| MWCAP_NOTIFY_HDMI_INFOFRAME_GAMUT. More... | |
| #define | MWCAP_VIDEO_FRAME_ID_NEWEST_BUFFERED (-1) |
| MWCAP_VIDEO_FRAME_ID_NEWEST_BUFFERED. More... | |
| #define | MWCAP_VIDEO_FRAME_ID_NEWEST_BUFFERING (-2) |
| MWCAP_VIDEO_FRAME_ID_NEWEST_BUFFERING. More... | |
| #define | MWCAP_VIDEO_FRAME_ID_NEXT_BUFFERED (-3) |
| MWCAP_VIDEO_FRAME_ID_NEXT_BUFFERED. More... | |
| #define | MWCAP_VIDEO_FRAME_ID_NEXT_BUFFERING (-4) |
| MWCAP_VIDEO_FRAME_ID_NEXT_BUFFERING. More... | |
| #define | MWCAP_VIDEO_FRAME_ID_EMPTY (-100) |
| MWCAP_VIDEO_FRAME_ID_EMPTY. More... | |
| #define | MWCAP_VIDEO_PROCESS_FLIP 0x00000001 |
| MWCAP_VIDEO_PROCESS_FLIP. More... | |
| #define | MWCAP_VIDEO_PROCESS_MIRROR 0x00000002 |
| MWCAP_VIDEO_PROCESS_MIRROR. More... | |
| #define | MWCAP_AUDIO_SAMPLES_PER_FRAME 192 |
| MWCAP_AUDIO_SAMPLES_PER_FRAME. More... | |
| #define | MWCAP_AUDIO_MAX_NUM_CHANNELS 8 |
| MWCAP_AUDIO_MAX_NUM_CHANNELS. More... | |
| #define | MW_FIRMWARE_NAME_LEN 64 |
| MW_FIRMWARE_NAME_LEN. More... | |
| #define INPUT_INDEX | +( | ++ | source | ) | +((source) & 0xFF) | +
Gets input source index.
+| [in] | source | Input source |
Extracting index variables from input sources
+ +| #define INPUT_SOURCE | +( | ++ | type, | +
| + | + | + | index | +
| + | ) | +(((type) << 8) | ((index) & 0xFF)) | +
Defines audio or video input source.
+| [in] | type | Input source type |
| [in] | index | Index of input source |
Defines the input source by the type or index. The audio input source type refers to MWCAP_AUDIO_INPUT_TYPE. The video input source type refers to MWCAP_VIDEO_INPUT_TYPE
+
| #define INPUT_TYPE | +( | ++ | source | ) | +((source) >> 8) | +
Gets type variables from input sources.
+| [in] | source | Input source |
Extracting type variables from input sources
+ +| #define MW_FIRMWARE_NAME_LEN 64 | +
MW_FIRMWARE_NAME_LEN.
+Max length of firmware file name
+Related type: MWCAP_CHANNEL_INFO
+
| #define MWCAP_AUDIO_MAX_NUM_CHANNELS 8 | +
MWCAP_AUDIO_MAX_NUM_CHANNELS.
+Max audio channels
+Related type:
+ MWCAP_AUDIO_CAPTURE_FRAME
+
| #define MWCAP_AUDIO_SAMPLES_PER_FRAME 192 | +
MWCAP_AUDIO_SAMPLES_PER_FRAME.
+Sample numbers of every audio frame
+Related type:
+ MWCAP_AUDIO_CAPTURE_FRAME
+
| #define MWCAP_NOTIFY_AUDIO_FRAME_BUFFERED 0x1000ULL | +
MWCAP_NOTIFY_AUDIO_FRAME_BUFFERED.
+Event notification. Audio frames have fully bufferred.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_AUDIO_INPUT_RESET 0x2000ULL | +
MWCAP_NOTIFY_AUDIO_INPUT_RESET.
+Event notification. Audio input reset.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_AUDIO_INPUT_SOURCE_CHANGE 0x0008ULL | +
MWCAP_NOTIFY_AUDIO_INPUT_SOURCE_CHANGE.
+Event notification. Audio input changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_AUDIO_SIGNAL_CHANGE 0x0040ULL | +
MWCAP_NOTIFY_AUDIO_SIGNAL_CHANGE.
+Event notification. Audio signal changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_HDMI_INFOFRAME_ACP (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_ACP)) | +
MWCAP_NOTIFY_HDMI_INFOFRAME_ACP.
+Event notification. ACP infoframe changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_HDMI_INFOFRAME_AUDIO (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_AUDIO)) | +
MWCAP_NOTIFY_HDMI_INFOFRAME_AUDIO.
+Event notification. Audio infoframe changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_HDMI_INFOFRAME_AVI (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_AVI)) | +
MWCAP_NOTIFY_HDMI_INFOFRAME_AVI.
+Event notification. AVI infoframe is changing.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_HDMI_INFOFRAME_GAMUT (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_GAMUT)) | +
MWCAP_NOTIFY_HDMI_INFOFRAME_GAMUT.
+Event notification. GAMUT infoframe changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_HDMI_INFOFRAME_ISRC1 (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_ISRC1)) | +
MWCAP_NOTIFY_HDMI_INFOFRAME_ISRC1.
+Event notification. ISRC1 infoframe changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_HDMI_INFOFRAME_ISRC2 (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_ISRC2)) | +
MWCAP_NOTIFY_HDMI_INFOFRAME_ISRC2.
+Event notification. ISRC2 infoframe changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_HDMI_INFOFRAME_MS (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_MS)) | +
MWCAP_NOTIFY_HDMI_INFOFRAME_MS.
+Event notification. MS infoframe changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_HDMI_INFOFRAME_SPD (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_SPD)) | +
MWCAP_NOTIFY_HDMI_INFOFRAME_SPD.
+Event notification. SPD infoframe changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_HDMI_INFOFRAME_VS (1ULL << (32 + MWCAP_HDMI_INFOFRAME_ID_VS)) | +
MWCAP_NOTIFY_HDMI_INFOFRAME_VS.
+Event notification. VS infoframe changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_INPUT_SORUCE_SCAN_CHANGE 0x0003ULL | +
MWCAP_NOTIFY_INPUT_SOURCE_SCAN_CHANGE.
+Event notification. Scan video input source status changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_INPUT_SORUCE_START_SCAN 0x0001ULL | +
MWCAP_NOTIFY_INPUT_SOURCE_START_SCAN.
+Event notification. Start scanning the input source.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_INPUT_SORUCE_STOP_SCAN 0x0002ULL | +
MWCAP_NOTIFY_INPUT_SOURCE_STOP_SCAN.
+Event notification. Stop scanning the input source.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_INPUT_SPECIFIC_CHANGE 0x0010ULL | +
MWCAP_NOTIFY_INPUT_SPECIFIC_CHANGE.
+Event notification. Detailed format of input video changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_LOOP_THROUGH_CHANGED 0x8000ULL | +
MWCAP_NOTIFY_LOOP_THROUGH_CHANGED.
+Event notification. The state of loopthrough interface changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_LOOP_THROUGH_EDID_CHANGED 0x10000ULL | +
MWCAP_NOTIFY_LOOP_THROUGH_EDID_CHANGED.
+Event notification. EDID of loopthrough changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_NEW_SDI_ANC_PACKET 0x20000ULL | +
MWCAP_NOTIFY_NEW_SDI_ANC_PACKET.
+Event notification. New ANC packets.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_VIDEO_FIELD_BUFFERED 0x0200ULL | +
MWCAP_NOTIFY_VIDEO_FIELD_BUFFERED.
+Event notification. Video field has fully buffered.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_VIDEO_FIELD_BUFFERING 0x0080ULL | +
MWCAP_NOTIFY_VIDEO_FIELD_BUFFERING.
+Event notification. Video field is buffering.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_VIDEO_FRAME_BUFFERED 0x0400ULL | +
MWCAP_NOTIFY_VIDEO_FRAME_BUFFERED.
+Event notification. Video frame has fully buffered.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_VIDEO_FRAME_BUFFERING 0x0100ULL | +
MWCAP_NOTIFY_VIDEO_FRAME_BUFFERING.
+Event notification. Video frame is buffering.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_VIDEO_INPUT_SOURCE_CHANGE 0x0004ULL | +
MWCAP_NOTIFY_VIDEO_INPUT_SOURCE_CHANGE.
+Event notification. Video input changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_VIDEO_SAMPLING_PHASE_CHANGE 0x4000ULL | +
MWCAP_NOTIFY_VIDEO_SAMPLING_PHASE_CHANGE.
+Event notification. Video sample phase changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_VIDEO_SIGNAL_CHANGE 0x0020ULL | +
MWCAP_NOTIFY_VIDEO_SIGNAL_CHANGE.
+Event notification. Format of input video changed.
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_NOTIFY_VIDEO_SMPTE_TIME_CODE 0x0800ULL | +
MWCAP_NOTIFY_VIDEO_SMPTE_TIME_CODE.
+Event notification. SMPTE time code
+Related functions are:
+ MWRegisterNotify
+ MWUnregisterNotify
+
| #define MWCAP_VIDEO_FRAME_ID_EMPTY (-100) | +
MWCAP_VIDEO_FRAME_ID_EMPTY.
+Frame ID is empty
+Related type: MWCAP_VIDEO_CAPTURE_STATUS
+
| #define MWCAP_VIDEO_FRAME_ID_NEWEST_BUFFERED (-1) | +
MWCAP_VIDEO_FRAME_ID_NEWEST_BUFFERED.
+The latest buffered frame ID
+Related functions are:
+ MWCaptureVideoFrameToVirtualAddress
+ MWCaptureVideoFrameToPhysicalAddress
+ MWCaptureVideoFrameWithOSDToVirtualAddress
+ MWCaptureVideoFrameWithOSDToPhysicalAddress
+ MWCaptureVideoFrameToVirtualAddressEx
+ MWCaptureVideoFrameToPhysicalAddressEx
+
| #define MWCAP_VIDEO_FRAME_ID_NEWEST_BUFFERING (-2) | +
MWCAP_VIDEO_FRAME_ID_NEWEST_BUFFERING.
+The latest bufferring frame ID
+Related functions are:
+ MWCaptureVideoFrameToVirtualAddress
+ MWCaptureVideoFrameToPhysicalAddress
+ MWCaptureVideoFrameWithOSDToVirtualAddress
+ MWCaptureVideoFrameWithOSDToPhysicalAddress
+ MWCaptureVideoFrameToVirtualAddressEx
+ MWCaptureVideoFrameToPhysicalAddressEx
+
| #define MWCAP_VIDEO_FRAME_ID_NEXT_BUFFERED (-3) | +
MWCAP_VIDEO_FRAME_ID_NEXT_BUFFERED.
+The next bufferred frame ID
+Related functions are:
+ MWCaptureVideoFrameToVirtualAddress
+ MWCaptureVideoFrameToPhysicalAddress
+ MWCaptureVideoFrameWithOSDToVirtualAddress
+ MWCaptureVideoFrameWithOSDToPhysicalAddress
+ MWCaptureVideoFrameToVirtualAddressEx
+ MWCaptureVideoFrameToPhysicalAddressEx
+
| #define MWCAP_VIDEO_FRAME_ID_NEXT_BUFFERING (-4) | +
MWCAP_VIDEO_FRAME_ID_NEXT_BUFFERING.
+The next bufferring frame ID
+Related functions are:
+ MWCaptureVideoFrameToVirtualAddress
+ MWCaptureVideoFrameToPhysicalAddress
+ MWCaptureVideoFrameWithOSDToVirtualAddress
+ MWCaptureVideoFrameWithOSDToPhysicalAddress
+ MWCaptureVideoFrameToVirtualAddressEx
+ MWCaptureVideoFrameToPhysicalAddressEx
+
| #define MWCAP_VIDEO_PROCESS_FLIP 0x00000001 | +
MWCAP_VIDEO_PROCESS_FLIP.
+Flip video images Up-side-down Related type: MWCAP_VIDEO_PROCESS_SETTINGS
+
| #define MWCAP_VIDEO_PROCESS_MIRROR 0x00000002 | +
MWCAP_VIDEO_PROCESS_MIRROR.
+Flip video images left to right
+Related type: MWCAP_VIDEO_PROCESS_SETTINGS
+
|
+ MWCapture SDK Linux
+ 3.3.1.LAST_SVN_COMMIT_NUM
+
+ |
+
+Classes | |
| struct | _MWCAP_VIDEO_SYNC_INFO |
| MWCAP_VIDEO_SYNC_INFO. More... | |
| struct | _MWCAP_VIDEO_TIMING |
| MWCAP_VIDEO_TIMING. More... | |
| struct | _MWCAP_VIDEO_TIMING_SETTINGS |
| MWCAP_VIDEO_TIMING_SETTINGS. More... | |
| struct | _MWCAP_DWORD_PARAMETER_RANGE |
| MWCAP_DWORD_PARAMETER_RANGE. More... | |
| struct | _MWCAP_DWORD_PARAMETER_VALUE |
| MWCAP_DWORD_PARAMETER_VALUE. More... | |
| struct | _MWCAP_CHANNEL_INFO |
| MWCAP_CHANNEL_INFO. More... | |
| struct | _MWCAP_PRO_CAPTURE_INFO |
| MWCAP_PRO_CAPTURE_INFO. More... | |
| struct | _MWCAP_VIDEO_CAPS |
| MWCAP_VIDEO_CAPS. More... | |
| struct | _MWCAP_AUDIO_CAPS |
| MWCAP_AUDIO_CAPS. More... | |
| struct | _MWCAP_FIRMWARE_STORAGE_CARD |
| MWCAP_FIRMWARE_STORAGE_CARD. More... | |
| struct | _MWCAP_FIRMWARE_STORAGE_USB |
| MWCAP_FIRMWARE_STORAGE_USB. More... | |
| union | _MWCAP_FIRMWARE_STORAGE |
| MWCAP_FIRMWARE_STORAGE. More... | |
| struct | _MWCAP_FIRMWARE_ERASE |
| MWCAP_FIRMWARE_ERASE. More... | |
| struct | _MWCAP_SDI_SPECIFIC_STATUS |
| MWCAP_SDI_SPECIFIC_STATUS. More... | |
| struct | _MWCAP_HDMI_VIDEO_TIMING |
| MWCAP_HDMI_VIDEO_TIMING. More... | |
| struct | _MWCAP_HDMI_SPECIFIC_STATUS |
| MWCAP_HDMI_SPECIFIC_STATUS. More... | |
| struct | _MWCAP_COMPONENT_SPECIFIC_STATUS |
| MWCAP_COMPONENT_SPECIFIC_STATUS. More... | |
| struct | _MWCAP_CVBS_YC_SPECIFIC_STATUS |
| MWCAP_CVBS_YC_SPECIFIC_STATUS. More... | |
| struct | _MWCAP_INPUT_SPECIFIC_STATUS |
| MWCAP_INPUT_SPECIFIC_STATUS. More... | |
| struct | _MWCAP_VIDEO_SIGNAL_STATUS |
| MWCAP_VIDEO_SIGNAL_STATUS. More... | |
| struct | _MWCAP_AUDIO_SIGNAL_STATUS |
| MWCAP_AUDIO_SIGNAL_STATUS. More... | |
| struct | _MWCAP_SMPTE_TIMECODE |
| MWCAP_SMPTE_TIMECODE. More... | |
| struct | _MWCAP_VIDEO_BUFFER_INFO |
| MWCAP_VIDEO_BUFFER_INFO. More... | |
| struct | _MWCAP_VIDEO_FRAME_INFO |
| MWCAP_VIDEO_FRAME_INFO. More... | |
| struct | _MWCAP_VIDEO_CAPTURE_STATUS |
| MWCAP_VIDEO_CAPTURE_STATUS. More... | |
| struct | _MWCAP_AUDIO_CAPTURE_FRAME |
| MWCAP_AUDIO_CAPTURE_FRAME. More... | |
| struct | _MWCAP_VIDEO_CONNECTION_FORMAT |
| MWCAP_VIDEO_CONNECTION_FORMAT. More... | |
| struct | _MWCAP_VIDEO_PROCESS_SETTINGS |
| MWCAP_VIDEO_PROCESS_SETTINGS. More... | |
| struct | _VIDEO_RESOLUTION |
| MWCAP_VIDEO_RESOLUTION. More... | |
| struct | _VIDEO_RESOLUTION_RANGE |
| MWCAP_VIDEO_RESOLUTION_RANGE. More... | |
| struct | _VIDEO_RESOLUTION_LIST |
| MWCAP_VIDEO_RESOLUTION_LIST. More... | |
| struct | _MWCAP_VIDEO_OSD_SETTINGS |
| MWCAP_VIDEO_OSD_SETTINGS. More... | |
| struct | _MWCAP_VIDEO_CUSTOM_TIMING |
| MWCAP_VIDEO_CUSTOM_TIMING. More... | |
| struct | _MWCAP_SDI_ANC_TYPE |
| MWCAP_SDI_ANC_TYPE. More... | |
| struct | _MWCAP_SDI_ANC_PACKET |
| MWCAP_SDI_ANC_PACKET. More... | |
| struct | _MWCAP_VIDEO_ECO_CAPTURE_OPEN |
| MWCAP_VIDEO_ECO_CAPTURE_OPEN. More... | |
| struct | _MWCAP_VIDEO_ECO_CAPTURE_SETTINGS |
| MWCAP_VIDEO_ECO_CAPTURE_SETTINGS. More... | |
| struct | _MWCAP_VIDEO_ECO_CAPTURE_FRAME |
| MWCAP_VIDEO_ECO_CAPTURE_FRAME. More... | |
| struct | _MWCAP_VIDEO_ECO_CAPTURE_STATUS |
| MWCAP_VIDEO_ECO_CAPTURE_STATUS. More... | |
| struct | _HDMI_AVI_INFOFRAME_PAYLOAD |
| HDMI_AVI_INFOFRAME_PAYLOAD. More... | |
| struct | _HDMI_INFOFRAME_HEADER |
| HDMI_INFOFRAME_HEADER. More... | |
| struct | _HDMI_INFOFRAME_PACKET |
| HDMI_INFOFRAME_PACKET. More... | |
| struct | _MWUSBCAP_CAPTURE_INFO |
| MWUSBCAP_CAPTURE_INFO. More... | |
| typedef struct _HDMI_AVI_INFOFRAME_PAYLOAD HDMI_AVI_INFOFRAME_PAYLOAD | +
HDMI_AVI_INFOFRAME_PAYLOAD.
+Records AVI infoframe.
+
| typedef struct _HDMI_INFOFRAME_HEADER HDMI_INFOFRAME_HEADER | +
HDMI_INFOFRAME_HEADER.
+Records HDMI infoframe header
+ Related struct HDMI_INFOFRAME_PACKET
+
| typedef struct _HDMI_INFOFRAME_PACKET HDMI_INFOFRAME_PACKET | +
HDMI_INFOFRAME_PACKET.
+Records HDMI infoframe
+ Related function MWGetHDMIInfoFramePacket
+
| typedef struct _MWCAP_AUDIO_CAPS MWCAP_AUDIO_CAPS | +
MWCAP_AUDIO_CAPS.
+Records audio capture capability of your card.
+Usage:
Where dwCaps correspond to
+
It is used for USB capture card to determine whether your USB capture card support for audio function
+ +| typedef struct _MWCAP_AUDIO_CAPTURE_FRAME MWCAP_AUDIO_CAPTURE_FRAME | +
MWCAP_AUDIO_CAPTURE_FRAME.
+Records audio frame info.
+Related functions are:
+ MWCaptureAudioFrame
+
| typedef struct _MWCAP_AUDIO_SIGNAL_STATUS MWCAP_AUDIO_SIGNAL_STATUS | +
MWCAP_AUDIO_SIGNAL_STATUS.
+Records audio signal status.
+Related functions is
+ MWGetAudioSignalStatus
+
| typedef struct _MWCAP_CHANNEL_INFO MWCAP_CHANNEL_INFO | +
MWCAP_CHANNEL_INFO.
+Records detailed channel information
+ Related functions are:
+ MWGetChannelInfoByIndex
+ MWGetChannelInfo
| typedef struct _MWCAP_COMPONENT_SPECIFIC_STATUS MWCAP_COMPONENT_SPECIFIC_STATUS | +
MWCAP_COMPONENT_SPECIFIC_STATUS.
+Records the Component signal status.
+Related data type are
+ MWCAP_INPUT_SPECIFIC_STATUS
+Related functions are:
+ MWGetInputSpecificStatus
+
| typedef struct _MWCAP_CVBS_YC_SPECIFIC_STATUS MWCAP_CVBS_YC_SPECIFIC_STATUS | +
MWCAP_CVBS_YC_SPECIFIC_STATUS.
+Records CVBS_YC signal status.
+Related data type is
+ MWCAP_INPUT_SPECIFIC_STATUS
+Related functions is
+ MWGetInputSpecificStatus
+
| typedef struct _MWCAP_DWORD_PARAMETER_RANGE MWCAP_DWORD_PARAMETER_RANGE | +
MWCAP_DWORD_PARAMETER_RANGE.
+Defines parameters value range, step and the default value.
+
| typedef struct _MWCAP_DWORD_PARAMETER_VALUE MWCAP_DWORD_PARAMETER_VALUE | +
MWCAP_DWORD_PARAMETER_VALUE.
+Defines a DWORD
+
| typedef MWCAP_PRO_CAPTURE_INFO MWCAP_ECO_CAPTURE_INFO | +
MWCAP_ECO_CAPTURE_INFO.
+Records ECO Capture Device connections.
+ Related functions are:
+ MWGetFamilyInfoByIndex
+ MWGetFamilyInfo
| typedef struct _MWCAP_FIRMWARE_ERASE MWCAP_FIRMWARE_ERASE | +
MWCAP_FIRMWARE_ERASE.
+Specifies the firmware storage area to erase.
+
| typedef union _MWCAP_FIRMWARE_STORAGE MWCAP_FIRMWARE_STORAGE | +
MWCAP_FIRMWARE_STORAGE.
+Records firmware storage information.
+Related data type:
+ MWCAP_FIRMWARE_STORAGE_USB
+ MWCAP_FIRMWARE_STORAGE_CARD
+Related functions are:
+MWGetFirmwareStorageInfo
+
| typedef struct _MWCAP_FIRMWARE_STORAGE_CARD MWCAP_FIRMWARE_STORAGE_CARD | +
MWCAP_FIRMWARE_STORAGE_CARD.
+Records firmware storage information of your capture card
+Related data type: MWCAP_FIRMWARE_STORAGE
| typedef struct _MWCAP_FIRMWARE_STORAGE_USB MWCAP_FIRMWARE_STORAGE_USB | +
MWCAP_FIRMWARE_STORAGE_USB.
+Records firmware storage information of the USB capture card
+Related data type: MWCAP_FIRMWARE_STORAGE
| typedef struct _MWCAP_HDMI_SPECIFIC_STATUS MWCAP_HDMI_SPECIFIC_STATUS | +
MWCAP_HDMI_SPECIFIC_STATUS.
+Records the HDMI signal status.
+Related data type are
+ MWCAP_INPUT_SPECIFIC_STATUS
+Related functions are:
+ MWGetInputSpecificStatus
+
| typedef struct _MWCAP_HDMI_VIDEO_TIMING MWCAP_HDMI_VIDEO_TIMING | +
MWCAP_HDMI_VIDEO_TIMING.
+Records HDMI timing.
+Related data type are
+ MWCAP_HDMI_SPECIFIC_STATUS
+ MWCAP_INPUT_SPECIFIC_STATUS
+Related functions is:
+ MWGetInputSpecificStatus
+
| typedef struct _MWCAP_INPUT_SPECIFIC_STATUS MWCAP_INPUT_SPECIFIC_STATUS | +
MWCAP_INPUT_SPECIFIC_STATUS.
+Records input signal status.
+Related functions are:
+ MWGetInputSpecificStatus
+
| typedef struct _MWCAP_PRO_CAPTURE_INFO MWCAP_PRO_CAPTURE_INFO | +
MWCAP_PRO_CAPTURE_INFO.
+Records Pro Capture Device connections.
+ Related functions are:
+ MWGetFamilyInfoByIndex
+ MWGetFamilyInfo
| typedef struct _MWCAP_SDI_ANC_PACKET MWCAP_SDI_ANC_PACKET | +
MWCAP_SDI_ANC_PACKET.
+SDI ANC
+Related functions are:
+ MWCaptureGetSDIANCPacket
+
| typedef struct _MWCAP_SDI_ANC_TYPE MWCAP_SDI_ANC_TYPE | +
MWCAP_SDI_ANC_TYPE.
+Configurations of SDI ANC
+Related functions are:
+ MWCaptureSetSDIANCType
+
| typedef struct _MWCAP_SDI_SPECIFIC_STATUS MWCAP_SDI_SPECIFIC_STATUS | +
MWCAP_SDI_SPECIFIC_STATUS.
+Records SDI signal status
+Related data type is:
+ MWCAP_INPUT_SPECIFIC_STATUS
+Related function is:
+ MWGetInputSpecificStatus
+
| typedef struct _MWCAP_SMPTE_TIMECODE MWCAP_SMPTE_TIMECODE | +
MWCAP_SMPTE_TIMECODE.
+Records SMPTE timecode.
+Related type: MWCAP_VIDEO_FRAME_INFO
+
| typedef struct _MWCAP_VIDEO_BUFFER_INFO MWCAP_VIDEO_BUFFER_INFO | +
MWCAP_VIDEO_BUFFER_INFO.
+Records video buffer information.
+Related functions are:
+ MWGetVideoBufferInfo
+
| typedef struct _MWCAP_VIDEO_CAPS MWCAP_VIDEO_CAPS | +
MWCAP_VIDEO_CAPS.
+Records video capture capability.
+Usage:
Where dwCaps correspond to
It is used for USB capture card to determin whether a loopthrough interface or color format like I420 is supported by your USB capture card. For other capture card, it is always 0.
+ +| typedef struct _MWCAP_VIDEO_CAPTURE_STATUS MWCAP_VIDEO_CAPTURE_STATUS | +
MWCAP_VIDEO_CAPTURE_STATUS.
+Records state of video capture.
+Related functions are:
+ MWGetVideoCaptureStatus
+
| typedef struct _MWCAP_VIDEO_CONNECTION_FORMAT MWCAP_VIDEO_CONNECTION_FORMAT | +
MWCAP_VIDEO_CONNECTION_FORMAT.
+Defines video connection format
+
| typedef struct _MWCAP_VIDEO_CUSTOM_TIMING MWCAP_VIDEO_CUSTOM_TIMING | +
MWCAP_VIDEO_CUSTOM_TIMING.
+Defines custom video timing.
+Related functions are:
+ MWSetCustomVideoTiming
+
| typedef struct _MWCAP_VIDEO_ECO_CAPTURE_FRAME MWCAP_VIDEO_ECO_CAPTURE_FRAME | +
MWCAP_VIDEO_ECO_CAPTURE_FRAME.
+ECO capture frames,MAC doesn't support
+
| typedef struct _MWCAP_VIDEO_ECO_CAPTURE_OPEN MWCAP_VIDEO_ECO_CAPTURE_OPEN | +
MWCAP_VIDEO_ECO_CAPTURE_OPEN.
+ECO capture configurations,MAC doesn't support
+
| typedef struct _MWCAP_VIDEO_ECO_CAPTURE_SETTINGS MWCAP_VIDEO_ECO_CAPTURE_SETTINGS | +
MWCAP_VIDEO_ECO_CAPTURE_SETTINGS.
+ECO capture configurations,MAC doesn't support
+
| typedef struct _MWCAP_VIDEO_ECO_CAPTURE_STATUS MWCAP_VIDEO_ECO_CAPTURE_STATUS | +
MWCAP_VIDEO_ECO_CAPTURE_STATUS.
+ECO capture status, obatains the captured video,MAC doesn't support.
+
| typedef struct _MWCAP_VIDEO_FRAME_INFO MWCAP_VIDEO_FRAME_INFO | +
MWCAP_VIDEO_FRAME_INFO.
+Records video frame information
+Related functions are:
+ MWGetVideoFrameInfo
+
| typedef struct _MWCAP_VIDEO_OSD_SETTINGS MWCAP_VIDEO_OSD_SETTINGS | +
MWCAP_VIDEO_OSD_SETTINGS.
+Defines OSD
+Related functions are:
+ MWGetVideoOSDSettings
+ MWSetVideoOSDSettings
+
| typedef struct _MWCAP_VIDEO_PROCESS_SETTINGS MWCAP_VIDEO_PROCESS_SETTINGS | +
MWCAP_VIDEO_PROCESS_SETTINGS.
+Defines settings of video process
+Related functions are:
+ MWUSBGetVideoCaptureProcessSettings
+ MWUSBSetVideoCaptureProcessSettings
+
| typedef struct _VIDEO_RESOLUTION MWCAP_VIDEO_RESOLUTION | +
MWCAP_VIDEO_RESOLUTION.
+Video resolution
+Related types: MWCAP_VIDEO_RESOLUTION_RANGE
+ MWCAP_VIDEO_RESOLUTION_LIST
+
| typedef struct _VIDEO_RESOLUTION_LIST MWCAP_VIDEO_RESOLUTION_LIST | +
MWCAP_VIDEO_RESOLUTION_LIST.
+Video resolution list
+Related functions is:
+ MWGetVideoCaptureSupportListResolution
+
| typedef struct _VIDEO_RESOLUTION_RANGE MWCAP_VIDEO_RESOLUTION_RANGE | +
MWCAP_VIDEO_RESOLUTION_RANGE.
+Range of video resolution
+Related function:
+ MWGetVideoCaptureSupportRangeResolution
+
| typedef struct _MWCAP_VIDEO_SIGNAL_STATUS MWCAP_VIDEO_SIGNAL_STATUS | +
MWCAP_VIDEO_SIGNAL_STATUS.
+Defines video signal status.
+Related functions are:
+ MWGetVideoSignalStatus
+
| typedef struct _MWCAP_VIDEO_SYNC_INFO MWCAP_VIDEO_SYNC_INFO | +
MWCAP_VIDEO_SYNC_INFO.
+Records the sync info of the timing
+ +| typedef struct _MWCAP_VIDEO_TIMING MWCAP_VIDEO_TIMING | +
MWCAP_VIDEO_TIMING.
+Records video channel timing
+ The related function is MWSetVideoTiming
| typedef struct _MWCAP_VIDEO_TIMING_SETTINGS MWCAP_VIDEO_TIMING_SETTINGS | +
MWCAP_VIDEO_TIMING_SETTINGS.
+Records video timing settings
+ which is in both MWCAP_VIDEO_CUSTOM_TIMING and MWCAP_COMPONENT_SPECIFIC_STATUS.
+ Related functions are MWGetCustomVideoTimings
+ MWSetCustomVideoTimings
+ MWSetCustomVideoTiming
| typedef struct _MWUSBCAP_CAPTURE_INFO MWUSBCAP_CAPTURE_INFO | +
MWUSBCAP_CAPTURE_INFO.
+Records connection information of USB device.
+ Related function(s): MWGetFamilyInfoByIndex
+ MWGetFamilyInfo
|
+ MWCapture SDK Linux
+ 3.3.1.1515
+
+ |
+
Version 3 of the Magewell Software Development Kit ("SDKv3") is the latest release of the software development kit supporting Magewell's Pro/Eco Capture, USB Capture Gen 2 and USB Capture Plus families. The SDK is designed to be easy to use and provides many reference examples to help you get up to speed and allow you to quickly port and optimize your applications and algorithms.
+Focusing on programmer productivity, the SDK's software development libraries and examples include tools for improving application development and performance optimization. The development libraries provide APIs developed by Magewell that enable you to incorporate functionality specific to our capture devices - such as audio and video capture, obtaining input signal information, setting the input source and more - into your software. You can use these examples directly or use the included examples to build your own applications.
+Note:
+| t |
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_SUCCEEDED | + *Function call succeeded. | + *
| #MW_FAILED | + *Function call failed. | + *
| #MW_INVALID_PARAMS | + *Input invalid value(s). | + *
| #MW_VENC_STATUS_SUCCESS | + *Function call succeeded. | + *
| #MW_VENC_STATUS_INVALID_PARAM | + *Input invalid value(s). | + *
| #MW_VENC_STATUS_SUCCESS | + *Function call succeeded. | + *
| #MW_VENC_STATUS_INVALID_PARAM | + *Input invalid value(s). | + *
| #MW_VENC_STATUS_FAIL | + *Function call failed. | + *
| #MW_VENC_STATUS_UNKNOWN_ERROR | + *Function call failed with unknown errors. | + *
| #MW_VENC_STATUS_SUCCESS | + *Function call succeeded. | + *
| #MW_VENC_STATUS_INVALID_PARAM | + *Input invalid value(s). | + *
| #MW_VENC_STATUS_FAIL | + *Function call failed. | + *
| #MW_VENC_STATUS_UNKNOWN_ERROR | + *Function call failed with unknown errors. | + *
| #MW_VENC_STATUS_SUCCESS | + *Function call succeeded. | + *
| #MW_VENC_STATUS_INVALID_PARAM | + *Input invalid value(s). | + *
| #MW_VENC_STATUS_SUCCESS | + *Function call succeeded. | + *
| #MW_VENC_STATUS_INVALID_PARAM | + *Input invalid value(s). | + *
| #MW_VENC_STATUS_FAIL | + *Failed to get encoder parameters. | + *
| #MW_VENC_STATUS_UNSUPPORT | + *Unsupported parameter type. | + *
| #MW_VENC_STATUS_UNKNOWN_ERROR | + *Failed to get encoder parameters with unknown error. | + *
| #MW_VENC_STATUS_SUCCESS | + *Function call succeeded. | + *
| #MW_VENC_STATUS_INVALID_PARAM | + *Input invalid value(s). | + *
| #MW_VENC_STATUS_FAIL | + *Function call failed. | + *
| #MW_VENC_STATUS_UNSUPPORT | + *Unsupported parameter type. | + *
| #MW_VENC_STATUS_SUCCESS | + *Function call succeeded. | + *
| #MW_VENC_STATUS_INVALID_PARAM | + *Input invalid value(s). | + *