source: trunk/third/gst-plugins/sys/qcam/qcamip.h @ 18711

Revision 18711, 2.2 KB checked in by ghudson, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18710, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2 * qcamip.h - Connectix QuickCam Image Processing routines
3 *
4 * Time-stamp: <02 Sep 96 11:19:27 HST edo@eosys.com>
5 *
6 * Version 0.2
7 */
8
9/******************************************************************
10
11Copyright (C) 1996 by Ed Orcutt Systems
12
13Permission is hereby granted, free of charge, to any person
14obtaining a copy of this software and associated documentation
15files (the "Software"), to deal in the Software without
16restriction, including without limitation the rights to use,
17copy, modify, merge, publish, and/or distribute copies of the
18Software, and to permit persons to whom the Software is
19furnished to do so, subject to the following conditions:
20
211. The above copyright notice and this permission notice shall
22   be included in all copies or substantial portions of the
23   Software.
24
252. Redistribution for profit requires the express, written
26   permission of the author.
27
28THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
29EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
30OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
31NONINFRINGEMENT.  IN NO EVENT SHALL ED ORCUTT SYSTEMS BE LIABLE
32FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
33OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
34CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
35SOFTWARE.
36
37******************************************************************/
38
39#ifndef _QCAMIP_H
40#define _QCAMIP_H
41#include "qcam.h"
42
43/* Auto exposure modes  */
44
45#define AE_ALL_AVG 0
46#define AE_CTR_AVG 1
47#define AE_STD_AVG 2
48
49/* Return value of image processing routines */
50
51#define QCIP_XPSR_OK        0
52#define QCIP_XPSR_RSCN      1
53#define QCIP_XPSR_ERR       2
54#define QCIP_XPSR_LUM_INVLD 3
55
56/* Prototypes for image processing routines  */
57
58int qcip_autoexposure(struct qcam *q, scanbuf *scan);
59int qcip_set_luminance_target(struct qcam *q, int val);
60int qcip_set_luminance_tolerance(struct qcam *q, int val);
61int qcip_set_luminance_std_target(struct qcam *q, int val);
62int qcip_set_luminance_std_tolerance(struct qcam *q, int val);
63int qcip_set_autoexposure_mode(int val);
64void qcip_histogram(struct qcam *q, scanbuf *scan, int *histogram);
65void qcip_display_histogram(struct qcam *q, scanbuf *scan);
66
67#endif /*! _QCAMIP_H*/
Note: See TracBrowser for help on using the repository browser.