Changeset 1822


Ignore:
Timestamp:
04/22/12 06:53:37 (13 months ago)
Author:
reyalp
Message:

fix offset for fake 1:1 live view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/reyalp-ptp-live/platform/a540/sub/100b/lib.c

    r1818 r1822  
    127127    return (void*)(*(int*)0x5ED0); // FFD23420 DisplayPhysicalScreenWithYUVPalette 
    128128} 
    129 #if 1 
     129 
     130// TODO - this should go away 
    130131int vid_get_viewport_max_height()               { return 528; } // in 640x480 movie mode 
     132 
    131133// this returns actual width in rec mode 
    132134// normally 704, effectively 352 at normal 1:2 PAR. In 640 video, doesn't change but has 1:1 PAR 
     
    147149    return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:*(int*)(0x32C68+4); 
    148150} 
    149 #endif 
     151 
    150152int vid_get_viewport_logical_height() { 
    151153    // except for stitch, always full screen 
     
    186188int vid_get_viewport_xoffset() { 
    187189    if((mode_get()&MODE_SHOOTING_MASK) == MODE_PORTRAIT) { 
    188        return 88; 
     190       return 44; 
    189191    } 
    190192    return 0; 
Note: See TracChangeset for help on using the changeset viewer.