Changeset 1822
- Timestamp:
- 04/22/12 06:53:37 (13 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reyalp-ptp-live/platform/a540/sub/100b/lib.c
r1818 r1822 127 127 return (void*)(*(int*)0x5ED0); // FFD23420 DisplayPhysicalScreenWithYUVPalette 128 128 } 129 #if 1 129 130 // TODO - this should go away 130 131 int vid_get_viewport_max_height() { return 528; } // in 640x480 movie mode 132 131 133 // this returns actual width in rec mode 132 134 // normally 704, effectively 352 at normal 1:2 PAR. In 640 video, doesn't change but has 1:1 PAR … … 147 149 return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:*(int*)(0x32C68+4); 148 150 } 149 #endif 151 150 152 int vid_get_viewport_logical_height() { 151 153 // except for stitch, always full screen … … 186 188 int vid_get_viewport_xoffset() { 187 189 if((mode_get()&MODE_SHOOTING_MASK) == MODE_PORTRAIT) { 188 return 88;190 return 44; 189 191 } 190 192 return 0;
Note: See TracChangeset
for help on using the changeset viewer.