Commit Graph

3596 Commits

Author SHA1 Message Date
Vince Weaver
20d0c53851 Fix locking bug in delete-all fallback
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2330 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-25 03:40:48 +00:00
Vince Weaver
14bf11e492 Remove agfa-cl18. Moving files in CVS is a pain
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2329 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-25 02:59:50 +00:00
Vince Weaver
e48d3bacff Fix agfa delete problem, plus rename driver from 'agfa-cl18' to 'agfa'
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2328 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-25 02:52:00 +00:00
Nathan Stenzel
4b90131925 Added an entry for the camlibs/polaroid/pdc320.c and pdc320.h files.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2327 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 17:47:32 +00:00
Nathan Stenzel
683d47e45c Finally making my changelog entries for the jpeg.c and jpeg.h files.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2326 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 17:34:51 +00:00
Nathan Stenzel
847fe65b2f Reformated gp_jpeg_make_quantization so the last parameter was a char.
Other improvements.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2325 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 16:45:26 +00:00
Nathan Stenzel
8439e8a0dc Fixed gp_jpeg_make_quantization and changed the last parameter to char type.
More debugging code added.
Fixed some errors.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2324 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 16:41:32 +00:00
Nathan Stenzel
646d48b381 jpeg.c had its functions renamed.
This file was updated to reflect that and had some other improvements.
Now, things should compile correctly.
It was evidentally broken for a moment.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2323 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 16:38:54 +00:00
Lutz Mueller
c60321fdee One additional check if libgphoto2_port has been initialized
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2322 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 08:00:23 +00:00
Lutz Mueller
bb851540d5 2001-09-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/jpeg.h:
        * camlibs/polaroid/pdc320.c: Adapt to changes jpeg_* -> gp_jpeg_*
        * libgphoto2/jpeg.h: Kill yet another warning.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2321 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 07:41:37 +00:00
Lutz Mueller
04e39471cf 2001-09-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/jpeg.[c,h]: Respect the namespace of libjpeg. Otherwise,
        gtkam and other graphical frontends will horribly fail.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2320 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 07:31:37 +00:00
Lutz Mueller
bd7d1005db 2001-09-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/core.c: have_initted is no longer needed.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2319 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 07:02:36 +00:00
Lutz Mueller
ca8329532d 2001-09-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* camlibs/sonydscf1/sonydscf1.c:
        * libgphoto2/debug.c: glob_debug is now static in libgphoto2


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2318 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 06:51:10 +00:00
Lutz Mueller
9c2cc70d6b 2001-09-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* frontends/command-line/main.c: glob_debug is now static in libgphoto2


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2317 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 06:46:03 +00:00
Lutz Mueller
380549f3d7 2001-09-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2/jpeg.c: #define CHECK_RESULT(...) (...)


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2316 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 06:33:25 +00:00
Lutz Mueller
6c323d00fc 2001-09-24 Lutz M�ller <urc8@rz.uni-karlsruhe.de>
* libgphoto2_port/gp_port.c (gp_port_count): Make sure
        libgphoto2_port is initialized.

CVS  Committing in .


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2315 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 06:26:10 +00:00
Chris Pinkham
58cd54dfdd * camlibs/jamcam/jamcam.c
camlibs/jamcam/library.h
      camlibs/jamcam/library.c: Added support for low-res images.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2314 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-24 01:10:11 +00:00
Nathan Stenzel
9bc04e4d39 Added more functions.
You can now create a whole jpeg header from one line of code (almost).
It is now alot easier to create prefilled chunks.
There is now jpeg file writing abilities.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2313 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-23 22:14:32 +00:00
Nathan Stenzel
636a1b4f0f Added more functions.
You can now create a whole jpeg header from one line of code (almost).
Creating prefilled chunks is now easier.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2312 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-23 22:12:41 +00:00
Nathan Stenzel
736e40b63f This contains the huffman tables, quantization tables, and other constants
for the pdc320.c file.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2311 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-23 22:08:11 +00:00
Nathan Stenzel
d9d14745ee I rewrote this to use jpeg.c and jpeg.h that I put in gphoto/libgphoto2.
There is now a pdc320.h file too.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2310 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-23 22:01:52 +00:00
Nathan Stenzel
410d6979b6 Added functions to move data between quantization tables and those markers.
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2309 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-23 13:59:41 +00:00
Nathan Stenzel
ac8124b4b7 Added the functions to move data between quantization tables and the
quantization table markers.


git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2308 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-23 13:58:04 +00:00
Philippe Marzouk
d71b04c409 fix for PowerShot Pro A70
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2307 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-23 10:22:27 +00:00
Nathan Stenzel
c7a9260ce9 Added jpeg.c and jpeg.h to the make for people to use
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@2306 67ed7778-7388-44ab-90cf-0a291f65f57c
2001-09-22 21:14:22 +00:00
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