Changeset 1541


Ignore:
Timestamp:
01/11/12 11:27:53 (16 months ago)
Author:
msl
Message:

+ activate colored icons for the a720
+ deactivate CAM_QUALITY_OVERRIDE for the sx220. This feature doesn't work really, it produce not useable pictures. Probably there is a EXMEM problem.
+ uniform activating PTP support for sx220/230, why is the ptp support not enabled for all cameras in camera.h?
+ some cleanups in platform_camera.h (a720, sx220/230)

Location:
branches/release-1_0/platform
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_0/platform/a720/platform_camera.h

    r1418 r1541  
    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_CHDK_PTP                   1   // include CHDK PTP support 
     61 
     62    #define CAM_USE_COLORED_ICONS           1   // Enable using the CHDK-DE colored icons. 
    6063//---------------------------------------------------------- 
    6164 
  • branches/release-1_0/platform/sx220hs/platform_camera.h

    r1540 r1541  
    8585    #define CAM_ZEBRA_NOBUF                 1 
    8686 
    87     #define CAM_QUALITY_OVERRIDE            1 
    88      
     87    //#define CAM_QUALITY_OVERRIDE            1   // this feature doesn't work really, it produce not useable pictures. There is a EXMEM problem. 
     88 
    8989    #define CAM_STARTUP_CRASH_FILE_OPEN_FIX 1 
    9090 
    91     #define CAM_USE_COLORED_ICONS           1       // Enable using the CHDK-DE colored icons. 
     91    #define  CAM_CHDK_PTP                   1   // include CHDK PTP support 
     92 
     93    #define CAM_USE_COLORED_ICONS           1   // Enable using the CHDK-DE colored icons. 
    9294//---------------------------------------------------------- 
  • branches/release-1_0/platform/sx230hs/platform_camera.h

    r1540 r1541  
    9999    #define CAM_STARTUP_CRASH_FILE_OPEN_FIX 1 
    100100 
    101     #define CAM_USE_COLORED_ICONS           1       // Enable using the CHDK-DE colored icons. 
     101    #define  CAM_CHDK_PTP                   1   // include CHDK PTP support 
     102 
     103    #define CAM_USE_COLORED_ICONS           1   // Enable using the CHDK-DE colored icons. 
Note: See TracChangeset for help on using the changeset viewer.