Commit Graph

1985 Commits

Author SHA1 Message Date
Marcus Meissner
e67157bede CMDID_UPLOAD_IMAGE does not return the image_header as found in the
documentation, but something else, with just the first 8 byte the same.
Added CMDID_GET_IMAGE_HEADER to get the exposure values.
Dump the additional image information into the pnms as comment.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3472 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 09:14:11 +00:00
Marcus Meissner
b99f4e1582 Added "l'elegante by DigitalDream" (reported by Michael Menegakis)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3471 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 08:34:57 +00:00
Johannes Erdfelt
af5fd2a58f Remove skipping over first 16 bytes (digita-ism)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3470 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 05:12:44 +00:00
Johannes Erdfelt
19f1cbd036 Clean up some thumbnail stuff
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3469 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 05:11:48 +00:00
Johannes Erdfelt
b6f5a9158b Return correct error code if we fail the beacon phase
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3468 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:28:10 +00:00
Johannes Erdfelt
d95f77fb0b Remove old workarounds
Check trailing / seperately
printf -> fprintf(stderr
Add trailing / to directory name


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3467 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:27:21 +00:00
Johannes Erdfelt
9c901dc4d1 Zero out command structure
Check result when fetching file data


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3466 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:25:21 +00:00
Johannes Erdfelt
a31368f672 unknown is actually version and 3 reserved bytes
status is called result in the specs


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3465 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:24:23 +00:00
Johannes Erdfelt
622b84490f Don't use C structures for beacon's anymore. Pack them by hand to ensure
sizes are correct, we don't get padding and endianess is handled correctly

Retry a couple of times if necessary

Set correct delay's which work much better

Simplify some poll logic

Correctly check checksums and status fields in beacon's


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3464 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-09 04:01:46 +00:00
Marcus Meissner
6a6b4c68f1 * camlibs/stv0680: Added 'capture-image'. Tried implementing a
different 'capture-preview' method, but failed (yet).
          Merged image enhancements from pencam-0.42 (sharpening, white
          balancing, gamma enhancement). Not really perfect yet, but the
          images do look better already.
          Added 'get-raw-image', for getting just the (old) only bayer
          processed images.
        * camlibs/stv0680/sharpen.[ch]: GIMP Sharpening Plugin.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3459 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-08 16:40:38 +00:00
Marcus Meissner
381c4246fb * libgphoto2/bayer.[ch]: Export gp_bayer_expand. Needed if you want
to do a lightfilter pass right between bayer expand and bayer
          interpolate.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3458 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-08 15:33:51 +00:00
Marcus Meissner
54afe4443d * camlibs/stv0680/stv0680.html: Removed, replaced by pdf below.
* camlibs/stv0680/680_commands_and_communication_sdk.pdf.gz:
          Extract from STV 680 SDK describing USB command set. Supplied
          by STM for 'interested developers'. Not officially supported.
        * camlibs/stv0680/CREDITS, README.pdf: Adjusted.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3457 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-08 08:38:34 +00:00
Hans Ulrich Niedermann
bbba4d367a COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3456 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-08 02:48:03 +00:00
Hans Ulrich Niedermann
4503a3067d reflect changes to gphoto2-sections.txt
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3450 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 23:05:10 +00:00
Hans Ulrich Niedermann
f5360f92c9 Added:
GP_ERROR_IO
GP_ERROR_IO_CLOSE
GP_ERROR_IO_INIT
GP_ERROR_IO_LOCK
GP_ERROR_IO_OPEN
GP_ERROR_IO_PIN
GP_ERROR_IO_READ
GP_ERROR_IO_SERIAL_BREAK
GP_ERROR_IO_SERIAL_FLUSH
GP_ERROR_IO_SERIAL_SPEED
GP_ERROR_IO_SUPPORTED_SERIAL
GP_ERROR_IO_SUPPORTED_USB
GP_ERROR_IO_TIMEOUT
GP_ERROR_IO_UPDATE
GP_ERROR_IO_USB_CLAIM
GP_ERROR_IO_USB_CLEAR_HALT
GP_ERROR_IO_USB_FIND
GP_ERROR_IO_WRITE
GP_ERROR_UNKNOWN_PORT

GP_LOG
GP_DEBUG


<SECTION>
<FILE>gphoto2-port-usb</FILE>
<TITLE>GPhoto2-Port-USB</FILE>
gp_port_usb_find_device
gp_port_usb_clear_halt
gp_port_usb_msg_read
gp_port_usb_msg_write
</SECTION>

<SECTION>
<FILE>gphoto2-port-serial</FILE>
<TITLE>GPhoto2-Port-Serial</FILE>
B0
B1000000
B110
B115200
B1152000
B1200
B134
B150
B1500000
B153600
B1800
B19200
B200
B2000000
B230400
B2400
B300
B307200
B38400
B460800
B4800
B50
B500000
B57600
B576000
B600
B614400
B75
B76800
B921600
B9600
CBAUD
CBAUDEX
CIBAUD
CLOCAL
CMSPAR
CREAD
CS5
CS6
CS7
CS8
CSIZE
CSTOPB
</SECTION>


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3449 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 23:04:06 +00:00
Hans Ulrich Niedermann
60c0eb84d3 added the following stuff:
gp_camera_exit
gp_file_convert
gp_file_copy
gp_file_get_last_chunk
gp_file_set_color_table
gp_file_set_conversion_method
gp_file_set_header
gp_file_set_width_and_height
gp_filesystem_set_info_noop


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3448 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 23:01:42 +00:00
Hans Ulrich Niedermann
cf3740dcb6 small addition
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3443 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 22:40:45 +00:00
Hans Ulrich Niedermann
e5a34d3f17 COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3439 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 22:30:43 +00:00
Hans Ulrich Niedermann
27c7a6cf9e dump filesystem using gp_log
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3438 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 22:29:48 +00:00
Hans Ulrich Niedermann
95a083a5cc ENABLE_DEBUGGING -> DISABLE_DEBUGGING
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3437 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 22:29:18 +00:00
Hans Ulrich Niedermann
02ba4d85f4 it was lutz, not me
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3436 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 19:08:20 +00:00
Lutz Mueller
b88ea79b6c many -> much
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3435 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 18:40:12 +00:00
Lutz Mueller
90519e265f 2001-12-07 Hans Ulrich Niedermann <hun@n-dimensional.de>
* configure.in: You won't believe how many dead code there is...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3434 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 18:39:28 +00:00
Lutz Mueller
d28759822c 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in:
        * acconfig.h: ENABLE_DEBUGGING -> DISABLE_DEBUGGING. If you don't,
          you don't get any logging in gtkam.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3433 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 17:07:15 +00:00
Hans Ulrich Niedermann
79fb3aba45 made it work again
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3432 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 16:07:36 +00:00
Hans Ulrich Niedermann
bb5af4c1c6 cotd
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3431 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 16:07:24 +00:00
Hans Ulrich Niedermann
5d8d2134a2 made it work again
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3430 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 16:03:33 +00:00
Hans Ulrich Niedermann
0c22322d02 made it work again
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3429 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 15:58:04 +00:00
Hans Ulrich Niedermann
af6360da11 COTD
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3428 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 15:58:02 +00:00
Lutz Mueller
65e6c48b8a Another cleanup.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3427 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 15:56:02 +00:00
Hans Ulrich Niedermann
4bfdff2d5b 2.0beta4dev4
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3426 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 14:52:57 +00:00
Lutz Mueller
7f837e4ea1 Some autoconf clean-up.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3425 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 08:53:53 +00:00
Lutz Mueller
7da8eec3c0 Updated.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3424 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 00:34:25 +00:00
Lutz Mueller
b23301b1b0 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Even more cleanup.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3423 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 00:30:51 +00:00
Lutz Mueller
0947dcd160 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Remove dotlib hack
        * camlibs: Do it "the right way"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3422 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 00:21:17 +00:00
Lutz Mueller
65d52f43b1 2001-12-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Remove some cruft that survived my auto[make,conf]
          cleanup
        * libgphoto2/Makefile.am: LIBADD libgphoto2_port.la


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3421 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-07 00:01:57 +00:00
Hubert Figuiere
d0f9b61675 * library.c: Definitive fix for bug 438155.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3416 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-06 21:14:09 +00:00
Lutz Mueller
b3a628e87d 2001-12-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* configure.in: Use () instead of {}. That produces a warning in
          configure, but at least works when linking.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3415 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-06 17:26:54 +00:00
Fredrik
93edef30da Re-worked file deleting routines after reports it didn't work. Now it works
for me at least.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3414 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-06 08:45:42 +00:00
Dan Fandrich
a670274ac1 * configure.in
* libgphoto2_port/m4/stdint.m4
	* camlibs/dimera/dimera3500.c
	* camlibs/dimera/mesalib.h
	* camlibs/panasonic/dc.c
	* camlibs/panasonic/dc.h
	* camlibs/panasonic/dc1000.c
	* camlibs/panasonic/dc1580.c
	* camlibs/panasonic/l859/l859.c
	* camlibs/panasonic/l859/l859.h: add AC_NEED_STDINT_H to configure.in
	  and change camera libraries to use C99-style size-specific integer types


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3413 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-06 01:45:50 +00:00
Lutz Mueller
acf5e06244 Another include fix...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3412 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:22:46 +00:00
Lutz Mueller
90763721bc Use {} instead of ()...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3411 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:19:07 +00:00
Lutz Mueller
489b4f7d85 Fix includes.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3410 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:13:01 +00:00
Lutz Mueller
22bea057ca Fix includes
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3409 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:11:48 +00:00
Lutz Mueller
ebba3a5868 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* pdc640.c: Includes again :-)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3408 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:06:00 +00:00
Lutz Mueller
5472dfd648 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* pdc320.h pdc640.c: Still fixing includes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3407 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 22:02:24 +00:00
Lutz Mueller
d45045c327 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* pdc640.c: Fix includes.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3406 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:55:56 +00:00
Lutz Mueller
9a31621316 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* library.c: Fix includes


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3405 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:53:08 +00:00
Lutz Mueller
43c281408e 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* serial.c: Include <bayer.h>, not "libgphoto2/bayer.h"


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3404 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:48:49 +00:00
Lutz Mueller
4807702450 2001-12-05 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* jamcam.c: Don't include <libgphoto2/*.>, include <*.h> instead.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@3403 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-12-05 21:45:19 +00:00