LibMWCapture  3.3.1
LibMWCapture Documentation
MWEcoCapture.h
Go to the documentation of this file.
1 /************************************************************************************************/
2 // MWCapture.h : header file
3 
4 // MAGEWELL PROPRIETARY INFORMATION
5 
6 // The following license only applies to head files and library within Magewell's SDK
7 // and not to Magewell's SDK as a whole.
8 
9 // Copyrights © Nanjing Magewell Electronics Co., Ltd. ("Magewell") All rights reserved.
10 
11 // Magewell grands to any person who obtains the copy of Magewell's head files and library
12 // the rights,including without limitation, to use on the condition that the following terms are met:
13 // - The above copyright notice shall be retained in any circumstances.
14 // -The following disclaimer shall be included in the software and documentation and/or
15 // other materials provided for the purpose of publish, distribution or sublicense.
16 
17 // THE SOFTWARE IS PROVIDED BY MAGEWELL "AS IS" AND ANY EXPRESS, INCLUDING BUT NOT LIMITED TO,
18 // THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 // IN NO EVENT SHALL MAGEWELL BE LIABLE
20 
21 // FOR ANY CLAIM, DIRECT OR INDIRECT DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT,
22 // TORT OR OTHERWISE, ARISING IN ANY WAY OF USING THE SOFTWARE.
23 
24 // CONTACT INFORMATION:
25 // SDK@magewell.net
26 // http://www.magewell.com/
27 //
28 /************************************************************************************************/
29 #pragma once
30 
31 #ifdef LIBMWCAPTURE_EXPORTS
32 #define LIBMWCAPTURE_API __declspec(dllexport)
33 #elif LIBMWCAPTURE_DLL
34 #define LIBMWCAPTURE_API __declspec(dllimport)
35 #else
36 #define LIBMWCAPTURE_API
37 #endif
38 
39 #include <stdint.h>
40 #include "MWLinux.h"
41 #include "MWCaptureExtension.h"
42 
43 #ifdef __cplusplus
44 
45 extern "C"
46 {
47 #endif
48 
55 MW_RESULT
58  HCHANNEL hChannel,
59  MWCAP_VIDEO_ECO_CAPTURE_OPEN *pEcoCaptureOpen
60  );
61 
68 MW_RESULT
71  HCHANNEL hChannel,
72  MWCAP_VIDEO_ECO_CAPTURE_SETTINGS *pSettings
73  );
74 
81 MW_RESULT
84  HCHANNEL hChannel,
85  MWCAP_VIDEO_ECO_CAPTURE_FRAME *pFrame
86  );
87 
94 MW_RESULT
97  HCHANNEL hChannel,
98  MWCAP_VIDEO_ECO_CAPTURE_STATUS *pStatus
99  );
100 
106 MW_RESULT
109  HCHANNEL hChannel
110  );
111 
112 #ifdef __cplusplus
113 }
114 #endif
MW_RESULT LIBMWCAPTURE_API MWStartVideoEcoCapture(HCHANNEL hChannel, MWCAP_VIDEO_ECO_CAPTURE_OPEN *pEcoCaptureOpen)
Start video Eco capture according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWGetVideoEcoCaptureStatus(HCHANNEL hChannel, MWCAP_VIDEO_ECO_CAPTURE_STATUS *pStatus)
Get video Eco capture status according to channel handle.
MW_RESULT LIBMWCAPTURE_API MWSetVideoEcoCaptureSettings(HCHANNEL hChannel, MWCAP_VIDEO_ECO_CAPTURE_SETTINGS *pSettings)
Set AMP value of video Eco capture.
MW_RESULT LIBMWCAPTURE_API MWCaptureSetVideoEcoFrame(HCHANNEL hChannel, MWCAP_VIDEO_ECO_CAPTURE_FRAME *pFrame)
Set video Eco capture frame.
MW_RESULT LIBMWCAPTURE_API MWStopVideoEcoCapture(HCHANNEL hChannel)
Stop video Eco capture according to channel handle.
#define LIBMWCAPTURE_API
Definition: MWEcoCapture.h:36