Changeset 1556


Ignore:
Timestamp:
01/15/12 00:43:11 (17 months ago)
Author:
philmoz
Message:

Add changes in 1540 & 1541 (from release-1.0 branch) to main development trunk.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/CHDK/LANG/german.lng

    r1317 r1556  
    579579459 "badpixel.bin erstellen" 
    580580460 "REC-Modus erforderlich." 
     581461 "%s ist nicht verfügbar!" 
     582 
     583462 "Touchscreen-Overrides" 
     584463 "Video-AE-Kontrolle" 
     585464 "<Alt>-Shortcut-Tasten" 
     586 
     587465 "USB-Info" 
     588466 "USB-Info-Anzeige" 
     589 
     590467 "ROM-Crash-Log speichern" 
     591468 "FEHLER: SystemEventInit und System.Create gescheitert" 
     592469 "ROM-Crash-Log konnte nicht gespeichert werden." 
     593470 "ROM-Crash-Log in A/ROMLOG.LOG gespeichert." 
  • trunk/core/gui_draw.h

    r1552 r1556  
    510510#define COLOR_BLUE          0xa1 
    511511#define COLOR_YELLOW        0x92 
    512 #define COLOR_BG            0x62 
     512#define COLOR_BG            0x4B 
    513513#define COLOR_FG            COLOR_WHITE 
    514514#define COLOR_SELECTED_BG   0x0e 
  • trunk/platform/a720/platform_camera.h

    r1555 r1556  
    2121// don't override them again in here. 
    2222 
    23     #define CAM_PROPSET                 2 
    24     #define CAM_DRYOS                   1 
     23    #define CAM_PROPSET                     2 
     24    #define CAM_DRYOS                       1 
    2525 
    26     #define CAM_RAW_ROWPIX              3336   // for new 8 MP 
    27     #define CAM_RAW_ROWS                2480   // for new 8 MP 
     26    #define CAM_RAW_ROWPIX                  3336   // for new 8 MP 
     27    #define CAM_RAW_ROWS                    2480   // for new 8 MP 
    2828 
    29     #define CAM_MULTIPART               1 
    30     #define CAM_ADJUSTABLE_ALT_BUTTON   1 
    31     #define CAM_CAN_MUTE_MICROPHONE     1 
     29    #define CAM_MULTIPART                   1 
     30    #define CAM_ADJUSTABLE_ALT_BUTTON       1 
     31    #define CAM_CAN_MUTE_MICROPHONE         1 
    3232    #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 
    33     #define CAM_EV_IN_VIDEO             1 
     33    #define CAM_EV_IN_VIDEO                 1 
    3434    #undef  CAM_VIDEO_CONTROL 
    35 // disabled for now, see http://chdk.setepontos.com/index.php?topic=6182.0 
    36 //    #define CAM_EXT_TV_RANGE            1 
     35 
     36//    #define CAM_EXT_TV_RANGE                1   // disabled for now, see http://chdk.setepontos.com/index.php?topic=6182.0 
    3737 
    3838    #define CAM_DNG_LENS_INFO               { 58,10, 348,10, 28,10, 48,10 } // See comments in camera.h 
    3939    // pattern 
    40     #define cam_CFAPattern 0x01000201 // Green  Blue  Red  Green 
     40    #define cam_CFAPattern                  0x01000201 // Green  Blue  Red  Green 
    4141    // color 
    4242    #define CAM_COLORMATRIX1                               \ 
     
    4545      17965,  1000000, 78396,   1000000, 231868, 1000000 
    4646     
    47     #define cam_CalibrationIlluminant1 1 // Daylight 
     47    #define cam_CalibrationIlluminant1      1  // Daylight 
    4848    // cropping 
    49     #define CAM_JPEG_WIDTH  3264 
    50     #define CAM_JPEG_HEIGHT 2448 
    51     #define CAM_ACTIVE_AREA_X1 10 
    52     #define CAM_ACTIVE_AREA_Y1 8 
    53     #define CAM_ACTIVE_AREA_X2 3302 
    54     #define CAM_ACTIVE_AREA_Y2 2474 
     49    #define CAM_JPEG_WIDTH                  3264 
     50    #define CAM_JPEG_HEIGHT                 2448 
     51    #define CAM_ACTIVE_AREA_X1              10 
     52    #define CAM_ACTIVE_AREA_Y1              8 
     53    #define CAM_ACTIVE_AREA_X2              3302 
     54    #define CAM_ACTIVE_AREA_Y2              2474 
    5555    // camera name 
    56     #define PARAM_CAMERA_NAME 4 // parameter number for GetParameterData 
     56    #define PARAM_CAMERA_NAME               4  // parameter number for GetParameterData 
    5757 
    58     #define DNG_EXT_FROM ".CR2" 
    59     #define  CAM_CHDK_PTP               1 // include CHDK PTP support 
     58    #define DNG_EXT_FROM                    ".CR2" 
     59 
     60    #define CAM_USE_COLORED_ICONS           1   // Enable using the CHDK-DE colored icons. 
    6061         
    6162        #define REMOTE_SYNC_STATUS_LED  0xc02200C4              // specifies an LED that turns on while camera waits for USB remote to sync 
  • trunk/platform/sx220hs/platform_camera.h

    r1555 r1556  
    2020// for information on each setting. If the default values are correct for your camera then 
    2121// don't override them again in here. 
    22          
    23         #define CAM_DRYOS_2_3_R47                               1 
    24         #define CAM_DETECT_SCREEN_ERASE                 1 
    25         #define CAM_DISABLE_RAW_IN_LOW_LIGHT_MODE       1 
    26         #define DNG_VERT_RLE_BADPIXELS                  1 
    27         #define CAM_AV_OVERRIDE_IRIS_FIX                1               // for cameras that require _MoveIrisWithAv function to override Av. 
    28         #define CAM_KEY_CLICK_DELAY                     150 
    29         #define CAM_ADJUSTABLE_ALT_BUTTON               1 
    30         #define CAM_DRIVE_MODE_FROM_TIMER_MODE  1 
    3122 
    32     #define CAM_DRYOS_2_3_R39                   1 
    33     #define CAM_PROPSET                                 4 
    34     #define     CAM_DATE_FOLDER_NAMING          1 
    35     #define CAM_DRYOS                   1 
    36     #define CAM_RAW_ROWPIX              4168 
    37     #define CAM_RAW_ROWS                3060 // actual size from fw 12754080pix at FF375484 -> 19131120/12*8 
    38         #define CAM_HAS_ND_FILTER               1 
     23    #define CAM_DRYOS_2_3_R47               1 
     24    #define CAM_DETECT_SCREEN_ERASE         1 
     25    #define CAM_DISABLE_RAW_IN_LOW_LIGHT_MODE   1 
     26    #define DNG_VERT_RLE_BADPIXELS          1 
     27    #define CAM_AV_OVERRIDE_IRIS_FIX        1   // for cameras that require _MoveIrisWithAv function to override Av. 
     28    #define CAM_KEY_CLICK_DELAY             150 
     29    #define CAM_ADJUSTABLE_ALT_BUTTON       1 
     30    #define CAM_DRIVE_MODE_FROM_TIMER_MODE  1 
     31 
     32    #define CAM_DRYOS_2_3_R39               1 
     33    #define CAM_PROPSET                     4 
     34    #define CAM_DATE_FOLDER_NAMING          1 
     35    #define CAM_DRYOS                       1 
     36    #define CAM_RAW_ROWPIX                  4168 
     37    #define CAM_RAW_ROWS                    3060 // actual size from fw 12754080pix at FF375484 -> 19131120/12*8 
     38    #define CAM_HAS_ND_FILTER               1 
    3939    #undef  CAM_CAN_SD_OVER_NOT_IN_MF 
    4040    #undef  CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO 
    41     #define CAM_HAS_VIDEO_BUTTON                        1 
     41    #define CAM_HAS_VIDEO_BUTTON            1 
    4242    #define CAM_VIDEO_QUALITY_ONLY          1 
    4343    #undef  CAM_VIDEO_CONTROL 
    44     #define CAM_HAS_JOGDIAL             1 
     44    #define CAM_HAS_JOGDIAL                 1 
    4545    #undef  CAM_USE_ZOOM_FOR_MF 
    46     #undef  CAM_UNCACHED_BIT  // shut up compiler 
    47     #define CAM_UNCACHED_BIT    0x40000000 
     46    #undef  CAM_UNCACHED_BIT                    // shut up compiler 
     47    #define CAM_UNCACHED_BIT                0x40000000 
    4848 
    4949    #define CAM_DNG_LENS_INFO               { 50,10, 700,10, 31,10, 59,10 } // See comments in camera.h 
    50     #define cam_CFAPattern  0x02010100 
     50    #define cam_CFAPattern                  0x02010100 
    5151   
    52         #define CAM_COLORMATRIX1        \ 
    53         544808, 1000000, -174047, 1000000, -80399, 1000000, \ 
    54         -75055, 1000000, 440444, 1000000, 11367, 1000000, \ 
    55         -5801, 1000000, 71589, 1000000, 118914, 1000000 
     52    #define CAM_COLORMATRIX1                                \ 
     53        544808, 1000000, -174047, 1000000, -80399, 1000000, \ 
     54        -75055, 1000000,  440444, 1000000, 11367, 1000000, \ 
     55         -5801, 1000000,  71589, 1000000, 118914, 1000000 
    5656     
    57         #define cam_CalibrationIlluminant1 1 
     57    #define cam_CalibrationIlluminant1 1 
    5858    
    59     #define CAM_JPEG_WIDTH  4000 
    60     #define CAM_JPEG_HEIGHT 3000 
    61     #define CAM_ACTIVE_AREA_X1                  96 
    62         #define CAM_ACTIVE_AREA_Y1                      24 
    63         #define CAM_ACTIVE_AREA_X2                      4168 
    64         #define CAM_ACTIVE_AREA_Y2                      3060 
    65     #define PARAM_CAMERA_NAME 4 // parameter number for GetParameterData 
     59    #define CAM_JPEG_WIDTH                  4000 
     60    #define CAM_JPEG_HEIGHT                 3000 
     61    #define CAM_ACTIVE_AREA_X1              96 
     62    #define CAM_ACTIVE_AREA_Y1              24 
     63    #define CAM_ACTIVE_AREA_X2              4168 
     64    #define CAM_ACTIVE_AREA_Y2              3060 
     65    #define PARAM_CAMERA_NAME               4  // parameter number for GetParameterData 
    6666    #undef  CAM_SENSOR_BITS_PER_PIXEL 
    67     #define CAM_SENSOR_BITS_PER_PIXEL   12 
    68     #define CAM_EXT_TV_RANGE            1 
    69     #undef CAM_BITMAP_PALETTE 
    70     #define CAM_BITMAP_PALETTE                  9 
    71     #undef CAM_HAS_ERASE_BUTTON 
    72     #define  CAM_SHOW_OSD_IN_SHOOT_MENU  1 
     67    #define CAM_SENSOR_BITS_PER_PIXEL       12 
     68    #define CAM_EXT_TV_RANGE                1 
     69    #undef  CAM_BITMAP_PALETTE 
     70    #define CAM_BITMAP_PALETTE              9 
     71    #undef  CAM_HAS_ERASE_BUTTON 
     72    #define CAM_SHOW_OSD_IN_SHOOT_MENU      1 
    7373 
    74     #define CAM_HAS_VARIABLE_ASPECT 1 
    75     #undef CAM_USES_ASPECT_CORRECTION 
    76     #define CAM_USES_ASPECT_CORRECTION  1  //camera uses the modified graphics primitives to map screens an viewports to buffers more sized 
     74    #define CAM_HAS_VARIABLE_ASPECT         1 
     75    #undef  CAM_USES_ASPECT_CORRECTION 
     76    #define CAM_USES_ASPECT_CORRECTION      1  //camera uses the modified graphics primitives to map screens an viewports to buffers more sized 
    7777    #undef CAM_SCREEN_WIDTH 
    7878    #undef CAM_BITMAP_WIDTH 
     
    8282    #define CAM_BITMAP_HEIGHT               270 // Actual height of bitmap screen in rows 
    8383 
    84     #undef EDGE_HMARGIN 
    85     #define EDGE_HMARGIN 10 
     84    #undef  EDGE_HMARGIN 
     85    #define EDGE_HMARGIN                    10 
    8686 
    87     #undef ZEBRA_HMARGIN0 
    88     #define ZEBRA_HMARGIN0  30 
     87    #undef  ZEBRA_HMARGIN0 
     88    #define ZEBRA_HMARGIN0                  30 
    8989 
    90     #define CAM_ZEBRA_ASPECT_ADJUST 1 
    91     #define CAM_ZEBRA_NOBUF 1 
     90    #define CAM_ZEBRA_ASPECT_ADJUST         1 
     91    #define CAM_ZEBRA_NOBUF                 1 
    9292 
    93     #define CAM_QUALITY_OVERRIDE 1 
    94          
    95         #define  CAM_STARTUP_CRASH_FILE_OPEN_FIX 1 
     93    //#define CAM_QUALITY_OVERRIDE            1   // this feature doesn't work really, it produce not useable pictures. There is a EXMEM problem. 
     94 
     95    #define CAM_STARTUP_CRASH_FILE_OPEN_FIX 1 
     96 
     97    #define CAM_USE_COLORED_ICONS           1   // Enable using the CHDK-DE colored icons. 
    9698 
    9799        #define REMOTE_SYNC_STATUS_LED  0xC0220130              // specifies an LED that turns on while camera waits for USB remote to sync 
  • trunk/platform/sx230hs/platform_camera.h

    r1555 r1556  
    2121// don't override them again in here. 
    2222 
    23         #define OPT_GPS                                                 1 
     23    #define OPT_GPS                         1 
    2424 
     25    #define CAM_DRYOS_2_3_R47               1 
     26    #define CAM_DETECT_SCREEN_ERASE         1 
     27    #define CAM_DISABLE_RAW_IN_LOW_LIGHT_MODE   1 
     28    #define DNG_VERT_RLE_BADPIXELS          1 
     29    #define CAM_AV_OVERRIDE_IRIS_FIX        1 
     30    #define CAM_KEY_CLICK_DELAY             150 
     31    #define CAM_ADJUSTABLE_ALT_BUTTON       1 
     32    #define CAM_DRIVE_MODE_FROM_TIMER_MODE  1 
    2533 
    26         #define CAM_DRYOS_2_3_R47                               1 
    27         #define CAM_DETECT_SCREEN_ERASE                 1 
    28         #define CAM_DISABLE_RAW_IN_LOW_LIGHT_MODE       1 
    29         #define DNG_VERT_RLE_BADPIXELS          1 
    30         #define CAM_AV_OVERRIDE_IRIS_FIX                1 
    31         #define CAM_KEY_CLICK_DELAY                     150 
    32         #define CAM_ADJUSTABLE_ALT_BUTTON               1 
    33         #define CAM_DRIVE_MODE_FROM_TIMER_MODE  1 
     34    #define CAM_DRYOS_2_3_R39               1 
     35    #define CAM_PROPSET                     4 
     36    #define CAM_DATE_FOLDER_NAMING          1 
     37    #define CAM_DRYOS                       1 
     38    #define CAM_RAW_ROWPIX                  4168 // Found @0xff1565dc 
     39    #define CAM_RAW_ROWS                    3060 // Found @0xff1565e0 
    3440 
    35         #define CAM_DRYOS_2_3_R39                       1        
    36     #define CAM_PROPSET                                 4 
    37     #define     CAM_DATE_FOLDER_NAMING          1 
    38         #define CAM_DRYOS                   1    
    39         #define CAM_RAW_ROWPIX              4168 // Found @0xff1565dc 
    40     #define CAM_RAW_ROWS                3060 // Found @0xff1565e0 
     41    #define CAM_HAS_CMOS                    1 
     42    #define CAM_HAS_ND_FILTER               1 
    4143 
    42         #define CAM_HAS_CMOS                    1 
    43         #define CAM_HAS_ND_FILTER                       1 
     44    #undef  CAM_CAN_SD_OVER_NOT_IN_MF 
     45    #undef  CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO 
     46    #define CAM_HAS_VIDEO_BUTTON            1 
     47    #define CAM_VIDEO_QUALITY_ONLY          1 
    4448 
    45         #undef  CAM_CAN_SD_OVER_NOT_IN_MF 
    46     #undef  CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO 
    47         #define CAM_HAS_VIDEO_BUTTON            1 
    48     #define CAM_VIDEO_QUALITY_ONLY      1 
     49    #undef  CAM_VIDEO_CONTROL 
    4950 
    50         #undef  CAM_VIDEO_CONTROL 
    51  
    52         #define CAM_HAS_JOGDIAL             1 
     51    #define CAM_HAS_JOGDIAL                 1 
    5352    #undef  CAM_USE_ZOOM_FOR_MF 
    54         #undef  CAM_UNCACHED_BIT   
    55     #define CAM_UNCACHED_BIT    0x40000000  // Found @0xff02bcc0 
     53    #undef  CAM_UNCACHED_BIT 
     54    #define CAM_UNCACHED_BIT                0x40000000  // Found @0xff02bcc0 
    5655 
    5756    #define CAM_DNG_LENS_INFO               { 50,10, 700,10, 31,10, 59,10 } // See comments in camera.h 
    58         #define cam_CFAPattern          0x02010100   //Green  Blue  Red  Green  
    59          
    60         #define CAM_COLORMATRIX1        \ 
    61                         544808, 1000000, -174047, 1000000, -80399, 1000000, \ 
    62                         -75055, 1000000, 440444, 1000000, 11367, 1000000, \ 
    63                         -5801, 1000000, 71589, 1000000, 118914, 1000000  
    64                       
    65         #define cam_CalibrationIlluminant1 1  
    66          
    67         #define CAM_JPEG_WIDTH  4000         
    68     #define CAM_JPEG_HEIGHT 3000 
    69          
    70         #define CAM_ACTIVE_AREA_X1                      96   
    71         #define CAM_ACTIVE_AREA_Y1                      24   
    72         #define CAM_ACTIVE_AREA_X2                      4168 
    73         #define CAM_ACTIVE_AREA_Y2                      3060 
     57    #define cam_CFAPattern                  0x02010100   //Green  Blue  Red  Green  
    7458 
    75         #define PARAM_CAMERA_NAME 4  
    76         #undef  CAM_SENSOR_BITS_PER_PIXEL 
    77         #define CAM_SENSOR_BITS_PER_PIXEL   12       
     59    #define CAM_COLORMATRIX1                                \ 
     60        544808, 1000000, -174047, 1000000, -80399, 1000000, \ 
     61        -75055, 1000000,  440444, 1000000,  11367, 1000000, \ 
     62         -5801, 1000000,   71589, 1000000, 118914, 1000000  
    7863 
    79         #define CAM_EXT_TV_RANGE            1 
    80          
     64    #define cam_CalibrationIlluminant1      1 
     65 
     66    #define CAM_JPEG_WIDTH                  4000 
     67    #define CAM_JPEG_HEIGHT                 3000 
     68 
     69    #define CAM_ACTIVE_AREA_X1              96   
     70    #define CAM_ACTIVE_AREA_Y1              24   
     71    #define CAM_ACTIVE_AREA_X2              4168 
     72    #define CAM_ACTIVE_AREA_Y2              3060 
     73 
     74    #define PARAM_CAMERA_NAME               4  
     75    #undef  CAM_SENSOR_BITS_PER_PIXEL 
     76    #define CAM_SENSOR_BITS_PER_PIXEL       12 
     77 
     78    #define CAM_EXT_TV_RANGE                1 
     79 
    8180    #undef CAM_BITMAP_PALETTE 
    82     #define CAM_BITMAP_PALETTE                  9 
    83     #undef CAM_HAS_ERASE_BUTTON 
    84     #define  CAM_SHOW_OSD_IN_SHOOT_MENU  1 
    85          
    86         #define CAM_HAS_VARIABLE_ASPECT 1 
    87     #undef CAM_USES_ASPECT_CORRECTION 
    88     #define CAM_USES_ASPECT_CORRECTION  1 
     81    #define CAM_BITMAP_PALETTE              9 
     82    #undef  CAM_HAS_ERASE_BUTTON 
     83    #define CAM_SHOW_OSD_IN_SHOOT_MENU      1 
     84 
     85    #define CAM_HAS_VARIABLE_ASPECT        1 
     86    #undef  CAM_USES_ASPECT_CORRECTION 
     87    #define CAM_USES_ASPECT_CORRECTION      1 
    8988    #undef CAM_SCREEN_WIDTH 
    9089    #undef CAM_BITMAP_WIDTH 
     
    9493    #define CAM_BITMAP_HEIGHT               270 // Actual height of bitmap screen in rows 
    9594 
    96         #undef EDGE_HMARGIN 
    97     #define EDGE_HMARGIN 10 
     95    #undef EDGE_HMARGIN 
     96    #define EDGE_HMARGIN                    10 
    9897 
    9998    #undef ZEBRA_HMARGIN0 
    100     #define ZEBRA_HMARGIN0  30  
     99    #define ZEBRA_HMARGIN0                  30  
    101100 
    102     #define CAM_ZEBRA_ASPECT_ADJUST 1 
    103     #define CAM_ZEBRA_NOBUF 1 
     101    #define CAM_ZEBRA_ASPECT_ADJUST         1 
     102    #define CAM_ZEBRA_NOBUF                 1 
    104103 
    105         #define CAM_QUALITY_OVERRIDE 1 
    106         #define CAM_STARTUP_CRASH_FILE_OPEN_FIX 1 
     104    #define CAM_QUALITY_OVERRIDE            1 
     105    #define CAM_STARTUP_CRASH_FILE_OPEN_FIX 1 
    107106 
    108  
    109         #undef  CAM_CHDK_PTP 
    110         #define CAM_CHDK_PTP                            1                       //SX220 added 
     107    #define CAM_USE_COLORED_ICONS           1   // Enable using the CHDK-DE colored icons. 
    111108         
    112109        #define REMOTE_SYNC_STATUS_LED  0xC0220130              // specifies an LED that turns on while camera waits for USB remote to sync 
    113          
    114 //TODO  #define CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO 0    
    115 //TODO    #define CAM_MULTIPART               1 
    116 //TODO          #define CAM_BRACKETING                          1 
    117  
    118 //TODO REMOVE #define CAM_DRIVE_MODE_FROM_TIMER_MODE 
Note: See TracChangeset for help on using the changeset viewer.