Ignore:
Timestamp:
02/10/12 09:43:38 (16 months ago)
Author:
philmoz
Message:

Merged revision(s) 1652 from branches/release-1_0:

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/platform/a570/platform_camera.h

    r1555 r1656  
    1 // Camera - A570 - platform_camera.h 
     1// Camera - a570 - platform_camera.h 
    22 
    3 // This file contains the various settings values specific to the A570 camera. 
     3// This file contains the various settings values specific to the a570 camera. 
    44// This file is referenced via the 'include/camera.h' file and should not be loaded directly. 
    55 
     
    2121// don't override them again in here. 
    2222 
    23         #define CAM_PROPSET                 2 
     23    #define CAM_PROPSET                     2 
    2424 
    25         #define CAM_RAW_ROWPIX              3152        // for 7 MP 
    26         #define CAM_RAW_ROWS                2340        // for 7 MP 
    27         #define CAM_MULTIPART               1 
    28         #define CAM_CAN_MUTE_MICROPHONE     1 
    29         #define CAM_ADJUSTABLE_ALT_BUTTON   1 
    30         #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 
    31         #define CAM_EV_IN_VIDEO            1 
    32         #define CAM_REAR_CURTAIN            1 
     25    #define CAM_RAW_ROWPIX                  3152    // for 7 MP 
     26    #define CAM_RAW_ROWS                    2340    // for 7 MP 
     27 
     28    #define CAM_MULTIPART                   1 
     29    #define CAM_CAN_MUTE_MICROPHONE         1 
     30    #define CAM_ADJUSTABLE_ALT_BUTTON      1 
     31    #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 
     32    #define CAM_EV_IN_VIDEO                 1 
    3333 
    3434    #define CAM_DNG_LENS_INFO               { 58,10, 232,10, 26,10, 55,10 } // See comments in camera.h 
    35         // pattern 
    36         #define cam_CFAPattern 0x02010100 // Red  Green  Green  Blue 
    37         // color 
    38         #define CAM_COLORMATRIX1                            \ 
    39     528283, 1000000,-144259, 1000000, -85966, 1000000,  \ 
    40     -202789, 1000000, 736563, 1000000, 73008, 1000000,  \ 
    41     -27130,  1000000, 107702, 1000000, 264543, 1000000 
     35    #define CAM_REAR_CURTAIN                1 
     36    // pattern 
     37    #define cam_CFAPattern                  0x02010100 // Red  Green  Green  Blue 
     38    // color 
     39    #define CAM_COLORMATRIX1                              \ 
     40     528283, 1000000, -144259, 1000000,  -85966, 1000000, \ 
     41    -202789, 1000000,  736563, 1000000,   73008, 1000000, \ 
     42     -27130, 1000000,  107702, 1000000,  264543, 1000000 
    4243 
    43         #define cam_CalibrationIlluminant1 1 // Daylight 
    44         // cropping 
    45         #define CAM_JPEG_WIDTH  3072 
    46         #define CAM_JPEG_HEIGHT 2304 
    47         #define CAM_ACTIVE_AREA_X1 38 
    48         #define CAM_ACTIVE_AREA_Y1 14 
    49         #define CAM_ACTIVE_AREA_X2 3146 
    50         #define CAM_ACTIVE_AREA_Y2 2338 
    51         // camera name 
    52         #define PARAM_CAMERA_NAME 4 // parameter number for GetParameterData 
     44    #define cam_CalibrationIlluminant1      1      // Daylight 
     45    // cropping 
     46    #define CAM_JPEG_WIDTH                  3072 
     47    #define CAM_JPEG_HEIGHT                2304 
     48    #define CAM_ACTIVE_AREA_X1              38 
     49    #define CAM_ACTIVE_AREA_Y1              14 
     50    #define CAM_ACTIVE_AREA_X2              3146 
     51    #define CAM_ACTIVE_AREA_Y2              2338 
     52    // camera name 
     53    #define PARAM_CAMERA_NAME               4      // parameter number for GetParameterData 
    5354 
    54         #define DNG_EXT_FROM ".DPS" 
    55         #define CAM_EXT_TV_RANGE            1 
    56         #define CAM_CHDK_PTP                1 // include CHDK PTP support 
     55    #define DNG_EXT_FROM                    ".DPS" 
     56    #define CAM_EXT_TV_RANGE                1 
    5757 
    5858        #define REMOTE_SYNC_STATUS_LED  0xc02200C4              // specifies an LED that turns on while camera waits for USB remote to sync 
Note: See TracChangeset for help on using the changeset viewer.