- New HM driver for Delcam CCD camera
This commit is contained in:
78
audinelib.h
Normal file
78
audinelib.h
Normal file
@@ -0,0 +1,78 @@
|
||||
/*
|
||||
* -*- linux-c -*-
|
||||
* Library Module for the Audine Camera
|
||||
* Copyright (C) 2001 Peter Kirchgessner
|
||||
* http://www.kirchgessner.net, mailto:peter@kirchgessner.net
|
||||
*
|
||||
* Modified by F. Manenti <oss_astr_cav@arcanet.it> for the use in the
|
||||
* NOVA environment (nova.sourceforge.net)
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
* the Free Software Foundation; either version 2 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*
|
||||
* The sample interface routines for the module have been taken from the
|
||||
* Linux Kernel Module Programming Guide by Ori Pomerantz contained
|
||||
* in the Linux Documentation Project.
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef _AUDINELIB_H_
|
||||
#define _AUDINELIB_H_
|
||||
|
||||
typedef struct aud_handle_s * AUD_HANDLE;
|
||||
|
||||
AUD_HANDLE aud_open (void);
|
||||
|
||||
void aud_close (AUD_HANDLE aud);
|
||||
|
||||
char *aud_version (const AUD_HANDLE aud);
|
||||
|
||||
int aud_image_read (const AUD_HANDLE aud, char **buf, int *bufsize,
|
||||
int *width, int *height, int *color);
|
||||
void aud_single_read_set (AUD_HANDLE aud, int single_read);
|
||||
|
||||
int aud_ccd_info_get (const AUD_HANDLE aud, char **name,
|
||||
int *width, int *height, int *color);
|
||||
|
||||
int aud_ccd_listentry_get (const AUD_HANDLE aud, int entry, char **name,
|
||||
int *width, int *height, int *color);
|
||||
|
||||
int aud_binning_set (const AUD_HANDLE aud, int vb, int hb);
|
||||
int aud_binning_get (const AUD_HANDLE aud, int *vb, int *hb);
|
||||
|
||||
int aud_geometry_set (const AUD_HANDLE aud,int x,int y,int width,int height);
|
||||
int aud_geometry_get (const AUD_HANDLE aud, int *xorigin, int *yorigin,
|
||||
int *winwidth, int *winheight, int *color);
|
||||
int aud_geometry_reset (const AUD_HANDLE aud);
|
||||
|
||||
int aud_amplifier_ctrl_set (const AUD_HANDLE aud, int ctrl);
|
||||
int aud_amplifier_set (const AUD_HANDLE aud, int off_on);
|
||||
|
||||
int aud_shutter_ctrl_set (const AUD_HANDLE aud, int ctrl);
|
||||
int aud_shutter_set (const AUD_HANDLE aud, int off_on);
|
||||
|
||||
int aud_aux0_ctrl_set (const AUD_HANDLE aud, int ctrl);
|
||||
int aud_aux0_set (const AUD_HANDLE aud, int off_on);
|
||||
|
||||
int aud_aux1_ctrl_set (const AUD_HANDLE aud, int ctrl);
|
||||
int aud_aux1_set (const AUD_HANDLE aud, int off_on);
|
||||
|
||||
int aud_clear (const AUD_HANDLE, int nclear);
|
||||
|
||||
void aud_ioctl_test (AUD_HANDLE aud);
|
||||
|
||||
int audine_fits_write (const char *fname, const char *img,
|
||||
int width, int height);
|
||||
#endif
|
||||
Reference in New Issue
Block a user