diff options
author | Theodore Kilgore <kilgota@auburn.edu> | 2008-04-28 23:25:26 +0000 |
---|---|---|
committer | Theodore Kilgore <kilgota@auburn.edu> | 2008-04-28 23:25:26 +0000 |
commit | 1915a9ff4052850afc9ac542d42e15741fe3ea95 (patch) | |
tree | 814b7473c74a5e21d30bb52ee258a4102049ca22 /camlibs/mars | |
parent | 95b2a5d1fe49f8321e43dca218f003f5c77ac603 (diff) | |
download | libgphoto2-1915a9ff4052850afc9ac542d42e15741fe3ea95.tar.gz |
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
Diffstat (limited to 'camlibs/mars')
-rw-r--r-- | camlibs/mars/ChangeLog | 4 | ||||
-rw-r--r-- | camlibs/mars/library.c | 2 |
2 files changed, 4 insertions, 2 deletions
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 <kilgota@auburn.edu> + * library.c: gp_ahd_decode() replaces gp_bayer_decode() + 2008-03-15 Theodore Kilgore <kilgota@auburn.edu> * 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 <kilgota@auburn.edu> * 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); |