Logo Search packages:      
Sourcecode: libgphoto2 version File versions


 * digigr8.h 
 * Header file for libgphoto2/camlibs/digigr8.  
 * Copyright (c) 2005 Theodore Kilgore <kilgota@auburn.edu>
 * Camera library support under libgphoto2.1.1 for camera(s) 
 * with chipset from Service & Quality Technologies, Taiwan. 
 * The chip supported by this driver is suspected to be the SQ914,  
 * Licensed under GNU Lesser General Public License, as part of Gphoto
 * camera support project. For a copy of the license, see the file 
 * COPYING in the main source tree of libgphoto2.

#ifndef __DIGIGR8_H__
#define __DIGIGR8_H__

#include <gphoto2/gphoto2-port.h>

struct _CameraPrivateLibrary {
      unsigned char *catalog;
      int nb_entries;
      int last_fetched_entry;

int digi_reset                      (GPPort *);
int digi_init                          (GPPort *, CameraPrivateLibrary *);
int digi_rewind (GPPort *port, CameraPrivateLibrary *priv);
unsigned char *digi_read_picture_data  (GPPort *, unsigned char *data, 
                                  int size, int n);

/* Those functions don't need data transfer with the camera */
int digi_get_num_frames                (CameraPrivateLibrary *, int entry);
char digi_get_comp_ratio                 (CameraPrivateLibrary *, int entry);
int digi_get_data_size             (CameraPrivateLibrary *, int entry);
int digi_get_picture_width             (CameraPrivateLibrary *, int entry);
int digi_is_clip                       (CameraPrivateLibrary *, int entry);
digi_decompress (unsigned char *output, unsigned char *data, 
                            int w, int h, int n);
int digi_postprocess    (CameraPrivateLibrary *priv, 
                        int width, int height, 
                        unsigned char* rgb, int n);


Generated by  Doxygen 1.6.0   Back to index