Commit Graph

665 Commits

Author SHA1 Message Date
Lutz Mueller
91e5af5a5d 2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/jamcam/.cvsignore:
        * camlibs/sonydscf55/.cvsignore: New
        * include/gphoto2-debug.h:
        * libgphoto2/debug.c: Debugging stuff can be found here.
        * frontends/command-line/main.c: Use gp_debug_set_level and don't
        use gp_init any more (this is done automatically).
        * include/Makefile.am:
        * libgphoto2/Makefile.am: Add the debugging files
        * include/gphoto2-core.h: Remove debugging and initialization stuff
        * libgphoto2/core.c: Make gp_init a static function.
        * (...) Various smaller changes regarding gp_init and gp_debug_*.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2301 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 10:05:09 +00:00
Raymond Penners
4e0061a120 Fixes & eliminated compiler warnings
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2298 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 09:31:19 +00:00
Lutz Mueller
75f1a1c9f9 2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Carsten Pfeiffer <carpdjih@sp.zrz.tu-berlin.de>

        * camlibs/sonydscf1.sonydscf1.c:
        * include/gphoto2-core.h:
        * include/gphoto2-file.h:
        * include/gphoto2-filesys.h:
        * libgphoto2/core.c:
        * libgphoto2/file.c:
        * libgphoto2/filesys.c: char *whatever -> const char *whatever.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2295 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 07:55:00 +00:00
Lutz Mueller
89c062b49b 2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Ilya Konstantinov <future@shiny.co.il>:

        * camlibs/sierra/sierra.c (get_info_func): Set the filename.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2293 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 07:36:22 +00:00
Raymond Penners
f89149e818 Added Sony DSC-F55/MSAC-SR1
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2292 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-21 21:30:11 +00:00
Nathan Stenzel
3f6285fd38 The pictures will now have "jpg" extensions.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2290 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-20 03:09:05 +00:00
Nathan Stenzel
f26de3ae09 Changed the ratios from 1:2:1 to 1:1:2 and now things look alright.
Quantization table fixes to come later.
For now, slightly blocky pictures with almost ok contrast and color should be
expected.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2286 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-19 07:54:15 +00:00
Nathan Stenzel
db24650f2a Resolving cvs conflicts
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2285 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-19 07:49:02 +00:00
Nathan Stenzel
e450ce1e4a Minor coding improvements. No picture improvement.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2284 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-19 07:06:51 +00:00
Nathan Stenzel
9884a98942 Added some useful information about quantization tables.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2283 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-19 06:29:29 +00:00
Chris Pinkham
1c52ca63a3 2001-09-18 Chris Pinkham <cpinkham@infi.net>
* camlibs/canon/psa50.c
      camlibs/canon/serial.c
      libgphoto2_port/include/gphoto2-port.h
      libgphoto2_port/libgphoto2_port/gp_port.c
      libgphoto2_port/usb/libusb.c: changed *usb_msg_read* and
      *usb_msg_write* functions to allow passing in of request and
      index values.

    * MAINTAINERS
      configure.in
      camlibs/jamcam/Makefile.am
      camlibs/jamcam/jamcam.c
      camlibs/jamcam/library.c
      camlibs/jamcam/library.h: added camera library for KBGear JamCam v3.0


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2282 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-19 00:56:25 +00:00
Nathan Stenzel
585d107b14 Adding credit to my ONE Polaroid 640SE tester.
Good thing I have him to test for me or that camera would not be supported.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2281 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-18 20:22:38 +00:00
Fabrice Bellet
a1ca83b990 fix two consecutive camera_start() invokations.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2278 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-18 13:24:47 +00:00
Mariusz Zynel
6a8e78cf51 get rid of gp_port(new|open|close|free), adapted to use filesystem from libgphoto2
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2275 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-18 08:26:07 +00:00
Mariusz Zynel
ffce1ca759 get rid of gp_port(new|open|close|free)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2274 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-18 08:23:41 +00:00
Nathan Stenzel
6ecda3df46 Trial settings in the table to select different quantization tables.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2266 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-17 18:39:30 +00:00
Nathan Stenzel
af765c855c Set the timeout to 3 seconds (I think)
Commented out the delete command test code.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2265 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-17 00:04:01 +00:00
Nathan Stenzel
9afdcbe3e0 Put in delete command test code to help with the Polaroid 640SE.
That should help figure out how much bytes to read and what the response will be


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2264 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-16 23:33:19 +00:00
Nathan Stenzel
99a5f9351e Updated Polaroid 640SE portion of code.
Now ready for --get-all-images test.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2254 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-16 22:04:49 +00:00
Nathan Stenzel
2886d87861 Updated Polaroid 640SE portion of code.
Now ready to test --get-all-images.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2253 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-16 22:03:24 +00:00
Nathan Stenzel
9387032be7 Corrected the buffer size for the Polaroid 640SE.
It was 213, but after looking at test results, I changed to to 528.
Evidentally, the portmon log on Peter Desnoyer's webpage was flawed.
Portmon seems to clamp the output to x bytes per read unless you say otherwise


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2252 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-16 06:40:34 +00:00
Philippe Marzouk
b5a60eff30 - added $Header$ to all .c files
- changed back thumbnail extraction to old (pre-exif) method for the
   Powershot Pro 70 which stores images as JFIF file and not EXIF.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2230 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-11 20:35:52 +00:00
Lutz Mueller
b8ad0699bb Cruft.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2228 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-11 06:12:36 +00:00
Lutz Mueller
896cb2eeaf Added comment about positive return values.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2227 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-11 06:02:27 +00:00
Gus Hartmann
e8151659cc Added 'sending NAK' to debug message to differentiate.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2226 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-11 04:55:23 +00:00
Dan Fandrich
4ce28a3426 Added missing types for Solaris
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2225 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 20:25:44 +00:00
Lutz Mueller
2536cce23f 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/kodak/dc240/dc240.c (camera_init): Don't open/close the port.
        This is done by libgphoto2.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2223 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 16:40:41 +00:00
Lutz Mueller
9c7eff54fe 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/camera.c
        (gp_camera_init): Do a simple CHECK_RESULT_OPEN_CLOSE on the init_func
        (gp_camera_set_port): Set the path if the port is a serial one.
        * camlibs/template/template.c:
        * camlibs/sierra/sierra.c:
        * camlibs/samsung/samsung.c:
        * camlibs/polaroid/pdc700.c:
        * camlibs/polaroid/pdc320.c:
        * camlibs/panasonic/coolshot/coolshot.c:
        * camlibs/konica/library.c:
        * camlibs/dimera/mesalib.c:
        * camlibs/digita/usb.c:
        * camlibs/digita/serial.c:
        * camlibs/casio/casio-qv.c:
        * camlibs/canon/serial.c:
        * camlibs/barbie/barbie.c:
        * camlibs/agfa-cl18/agfa.c: Don't open the port. This is always done
        by libgphoto2.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2222 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 16:32:38 +00:00
Lutz Mueller
0ee6e9ef6b 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sierra/sierra.c (get_info_func): Fix copy & paste bug.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2220 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 12:00:17 +00:00
Nathan Stenzel
c19eefa2a0 Making sure this is up to date.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2218 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 00:43:29 +00:00
Nathan Stenzel
a3fdfad1c3 Putting this update into cvs like I thought I already did.
I was told by Lutz that it broke cvs.
Sorry about that folks.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2217 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-09 23:14:17 +00:00
Nathan Stenzel
00eb45c208 I noticed I forgot to adjust the code to read different sized chunks for the
Polaroid Fun! 320 and Polaroid 640SE cameras.
I figured some more things out.
I fixed some things.
Polaroid 640SE users would not have been able to download raw data before.
They should be able to now......I hope.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2216 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-09 22:59:33 +00:00
Nathan Stenzel
c4a449443d I put the code from Karl Grill's email onto the end of the file.
I believe that is the code for turning the raw camera data into an image.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2214 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-09 18:55:18 +00:00
Nathan Stenzel
97d5da3e40 Found out more info about the jpeg header.
Figured the 16x8 block after the normal image (320x120) data is for color fix.
Modified the three files to reflect this.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2213 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-09 18:48:52 +00:00
Philippe Marzouk
934f8bc2fd patch from Keith Wall to allow a get without a previous ls in shell mode
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2211 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-09 08:49:24 +00:00
Philippe Marzouk
854602ca10 corrected typo PowerShot Pro90 is IS not SI
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2210 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-08 15:29:15 +00:00
Gus Hartmann
e033c1842d Made a failure to reset the camera into "play" mode non-fatal, since the
image capture was otherwise successful.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2209 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-08 09:40:30 +00:00
Gus Hartmann
347f4f395d Added retry attempts when packets fail to read correctly. Protocol allows
for sending a NAK to get the camera to resend the missing packet.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2208 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-08 09:15:57 +00:00
bvl
95e1767b78 bvl: OS/2 Updates
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2207 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 20:02:33 +00:00
Lutz Mueller
056fddc0b6 2001-09-07 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/polaroid/pdc640.c: New
        * camlibs/polaroid/Makefile.am: Added pdc640


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2204 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 10:25:17 +00:00
Nathan Stenzel
257de76653 This file should help people understand the jpeg header.
I will document it better when I get more figured out.
This file should be extremely useful to make the jpeg header we need.
(the jpeg header we have does not work to well)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2203 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 06:33:52 +00:00
Nathan Stenzel
7af770bbb6 Fixed some minor typos that would not let it compile.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2202 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 06:28:14 +00:00
Nathan Stenzel
0c7238eb0c Modified the jpegheader variable to be an array of strings.
Divided it up so that the markers ( "FF XX" ) starts each string
This should be easier to read now.
If anyone would like to give me some help understanding jpeg, email me
nathanstenzel@users.sourceforge.net


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2201 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-07 02:21:32 +00:00
Nathan Stenzel
beade329b5 Although it is not quite ready, I added jpeghead.h so that we could work on how to get working jpegs out of the camera.
If the header was used as is, it would result in a flawed image.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2200 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-06 21:47:47 +00:00
Nathan Stenzel
612b17ff91 Removing some debug code that did not help any.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2199 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-06 21:09:38 +00:00
Lutz Mueller
bc8e6b344b 2001-09-06 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* MAINTAINERS: Added Marius for panasonic
        * camlibs/panasonic/coolshot/Makefile.am: @dotlibs


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2197 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-06 12:48:43 +00:00
Chris Pinkham
bd87d198dc 2001-09-06 Chris Pinkham <cpinkham@infi.net>
* camlibs/panasonic/coolshot/README
      camlibs/panasonic/coolshot/coolshot.c
      camlibs/panasonic/coolshot/library.c: changed thumbnail code to
      properly decode thumbnails after discovering they are encoded in
      YUV 4:1:1 format.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2196 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-06 06:33:58 +00:00
Nathan Stenzel
bb3925998f Fixing recent bugs.
Setting RETRIES to 3 for use by Polaroid 650SE cameras.
Setting up a bail out of the retry attempts for Polaroid Fun! 320 cameras.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2194 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-06 04:45:25 +00:00
Nathan Stenzel
758e699e6c Fixed some problems I made. (I think I broke cvs for a moment)
The code should now be worthy of alpha testing on PDC 640SE.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2193 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-06 00:32:56 +00:00
Nathan Stenzel
97900cdc44 Added some credits at the top.
Changed some functions to allow access to camera->model.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2192 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-05 21:46:28 +00:00