Changeset 1860
- Timestamp:
- 05/18/12 23:25:14 (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_0/platform/ixus65_sd630/sub/100a/lib.c
r1637 r1860 19 19 } 20 20 21 /** 22 * TODO: ?????? 23 */ 24 void *vid_get_viewport_live_fb() 21 void *vid_get_viewport_live_fb() // from a420 25 22 { 26 return (void*)0; 23 void **fb=(void **)0x52c8; // ixus65, @ 0xff8a7b94 24 unsigned char buff = *((unsigned char*)0x52d8); 25 if (buff == 0) { 26 buff = 2; 27 } 28 else { 29 buff--; 30 } 31 return fb[buff]; 27 32 } 28 33 … … 32 37 void *vid_get_viewport_fb() 33 38 { 34 return (void*)0x105 59570;39 return (void*)0x105f17a0; //ixus65, the first of the 3 buffers 35 40 } 36 41 … … 40 45 void *vid_get_viewport_fb_d() 41 46 { 42 return (void*)0x104AFCA0; 43 //return (void*)(*(int*)); 47 //return (void*)0x104AFCA0; 48 int x=(*(int*)0x6dd4c); 49 return (void*) (x ? x : 0x105599a0) ; //ixus65, still incorrect when a stopped movie is displayed 44 50 } 45 51 … … 61 67 char *camera_jpeg_count_str() 62 68 { 63 //TODO: fix this!! 64 return (char*)0x10B80; 69 return (char*)0x79358; 65 70 } 71 72 void *vid_get_bitmap_active_buffer() 73 { 74 return (void*)(*(int*)0x5ee4); // sub_ff93606c DisplayPhysicalScreenWithYUVPalette 75 } 76 77 void *vid_get_bitmap_active_palette() { 78 return (void *)0x6d6b0; // found also in sub_ff93606c 79 } 80 81 int vid_get_palette_type() { return 1; } 82 int vid_get_palette_size() { return 16*4; } 83 84 int vid_get_viewport_width_proper() { return ((mode_get()&MODE_MASK) == MODE_PLAY)?720:*(int*)0x3d0e8;} //sub_ff8aa408 85 int vid_get_viewport_height_proper() { return ((mode_get()&MODE_MASK) == MODE_PLAY)?240:*(int*)0x3d0ec;} //"VRAM DataSize H : %04ld, V : %04ld" 86 66 87 int movie_status = 0; 67 88
Note: See TracChangeset
for help on using the changeset viewer.