Files
libgphoto2/camlibs/gsmart300
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
..

GSMART 300 DRIVER FOR GPHOTO2
=============================

Note :	this camera is also know as "Casio LV-10",
	under the same vendor and product IDs
	(Model actually tested)

This is a very basic camera which enables to take pictures,
delete last picture or delete all pictures.

Pictures (JPEG format) can be stored in two sizes : 640x480 or 320x240.
In fact, this is not exactly true. The pictures are all 640x480,
but the "smaller" ones are just poor quality, so that it becomes
decent only after resizing to 320x240.
Thumbnails are downloadable from the camera in YYUV format
for "big" pictures ONLY.

To perform these operations, the Windows driver uses an
interpolation software which acts as this :

For lower quality, 640x480 pictures are downloaded, and
converted to 320x240. In the same way, 80x60 thumbnails
are generated.

For higher quality, 80x60 thumbnails are downloaded in YYUV
and converted to bitmap. Strangely enough, 640x480
picture are also converted into pictures of the same size
by the interpolation software, resulting in a disk-size
about 2 times greater ! (but no visible loss of quality)

The gsmart300 driver for gphoto just outputs the higher quality
pictures as they are stored in the camera, as well as bitmap
thumbnails.
Lower quality pictures are left 640x480, and no thumbnail
is provided.

		Jérôme Lodewyck