Changeset 1300 for trunk


Ignore:
Timestamp:
08/20/11 06:59:25 (21 months ago)
Author:
philmoz
Message:

Updated comments for G12 & SX30 to include correct firmware addresses for each version.

Location:
trunk/platform
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/g12/sub/100e/lib.c

    r1213 r1300  
    1313{ 
    1414        // Appears to be two raw buffers (this returns active buffer) 
    15         // Addresses below found in table at FFBBAD50, ref at FF8843F4 
     15        // Addresses below found in table at FFBBAF00, ref at FF8843F4 
    1616        // used in _sub_FF8841BC__SsImgProcBuf.c__0  
    1717        // checks [0x2E88 + 0xc] --> defines which buffer is active 
     
    2626{ 
    2727        // Appears to be two raw buffers (this returns inactive buffer) 
    28         // Addresses below found in table at FFBBAD50, ref at FF8843F4 
     28        // Addresses below found in table at FFBBAF00, ref at FF8843F4 
    2929        // used in _sub_FF8841BC__SsImgProcBuf.c__0  
    3030        // checks [0x2E88 + 0xc] --> defines which buffer is active 
  • trunk/platform/g12/sub/100f/lib.c

    r1192 r1300  
    1313{ 
    1414        // Appears to be two raw buffers (this returns active buffer) 
    15         // Addresses below found in table at FFBBAD50, ref at FF8843F4 
     15        // Addresses below found in table at FFBBAEF0, ref at FF8843F4 
    1616        // used in _sub_FF8841BC__SsImgProcBuf.c__0  
    1717        // checks [0x2E88 + 0xc] --> defines which buffer is active 
     
    2626{ 
    2727        // Appears to be two raw buffers (this returns inactive buffer) 
    28         // Addresses below found in table at FFBBAD50, ref at FF8843F4 
     28        // Addresses below found in table at FFBBAEF0, ref at FF8843F4 
    2929        // used in _sub_FF8841BC__SsImgProcBuf.c__0  
    3030        // checks [0x2E88 + 0xc] --> defines which buffer is active 
  • trunk/platform/generic/capt_seq.c

    r1289 r1300  
    4949    case NOISE_REDUCTION_AUTO_CANON: 
    5050        // leave it alone 
    51 #if defined(NR_AUTO)                    // If value defined store if (e.g. for G12 & SX30 need to reset back to 0 to enable auto) 
     51#if defined(NR_AUTO)                    // If value defined store it (e.g. for G12 & SX30 need to reset back to 0 to enable auto) 
    5252        *nrflag = NR_AUTO; 
    5353#endif 
  • trunk/platform/sx30/sub/100e/lib.c

    r1086 r1300  
    22 
    33/* 
    4 sensor size from code at sub_FFB59B8C = (4464*3276)*(12/8) = 0x14EB7E0 = 21936096 
     4sensor size from code at sub_FFB59AD0 = (4464*3276)*(12/8) = 0x14EB7E0 = 21936096 
    55 
    6 @FFB59BCC = 0xea0 = 4464        // raw sensor size 
    7 @FFB59BD4 = 0xae0 = 3276 
    8 @FFB59BDC = 0xe40 = 4320        // cropped size ?? 
    9 @FFB59BE4 = 0xab0 = 3240 
     6@FFB59B10 = 0x1170 = 4464       // raw sensor size 
     7@FFB59B18 = 0x0ccc = 3276 
     8@FFB59B20 = 0x10e0 = 4320       // cropped size ?? 
     9@FFB59B28 = 0x0ca8 = 3240 
    1010*/ 
    1111 
     
    1313{ 
    1414        // Appears to be two raw buffers (this returns active buffer) 
    15         // Addresses below found in table at FFB9922C, ref at FF88883C 
     15        // Addresses below found in table at FFB99170, ref at FF88883C 
    1616        // used in _sub_FF888630__SsImgProcBuf.c__0  
    1717        // checks [0x36a0 + 0xc] --> defines which buffer is active 
     
    2020                return (char*) 0x443B4960; 
    2121        else 
    22                 return (char*) 0x4235F6B0;      // found at (0xFFB59F40) [search CRAW BUF] 
     22                return (char*) 0x4235F6B0;      // found at (FFB59E84) [search CRAW BUF] 
    2323} 
    2424 
     
    2626{ 
    2727        // Appears to be two raw buffers (this returns inactive buffer) 
    28         // Addresses below found in table at FFB9922C, ref at FF88883C 
     28        // Addresses below found in table at FFB99170, ref at FF88883C 
    2929        // used in _sub_FF888630__SsImgProcBuf.c__0  
    3030        // checks [0x36a0 + 0xc] --> defines which buffer is active 
     
    3333                return (char*) 0x443B4960; 
    3434        else 
    35                 return (char*) 0x4235F6B0;      // found at (0xFFB59F40) [search CRAW BUF] 
     35                return (char*) 0x4235F6B0;      // found at (FFB59E84) [search CRAW BUF] 
    3636} 
    3737 
     
    5050void *vid_get_bitmap_fb() 
    5151{ 
    52         return (void*)0x40471000; // sub_FF93062C  
     52        return (void*)0x40471000; // sub_FF9305F8  
    5353} 
    5454 
  • trunk/platform/sx30/sub/100h/lib.c

    r1086 r1300  
    44sensor size from code at sub_FFB59B8C = (4464*3276)*(12/8) = 0x14EB7E0 = 21936096 
    55 
    6 @FFB59BCC = 0xea0 = 4464        // raw sensor size 
    7 @FFB59BD4 = 0xae0 = 3276 
    8 @FFB59BDC = 0xe40 = 4320        // cropped size ?? 
    9 @FFB59BE4 = 0xab0 = 3240 
     6@FFB59BCC = 0x1170 = 4464       // raw sensor size 
     7@FFB59BD4 = 0x0ccc = 3276 
     8@FFB59BDC = 0x10e0 = 4320       // cropped size ?? 
     9@FFB59BE4 = 0x0ca8 = 3240 
    1010*/ 
    1111 
  • trunk/platform/sx30/sub/100l/lib.c

    r1086 r1300  
    22 
    33/* 
    4 sensor size from code at sub_FFB59B8C = (4464*3276)*(12/8) = 0x14EB7E0 = 21936096 
     4sensor size from code at sub_FFB59D34 = (4464*3276)*(12/8) = 0x14EB7E0 = 21936096 
    55 
    6 @FFB59BCC = 0xea0 = 4464        // raw sensor size 
    7 @FFB59BD4 = 0xae0 = 3276 
    8 @FFB59BDC = 0xe40 = 4320        // cropped size ?? 
    9 @FFB59BE4 = 0xab0 = 3240 
     6@FFB59D74 = 0x1170 = 4464       // raw sensor size 
     7@FFB59D7C = 0x0ccc = 3276 
     8@FFB59D84 = 0x10e0 = 4320       // cropped size ?? 
     9@FFB59D8C = 0x0ca8 = 3240 
    1010*/ 
    1111 
     
    1313{ 
    1414        // Appears to be two raw buffers (this returns active buffer) 
    15         // Addresses below found in table at FFB9922C, ref at FF88883C 
    16         // used in _sub_FF888630__SsImgProcBuf.c__0  
     15        // Addresses below found in table at FFB993D4, ref at FF888840 
     16        // used in _sub_FF888634__SsImgProcBuf.c__0  
    1717        // checks [0x36a0 + 0xc] --> defines which buffer is active 
    1818 
     
    2020                return (char*) 0x443B4960; 
    2121        else 
    22                 return (char*) 0x4235F6B0;      // found at (0xFFB59F40) [search CRAW BUF] 
     22                return (char*) 0x4235F6B0;      // found at (FFB5A0E8) [search CRAW BUF] 
    2323} 
    2424 
     
    2626{ 
    2727        // Appears to be two raw buffers (this returns inactive buffer) 
    28         // Addresses below found in table at FFB9922C, ref at FF88883C 
    29         // used in _sub_FF888630__SsImgProcBuf.c__0  
     28        // Addresses below found in table at FFB993D4, ref at FF888840 
     29        // used in _sub_FF888634__SsImgProcBuf.c__0  
    3030        // checks [0x36a0 + 0xc] --> defines which buffer is active 
    3131 
     
    3333                return (char*) 0x443B4960; 
    3434        else 
    35                 return (char*) 0x4235F6B0;      // found at (0xFFB59F40) [search CRAW BUF] 
     35                return (char*) 0x4235F6B0;      // found at (FFB5A0E8) [search CRAW BUF] 
    3636} 
    3737 
     
    5050void *vid_get_bitmap_fb() 
    5151{ 
    52         return (void*)0x40471000; // sub_FF93062C  
     52        return (void*)0x40471000; // sub_FF930630 
    5353} 
    5454 
     
    6565void *vid_get_viewport_fb() 
    6666{ 
    67         return (void*)0x40587700; // sub_FF8E8C58 
     67        return (void*)0x40587700; // sub_FF8E8C5C 
    6868} 
    6969 
  • trunk/platform/sx30/sub/100n/lib.c

    r1200 r1300  
    22 
    33/* 
    4 sensor size from code at sub_FFB59B8C = (4464*3276)*(12/8) = 0x14EB7E0 = 21936096 
     4sensor size from code at sub_FFB59DB8 = (4464*3276)*(12/8) = 0x14EB7E0 = 21936096 
    55 
    6 @FFB59BCC = 0xea0 = 4464        // raw sensor size 
    7 @FFB59BD4 = 0xae0 = 3276 
    8 @FFB59BDC = 0xe40 = 4320        // cropped size ?? 
    9 @FFB59BE4 = 0xab0 = 3240 
     6@FFB59DF8 = 0x1170 = 4464       // raw sensor size 
     7@FFB59E00 = 0x0ccc = 3276 
     8@FFB59E08 = 0x10e0 = 4320       // cropped size ?? 
     9@FFB59E10 = 0x0ca8 = 3240 
    1010*/ 
    1111 
     
    1313{ 
    1414        // Appears to be two raw buffers (this returns active buffer) 
    15         // Addresses below found in table at FFB9922C, ref at FF88883C 
    16         // used in _sub_FF888630__SsImgProcBuf.c__0  
     15        // Addresses below found in table at FFB99448, ref at FF888840 
     16        // used in _sub_FF888634__SsImgProcBuf.c__0  
    1717        // checks [0x36a0 + 0xc] --> defines which buffer is active 
    1818 
     
    2626{ 
    2727        // Appears to be two raw buffers (this returns inactive buffer) 
    28         // Addresses below found in table at FFB9922C, ref at FF88883C 
    29         // used in _sub_FF888630__SsImgProcBuf.c__0  
     28        // Addresses below found in table at FFB99448, ref at FF888840 
     29        // used in _sub_FF888634__SsImgProcBuf.c__0  
    3030        // checks [0x36a0 + 0xc] --> defines which buffer is active 
    3131 
     
    4444char *camera_jpeg_count_str() 
    4545{ 
    46         return (char*)0xCF2FC; // loc_FFA3BCD8 (search "9999", passed to sprintf) 
     46        return (char*)0xCF2FC; // loc_FFA3BD5C (search "9999", passed to sprintf) 
    4747} 
    4848 
     
    5050void *vid_get_bitmap_fb() 
    5151{ 
    52         return (void*)0x40471000; // sub_FF93062C  
     52        return (void*)0x40471000; // sub_FF930630 
    5353} 
    5454 
     
    6565void *vid_get_viewport_fb() 
    6666{ 
    67         return (void*)0x40587700; // sub_FF8E8C58 
     67        return (void*)0x40587700; // sub_FF8E8C5C 
    6868} 
    6969 
  • trunk/platform/sx30/sub/100p/lib.c

    r1273 r1300  
    22 
    33/* 
    4 sensor size from code at sub_FFB59B8C = (4464*3276)*(12/8) = 0x14EB7E0 = 21936096 
     4sensor size from code at sub_FFB59D98 = (4464*3276)*(12/8) = 0x14EB7E0 = 21936096 
    55 
    6 @FFB59BCC = 0xea0 = 4464        // raw sensor size 
    7 @FFB59BD4 = 0xae0 = 3276 
    8 @FFB59BDC = 0xe40 = 4320        // cropped size ?? 
    9 @FFB59BE4 = 0xab0 = 3240 
     6@FFB59DD8 = 0x1170 = 4464       // raw sensor size 
     7@FFB59DE0 = 0x0ccc = 3276 
     8@FFB59DE8 = 0x10e0 = 4320       // cropped size ?? 
     9@FFB59DF0 = 0x0ca8 = 3240 
    1010*/ 
    1111 
     
    1313{ 
    1414        // Appears to be two raw buffers (this returns active buffer) 
    15         // Addresses below found in table at FFB9922C, ref at FF88883C 
    16         // used in _sub_FF888630__SsImgProcBuf.c__0  
     15        // Addresses below found in table at FFB99428, ref at FF888840 
     16        // used in _sub_FF888634__SsImgProcBuf.c__0  
    1717        // checks [0x36a0 + 0xc] --> defines which buffer is active 
    1818 
     
    2020                return (char*) 0x443B4960; 
    2121        else 
    22                 return (char*) 0x4235F6B0;      // found at (0xFFB59F40) [search CRAW BUF] 
     22                return (char*) 0x4235F6B0;      // found at (FFB5A14C) [search CRAW BUF] 
    2323} 
    2424 
     
    2626{ 
    2727        // Appears to be two raw buffers (this returns inactive buffer) 
    28         // Addresses below found in table at FFB9922C, ref at FF88883C 
    29         // used in _sub_FF888630__SsImgProcBuf.c__0  
     28        // Addresses below found in table at FFB99428, ref at FF888840 
     29        // used in _sub_FF888634__SsImgProcBuf.c__0  
    3030        // checks [0x36a0 + 0xc] --> defines which buffer is active 
    3131 
     
    3333                return (char*) 0x443B4960; 
    3434        else 
    35                 return (char*) 0x4235F6B0;      // found at (0xFFB59F40) [search CRAW BUF] 
     35                return (char*) 0x4235F6B0;      // found at (FFB5A14C) [search CRAW BUF] 
    3636} 
    3737 
     
    4444char *camera_jpeg_count_str() 
    4545{ 
    46         return (char*)0xCF2FC; // loc_FFA3BCD8 (search "9999", passed to sprintf) 
     46        return (char*)0xCF2FC; // loc_FFA3BD5C (search "9999", passed to sprintf) 
    4747} 
    4848 
     
    5050void *vid_get_bitmap_fb() 
    5151{ 
    52         return (void*)0x40471000; // sub_FF93062C  
     52        return (void*)0x40471000; // sub_FF930630 
    5353} 
    5454 
     
    6565void *vid_get_viewport_fb() 
    6666{ 
    67         return (void*)0x40587700; // sub_FF8E8C58 
     67        return (void*)0x40587700; // sub_FF8E8C5C 
    6868} 
    6969 
Note: See TracChangeset for help on using the changeset viewer.