Nathan Stenzel
fa57bb53c3
chunk_new now returns a pointer to a newly allocated chunk.
...
quantization table handling added (including printing)
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2305 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 16:48:49 +00:00
Nathan Stenzel
7700a0dddb
Rewrote some of the functions.
...
chunk_new now returns a pointer to a newly allocated chunk.
quantization table handling was added including printing.
You can now enter the quantization tables in a more visual form.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2304 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 16:46:49 +00:00
Lutz Mueller
6edd5098ac
2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
* libgphoto2/filesys.c: Fix two small bugs.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2303 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 10:41:40 +00:00
Lutz Mueller
2a059fc96e
Forgot that...
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2302 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 10:05:43 +00:00
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
8f4c5978ba
USB Mass Storage camera.
...
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2297 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 08:47:17 +00:00
Lutz Mueller
a424dea2cc
2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
Patch from Fredrik <fredrik@krixor.xy.org >
* include/gphoto2-port.h:
* libgphoto2_port/gp_port.c:
* serial/unix.c:
* usb/libusb.c: Clean up settings code.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2296 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 08:09:29 +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
df0f5f1db2
2001-09-22 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
...
Patch from Carsten Pfeiffer <carpdjih@sp.zrz.tu-berlin.de >
* libgphoto2_port/library.c:
* libgphoto2_port/portability.c: char *whatever -> const char *whatever
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2294 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 07:54:23 +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
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