Changeset 1518


Ignore:
Timestamp:
12/31/11 05:26:46 (17 months ago)
Author:
philmoz
Message:

Fix for S95 edge overlay broken in changeset 1499.

Location:
branches/reyalp-flt/platform/s95
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-flt/platform/s95/lib.c

    r1244 r1518  
    6060   _PostLogicalEventForNotPowerType(0x1005,0); 
    6161} 
     62 
     63 
     64int vid_get_viewport_width() 
     65{ 
     66        return 360; 
     67} 
     68 
     69long vid_get_viewport_height() 
     70{ 
     71   return 240; 
     72 
     73} 
     74 
     75// Y multiplier for cameras with 480 pixel high viewports (CHDK code assumes 240) 
     76int vid_get_viewport_yscale() { 
     77        return 2;               // G12 viewport is 480 pixels high 
     78} 
  • branches/reyalp-flt/platform/s95/sub/100e/lib.c

    r1514 r1518  
    7676    return (char*) 0xBBC9C;                                             // @FFA3ACC4 - ok 
    7777} 
    78  
    79  
    80 int vid_get_viewport_width() 
    81 { 
    82         return 720; 
    83 } 
    84  
    85  
    86 long vid_get_viewport_height() 
    87 { 
    88    return 240; 
    89  
    90 } 
  • branches/reyalp-flt/platform/s95/sub/100h/lib.c

    r1514 r1518  
    7676    return (char*) 0xBBC9C;                                             // @FFA3ACC4 - ok 
    7777} 
    78  
    79  
    80 int vid_get_viewport_width() 
    81 { 
    82         return 720; 
    83 } 
    84  
    85  
    86 long vid_get_viewport_height() 
    87 { 
    88    return 240; 
    89  
    90 } 
  • branches/reyalp-flt/platform/s95/sub/100i/lib.c

    r1514 r1518  
    7676    return (char*) 0xBBC9C;                                             // @FFA3ACC4 - ok 
    7777} 
    78  
    79  
    80 int vid_get_viewport_width() 
    81 { 
    82         return 720; 
    83 } 
    84  
    85  
    86 long vid_get_viewport_height() 
    87 { 
    88    return 240; 
    89  
    90 } 
  • branches/reyalp-flt/platform/s95/sub/100k/lib.c

    r1514 r1518  
    7676    return (char*) 0xBBC9C;                                             // @FFA3ACC4 - ok 
    7777} 
    78  
    79  
    80 int vid_get_viewport_width() 
    81 { 
    82         return 720; 
    83 } 
    84  
    85  
    86 long vid_get_viewport_height() 
    87 { 
    88    return 240; 
    89  
    90 } 
Note: See TracChangeset for help on using the changeset viewer.