Files
libgphoto2/camlibs/clicksmart310/clicksmart.h
Marcus Meissner f897031217 updated fsf address
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@14608 67ed7778-7388-44ab-90cf-0a291f65f57c
2014-01-01 20:27:33 +00:00

53 lines
1.6 KiB
C

/* clicksmart.h
*
* headers for libgphoto2/camlibs/clicksmart310
*
* Copyright (C) 2006 Theodore Kilgore <kilgota@auburn.edu>
*
* 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 __CLICKSMART_H__
#define __CLICKSMART_H__
#include <gphoto2/gphoto2-port.h>
struct _CameraPrivateLibrary {
unsigned char *catalog;
int num_pics;
unsigned char full;
};
int clicksmart_init (GPPort *port, CameraPrivateLibrary *priv);
int clicksmart_get_res_setting (CameraPrivateLibrary *priv, int n);
int clicksmart_read_pic_data (CameraPrivateLibrary *priv,
GPPort *port, unsigned char *data,
int n);
int clicksmart_delete_all_pics (GPPort *port);
int clicksmart_reset (GPPort *port);
int create_jpeg_from_data (unsigned char * dst, unsigned char * src,
int qIndex, int w, int h,
unsigned char format,
int o_size, int *size,
int omit_huffman_table,
int omit_escape);
#endif