Files
libgphoto2/camlibs/smal
Hans Ulrich Niedermann 767ee8bad4 Avoid accidental include file name collisions
There are five libgphoto2 internal *.h include files inside the
source tree's `libgphoto2/` folder. Internal means they are part
of the libgphoto2 implementation, and are not part of the public
libgphoto2 API or ABI. These files have names which are so
generic that it is difficult to see from a `#include` statement
that the included file is actually part of libgphoto2:

    bayer-types.h
    bayer.h
    exif.h
    gamma.h
    jpeg.h

While building, an additional file is created inside the `libgphoto2/`
folder with a name which does hint to its relationship with libgphoto2:

    gphoto2-endian.h

To reduce the probability of accidental conflicts with include files
which might also be called the same very generic name, this changes
the use of these include files to a preprocessor directive like

    #include "libgphoto2/bayer.h>

instead of

    #include "bayer.h"

To enforce the need for the "libgphoto2/" part in the #include
preprocessor directive, this also removes the respective `-I`
arguments for the `libgphoto2` subdir (both in source tree and in
build tree) from `*_CPPFLAGS`.

This change was inspired by `libgphoto2/` and `camlibs/stv0680/`
containing very different include files both called `bayer.h`.
2021-10-11 09:20:50 +02:00
..

Smal Ultrapocket 
(fuji @xia slimshot)
___________________________________________________________________

This driver is based on packet sniffs of protocol observed under
Windows 2000, and is known to be incomplete.  Minimal functionality
is implemented as of the Experimental version.

RAW images as retrieved from the camera require a not insignificant
amount of post processing.  Enabling #DO_GAMMA in ultrapocket.h
helps, but more work is required.
___________________________________________________________________

The author takes no responsibility for damage to your camera from
using this driver.  Use at your own risk.
___________________________________________________________________

TODO:

- Battery status
- Firmware information
- Current resolution information
- Determine what (if anything) the camera passes as image 
modification parameters (Gamma, etc).
- At the moment, the Logitech driver stores images as .VGA and .XGA
not .PPM
___________________________________________________________________

Author: Lee Benfield (lee@benf.org)
Thanks: Vasileios Zografos, Dave Scott, Matthias Scherrer

This code borrows heavily from the sipix web2 driver available with
gphoto.  Thanks, guys ;)