Commit Graph

1060 Commits

Author SHA1 Message Date
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
925660e0a8 bug fixed in a "if test" statement
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2277 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-18 08:47:35 +00:00
Mariusz Zynel
3b35a07c91 added __SVR4 and __SVR4__ to LOCK_DIR define statement
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2276 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-18 08:43:35 +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
Lutz Mueller
e28c49071c 2001-09-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
Patch from Fredrik <fredrik@krixor.xy.org>:

        * usb/libusb.c: Only set configuration stuff on gp_port_usb_update
        (instead of gp_port_usb_open).


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2251 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-14 15:28:22 +00:00
Lutz Mueller
37dd31bb11 Small typo.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2250 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-14 11:05:46 +00:00
Lutz Mueller
0eed4f8f13 2001-09-14 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/gp_port.c: Set some default settings in case of
        GP_PORT_USB, too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2249 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-14 10:51:48 +00:00
Philippe Marzouk
2c61c60ff5 patch from fredrik@krixor.xy.org to call usb_set_configuration() and usb_set_altinterface() only the first time the camera is accessed
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2248 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-14 05:12:29 +00:00
Nathan Stenzel
f82fa6df05 Changed "struct" to "typedef struct".
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2245 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-13 13:55:53 +00:00
Nathan Stenzel
1bad288574 Added GPL lines.
Some format fixes.
Still need to use "typdef struct" instead of "struct".


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2244 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-13 13:42:15 +00:00
Nathan Stenzel
2dc34461a6 Fixing bugs.
Adding features.
I tried adding this once but had to restart when the file got messed up.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2239 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-13 05:49:10 +00:00
Nathan Stenzel
e6fae1d4ed Updated to reflect changes in jpeg.c
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2238 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-13 05:01:53 +00:00
Nathan Stenzel
5b09854774 I still need to work on this header.
I need to make sure the right thing is in the header and the right thing is in
the main file.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2237 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-13 00:56:55 +00:00
Nathan Stenzel
2ce637cbca Finished the parser.
Did full testing.
Need to work on the new features next.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2236 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-13 00:38:14 +00:00
Lutz Mueller
baf0fe15ff *** empty log message ***
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2235 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-12 06:52:47 +00:00
Lutz Mueller
0aab0d14ab 2001-09-12 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/core.c: Add some CHECK_INITs.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2234 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-12 06:34:35 +00:00
Nathan Stenzel
0eea028792 Created a chunk_new for jpeg.c
Fixed some formatting.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2233 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-12 02:46:26 +00:00
Nathan Stenzel
e54c8b5feb Completed more of the code.
Fixed some problems.
Added debugging output via a printf and a commented out gp_debug_printf
This should be safe enough to be put in the Makefile now


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2232 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-12 02:36:12 +00:00
Nathan Stenzel
5f631fb8df I added jpeg.c file to bring jpeg parsing to gphoto2.
I have hopes that this will match exif.c in quality.
I plan on having jpeg.c be able to fill in missing data or let you fill it in manually.
I plan on giving it the ability to decode and write jpeg files too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2231 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-11 23:34:35 +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
1abd1fb9da Some basic instructions...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2229 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-11 06:27:59 +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
Hubert Figuiere
6f0a88afa7 * libgphoto2_port/usb/libusb.c (gp_port_usb_find_device_lib): if
device and vendor IDs are 0, return not found.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2224 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 17:00:03 +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
24b4cb93b5 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/camera.c (gp_camera_list_folders), (gp_camera_list_files):         Return the result instead of GP_OK if anything goes wrong
        * libgphoto2/filesys.c: Check if path to folder is absolute. If not,
        return GP_ERROR_PATH_NOT_ABSOLUTE.
        * libgphoto2/result.c:
        * include/gphoto2-result.h: GP_ERROR_PATH_NOT_ABSOLUTE: New error.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2221 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 15:40:07 +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
Lutz Mueller
96c8e614ad 2001-09-10 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/core.c: Additional debugging stuff.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2219 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-10 11:47:24 +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
Lutz Mueller
37177dd782 2001-09-09 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/core.c: Use "... == GP_OK" instead of "!...". That should
        prevent that every USB camera shows up on gp_autodetect...


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2215 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-09 20:06:24 +00:00