From 1915a9ff4052850afc9ac542d42e15741fe3ea95 Mon Sep 17 00:00:00 2001 From: Theodore Kilgore Date: Mon, 28 Apr 2008 23:25:26 +0000 Subject: camlibs/mars uses gp_ahd_decode() now git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@11122 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/mars/ChangeLog | 4 +++- camlibs/mars/library.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'camlibs/mars') diff --git a/camlibs/mars/ChangeLog b/camlibs/mars/ChangeLog index 87ab02c18..ae511bd10 100644 --- a/camlibs/mars/ChangeLog +++ b/camlibs/mars/ChangeLog @@ -1,10 +1,12 @@ +2008-04-28 Theodore Kilgore + * library.c: gp_ahd_decode() replaces gp_bayer_decode() + 2008-03-15 Theodore Kilgore * mars.[c,h]: mars_white_balance() postprocessing function, based upon work with Amauri Magagna done for an Aox camera. * library.c: Added line to use mars_white_balance() * README.mars: Description of what mars_white_balance() does. - 2007-11-15 Theodore Kilgore * library.c: Added Sakar no. 1638x Cyberpix * README.mars: Description of new camera added. diff --git a/camlibs/mars/library.c b/camlibs/mars/library.c index cebeeb934..69bcc3069 100644 --- a/camlibs/mars/library.c +++ b/camlibs/mars/library.c @@ -317,7 +317,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, ptr = ppm + strlen ((char *)ppm); size = strlen ((char *)ppm) + (w * h * 3); GP_DEBUG ("size = %i\n", size); - gp_bayer_decode (p_data, w , h , ptr, BAYER_TILE_RGGB); + gp_ahd_decode (p_data, w , h , ptr, BAYER_TILE_RGGB); gp_gamma_fill_table (gtable, gamma_factor ); gp_gamma_correct_single (gtable, ptr, w * h); mars_white_balance (ptr, w*h, 1.4, gamma_factor); -- cgit v1.2.1