1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/* casio-qv-commands.h
*
* Copyright 2001 Lutz Mueller
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02110-1301 USA
*/
#ifndef CAMLIBS_CASIO_CASIO_QV_COMMANDS_H
#define CAMLIBS_CASIO_CASIO_QV_COMMANDS_H
#include <gphoto2/gphoto2-library.h>
int QVping (Camera *camera);
/* Battery level in volts */
int QVbattery (Camera *camera, float *battery);
int QVrevision (Camera *camera, long int *revision);
int QVnumpic (Camera *camera);
int QVstatus (Camera *camera, char *status);
int QVdelete (Camera *camera, int n);
int QVprotect (Camera *camera, int n, int on);
int QVpicattr (Camera *camera, int n, unsigned char *attr);
int QVshowpic (Camera *camera, int n);
int QVsetpic (Camera *camera);
int QVsize (Camera *camera, long int *size);
int QVgetYCCpic(Camera *camera, unsigned char **data, unsigned long int *size);
int QVgetCAMpic(Camera *camera, unsigned char **data, unsigned long int *size, int fine);
int QVcapture (Camera *camera);
int QVreset (Camera *camera);
int QVsetspeed (Camera *camera, int speed);
#endif /* !defined(CAMLIBS_CASIO_CASIO_QV_COMMANDS_H) */
|