Changeset 1791


Ignore:
Timestamp:
04/04/12 23:12:57 (14 months ago)
Author:
philmoz
Message:

Merged revision(s) 1790 from trunk:

Location:
branches/release-1_0
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_0

    • Property svn:mergeinfo changed
      /trunkmerged: 1790
  • branches/release-1_0/core/gui_draw.c

    r1697 r1791  
    1515//------------------------------------------------------------------- 
    1616static void draw_pixel_std(unsigned int offset, color cl) { 
    17     frame_buffer[0][offset] = frame_buffer[1][offset] = cl & 0xff; 
     17#ifdef DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY         
     18        extern int active_bitmap_buffer; 
     19        frame_buffer[active_bitmap_buffer][offset] = cl & 0xff; 
     20#else 
     21        frame_buffer[0][offset] = frame_buffer[1][offset] = cl & 0xff; 
     22#endif 
    1823} 
    1924 
  • branches/release-1_0/include/camera.h

    r1753 r1791  
    199199    #define CAMERA_MAX_DIST         65535       // Define max distance that can be set in _MoveFocusLensToDistance (allow override for superzooms - SX30/SX40) 
    200200 
     201        #undef  DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY       // Draw pixels on active bitmap buffer only. Requires active_bitmap_buffer location in stubs_min.S or stubs_entry.S. 
     202         
    201203//---------------------------------------------------------- 
    202204// Overridden values for each camera 
  • branches/release-1_0/platform/sx220hs/kbd.c

    r1785 r1791  
    6464    { 0, KEY_MENU            , 0x00040000 }, 
    6565    { 0, KEY_VIDEO           , 0x00080000 }, 
    66     { 0, KEY_RIGHT_SOFT      , 0x00002000 }, 
    67     { 0, KEY_UP_SOFT         , 0x00000400 }, 
    68     { 0, KEY_DOWN_SOFT       , 0x00008000 }, 
     66 //   { 0, KEY_RIGHT_SOFT      , 0x00002000 },  //soft keys commented out but still counted in the keymasks, seems to disable them like we want. 
     67 //   { 0, KEY_UP_SOFT         , 0x00000400 },  //if enabled can cause unintentional button presses in alt menu when rotating the jogdial really fast. 
     68 //   { 0, KEY_DOWN_SOFT       , 0x00008000 }, 
    6969 
    7070    { 1, KEY_PRINT           , 0x00200000 }, // playback = alt button 
    7171    { 1, KEY_PLAYBACK        , 0x00200000 }, 
    7272 
    73     { 2, KEY_LEFT_SOFT       , 0x00000080 }, 
     73 //   { 2, KEY_LEFT_SOFT       , 0x00000080 }, 
    7474    { 2, KEY_LEFT            , 0x00000100 }, 
    7575    { 2, KEY_SHOOT_FULL      , 0x00002002 }, 
  • branches/release-1_0/platform/sx220hs/platform_camera.h

    r1697 r1791  
    104104    #undef  CAMERA_MAX_DIST 
    105105    #define CAMERA_MAX_DIST                 2000000 // Override max subject distance 1739131 //testscript=1098902 
     106        #define DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY       1 
    106107//---------------------------------------------------------- 
  • branches/release-1_0/platform/sx220hs/sub/100a/stubs_min.S

    r1637 r1791  
    22 
    33DEF(recreview_hold,                     0x93D4 + 0xF0)  // FF1B6640 
    4 DEF(enabled_refresh_physical_screen,    0x53C4 + 0x14)  //changed to fix error when displaying menu, was 0x20 FF0A99C0  
    54DEF(led_table,                          0x258C + 0x04)  // FF0557C4 
  • branches/release-1_0/platform/sx220hs/sub/101a/stubs_min.S

    r1637 r1791  
    33DEF(zoom_status,                        0xF5A4)         // ff31c404 
    44DEF(recreview_hold,                     0x93D4 + 0xF0)  // FF1B6640 
    5 DEF(enabled_refresh_physical_screen,    0x53C4 + 0x14)  //changed to fix error when displaying menu, was 0x20 FF0A99C0  
    65DEF(led_table,                          0x258C + 0x04)  // FF0557C4 
  • branches/release-1_0/platform/sx220hs/sub/101b/stubs_min.S

    r1637 r1791  
    44DEF(zoom_status,                        0xF5A4)         // ff31c404 
    55DEF(recreview_hold,                     0x93D4 + 0xF0)  // FF1B6640 
    6 DEF(enabled_refresh_physical_screen,    0x53C4 + 0x14)  //changed to fix error when displaying menu, was 0x20 FF0A99C0  
    76DEF(led_table,                          0x258C + 0x04)  // FF0557C4 
Note: See TracChangeset for help on using the changeset viewer.