Go to the source code of this file.
Defines | |
#define | DSWCOPEN_API __declspec(dllimport) |
Enumerations | |
enum | EKnownChipsetCat { ECSX_Unknown = 0, ECSX_SAA8112 = 1, ECSX_SAA8116 = 3, ECSX_CREALIVEULTRA = 4, ECSX_LOGIFUSION = 5 } |
The chipsets that DSwcOpen knows about. More... | |
enum | EVidCapPropertySupport { EVCS_no = 0, EVCS_get = 1, EVCS_set = 2, EVCS_both = 3 } |
The capability that DSwcOpen may support for a certain property. More... | |
enum | EVidCapProperty { EVCP_FirstElement = 0, EVCP_Brightness = EVCP_FirstElement, EVCP_Contrast = 1, EVCP_Hue = 2, EVCP_Saturation = 3, EVCP_Sharpness = 4, EVCP_Gamma = 5, EVCP_ColorEnable = 6, EVCP_WhiteBalance = 7, EVCP_BacklightCompensation = 8, EVCP_WhiteBalanceMode = 9, EVCP_WhiteBalRed = 10, EVCP_WhiteBalBlue = 11, EVCP_FlickerFree = 12, EVCP_Flicker50_60 = 13, EVCP_FPS = 14, EVCP_Exposure = 15, EVCP_Gain = 16, EVCP_FlipHorizontal = 17, EVCP_FlipVertical = 18, EVCP_AutoExposure = 19, EVCP_AutoAll = 20, EVCP_ActualFrameRate = 21, EVCP_LED = 22, EVCP_Setting = 23, EVCP_ExtTrigger = 24, EVCP_SWTrigger = 25, EVCP_Pan = 26, EVCP_Tilt = 27, EVCP_Roll = 28, EVCP_Zoom = 29, EVCP_Iris = 30, EVCP_Focus = 31, EVCP_LastElement = EVCP_Focus } |
All the properties that DSwcOpen may support for a certain webcam. More... | |
Functions | |
DSWCOPEN_API int | EnumCams () |
The interface. | |
DSWCOPEN_API void | GetCamStrings (char *(*camNames[]), unsigned int *numCamNames) |
DSWCOPEN_API void | GetDevStrings (char *(*devNames[]), unsigned int *numDevNames) |
DSWCOPEN_API void | GetCamSerials (char *(*camSerials[]), unsigned int *numCamSerials) |
DSWCOPEN_API int | SetCam (int camNumber) |
DSWCOPEN_API int | CamProperty_Support (EVidCapProperty prop, EVidCapPropertySupport *pValue) |
DSWCOPEN_API int | CamProperty_Range (EVidCapProperty prop, long *pMin, long *pMax, long *pDelta) |
DSWCOPEN_API int | CamProperty_Set (EVidCapProperty prop, long value) |
DSWCOPEN_API int | CamProperty_Get (EVidCapProperty prop, long *pValue) |
DSWCOPEN_API int | CamChipset (EKnownChipsetCat *pValue) |
Declaration of DSwcOpen App Programming Interface (plain C)
NOTE: The C version of the API is not reentrant as it implements only one object. Use the Class API which 'should be able to handle more than one instance
Does handle SAA8116 and SAA5115 based WebCams currently known Philips 730k / 740k / 750k / 840k Logitech 3000 / 4000 / Notebook Pro / Zoom Pro Creative ProEx VESTAs CCD cameras of the SAA8115 breed Supports a maximum of 10 connected capture devices
Project DSwcOpen
You may distribute the DSwcOpen DLL only together with an application you have made yourself providing the above paragraph is respected. Please make sure using an appropriate installer to maintain your customers PC in a healthy condition - thanks
No warranties whatsoever
LIMITED WARRANTY AND DISCLAIMER OF WARRANTY THE Copyright Holder EXPRESSLY DISCLAIMS ANY WARRANTY FOR THE SOFTWARE. THIS SOFTWARE AND THE ACCOMPANYING FILES ARE GIVEN FOR FREE "AS IS" AND WITHOUT WARRANTIES AS TO PERFORMANCE OF MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED, OR NONINFRINGEMENT.
THIS SOFTWARE IS NOT FAULT TOLERANT AND SHOULD NOT BE USED IN ANY ENVIRONMENT WHICH REQUIRES THIS.
The Licensed Software is provided AS IS without warranty of any kind. The Copyright Holder makes no further representations or warranties expressly or implied such as by way of example but not of limitation regarding merchant ability or fitness for any particular purpose, or that Licensed Software is error free, or that the use of the Licensed Software or any copies thereof will not infringe any patent, copyright or trademark of third parties.
NO LIABILITY FOR DAMAGES. In no event shall the Copyright Holder or agents or its suppliers be liable to you for any consequential, incidental or indirect damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or any other pecuniary loss) arising out of the use of or inability to use this SOFTWARE EVEN IF the Copyright Holder HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
The entire risk arising out of use or performance of the SOFTWARE remains with you.
Because of the various hardware and software environments into which DSwcOpen DLL may be put, NO WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE IS OFFERED.
The liability of the Copyright Holder for actual damages from any cause whatsoever, and regardless of the form of action (whether in contract, tort (including negligence), product liability or otherwise) WILL BE LIMITED TO ZERO, NOTHING, NIENTE, NADA, NICHTS.
|
|
|
The chipsets that DSwcOpen knows about.
|
|
The capability that DSwcOpen may support for a certain property.
|
|
|
The interface. Enumerates the video capture devices - must be calles once
|
|
Provides the enumerated camera names
|
|
Provides the enumerated device names
|
|
Provides the enumerated camera serials - use it if more than one camera of a type is connected
|
|
Sets the camera with the array index CamNumber to the current cam
|
|
Returns the support type of a property of the cam
|
|
Returns the value range of a property of the cam
|
|
Sends a property value to the cam
|
|
Returns a property value from the cam
|
|
Returns the chipset type of the camera (EKnownChipsetCat)
|