Ignore:
Timestamp:
04/16/11 05:32:43 (2 years ago)
Author:
reyalP
Message:

g12 and sx30 updates from philmoz in http://chdk.setepontos.com/index.php?topic=650.msg64631#msg64631

  • Added code to override the -0.5 DNG exposure bias that is set in the dng.c code. If your DNG files are 1/2 stop underexposed this is why. Exposure bias set to 0 for G12 & SX30.
  • Changed logical screen width to 360 (from 320).
  • Cleanup old code in capt_seq.c & added some comments to boot.c
  • Aligned vid_bitmap_refresh logic on both cameras. It's still not perfect; but I get less problems with menus vanishing with this version.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/g12/lib.c

    r1024 r1145  
    55{ 
    66        extern int full_screen_refresh; 
    7         extern void _LockAndRefresh(); 
    87        extern void _ScreenUnlock(); 
     8        extern void _ScreenLock(); 
    99 
    1010        full_screen_refresh |= 3; 
    11         _LockAndRefresh(); 
     11        _ScreenLock(); 
    1212        _ScreenUnlock(); 
    1313} 
     
    6565// Values that may change are in lib.c for each firmware version. 
    6666 
    67 long vid_get_bitmap_screen_width() { return 320; } 
     67long vid_get_bitmap_screen_width() { return 360; } 
    6868long vid_get_bitmap_screen_height() { return 240; } 
    6969long vid_get_bitmap_buffer_width() { return 960; } 
Note: See TracChangeset for help on using the changeset viewer.