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

Re-align CHDK and CHDK-DE code base (part 2) - http://chdk.setepontos.com/index.php?topic=7601.0

  • align more platform files that differed in white space or line order
  • Add SetFileAttributes? function
File:
1 edited

Legend:

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

    r1560 r1652  
    1 // Camera - IXUS980_SD990 - platform_camera.h 
     1// Camera - ixus980_sd990 - platform_camera.h 
    22 
    3 // This file contains the various settings values specific to the IXUS980_SD990 camera. 
     3// This file contains the various settings values specific to the ixus980_sd990 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 // all values checked so far match propset 2 
    24     #define CAM_DRYOS                   1 
     23    #define CAM_PROPSET                     2      // all values checked so far match propset 2 
     24    #define CAM_DRYOS                       1 
    2525 
    26     #define CAM_RAW_ROWPIX              4480 // 14.7 MP 12bpp 
    27     #define CAM_RAW_ROWS                3348    
     26    #define CAM_RAW_ROWPIX                  4480    // 14.7 MP 12bpp 
     27    #define CAM_RAW_ROWS                    3348 
    2828 
    2929    #undef  CAM_USE_ZOOM_FOR_MF 
    3030    #undef  CAM_HAS_ERASE_BUTTON 
    31     #define CAM_MULTIPART               1 
     31    #define CAM_MULTIPART                   1 
    3232    #undef  CAM_HAS_IRIS_DIAPHRAGM 
    33     #define CAM_HAS_ND_FILTER           1 
     33    #define CAM_HAS_ND_FILTER               1 
    3434    #define  CAM_HAS_MANUAL_FOCUS               1 
    3535    #define  CAM_HAS_USER_TV_MODES              1 //include M/P ? needed to make Tv bracketing work 
    36     #define CAM_SHOW_OSD_IN_SHOOT_MENU  1 
     36    #define CAM_SHOW_OSD_IN_SHOOT_MENU      1 
    3737    #define CAM_CHDK_HAS_EXT_VIDEO_MENU 1 
    3838    #undef  CAM_VIDEO_CONTROL 
    39     #undef CAM_UNCACHED_BIT  // shut up compiler 
    40     #define CAM_UNCACHED_BIT    0x40000000 
    41     #undef CAM_BITMAP_PALETTE 
    42     #define CAM_BITMAP_PALETTE    2 
     39    #undef  CAM_UNCACHED_BIT                        // shut up compiler 
     40    #define CAM_UNCACHED_BIT                0x40000000 
     41    #undef  CAM_BITMAP_PALETTE 
     42    #define CAM_BITMAP_PALETTE              2 
    4343 
    44     #define CAM_HAS_JOGDIAL             1 
    45 //    #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 
    46     #define CAM_VIDEO_QUALITY_ONLY          1   
    47         #undef CAM_SENSOR_BITS_PER_PIXEL 
    48     #define CAM_SENSOR_BITS_PER_PIXEL   12 
     44    #define CAM_HAS_JOGDIAL                 1 
     45//  #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 
     46    #define CAM_VIDEO_QUALITY_ONLY          1 
     47    #undef CAM_SENSOR_BITS_PER_PIXEL 
     48    #define CAM_SENSOR_BITS_PER_PIXEL       12 
    4949 
    5050    #define CAM_DNG_LENS_INFO               { 77,10, 285,10, 28,10, 58,10 } // See comments in camera.h 
    5151    // pattern 
    52     #define cam_CFAPattern 0x01000201 // Green  Blue  Red  Green 
     52    #define cam_CFAPattern                  0x01000201 // Green  Blue  Red  Green 
    5353    // color preliminary 
    54     #define CAM_COLORMATRIX1                               \ 
    55       837237, 1000000, -290137, 1000000, -128156, 1000000, \ 
    56       -127762, 1000000, 643909, 1000000,  52973, 1000000, \ 
    57       4446,  1000000, 88354,  1000000,  224246, 1000000 
    58      
    59     #define cam_CalibrationIlluminant1 1 // Daylight 
    60     // cropping  
    61     #define CAM_JPEG_WIDTH  4416 
    62     #define CAM_JPEG_HEIGHT 3312 
    63     #define CAM_ACTIVE_AREA_X1 12 
    64     #define CAM_ACTIVE_AREA_Y1 12 
    65     #define CAM_ACTIVE_AREA_X2 4444 
    66     #define CAM_ACTIVE_AREA_Y2 3324 
     54    #define CAM_COLORMATRIX1                              \ 
     55     837237, 1000000, -290137, 1000000, -128156, 1000000, \ 
     56    -127762, 1000000,  643909, 1000000,   52973, 1000000, \ 
     57       4446, 1000000,   88354, 1000000,  224246, 1000000 
     58 
     59    #define cam_CalibrationIlluminant1      1      // Daylight 
     60    // cropping 
     61    #define CAM_JPEG_WIDTH                  4416 
     62    #define CAM_JPEG_HEIGHT                 3312 
     63    #define CAM_ACTIVE_AREA_X1              12 
     64    #define CAM_ACTIVE_AREA_Y1              12 
     65    #define CAM_ACTIVE_AREA_X2              4444 
     66    #define CAM_ACTIVE_AREA_Y2              3324 
    6767    // camera name 
    68     #define PARAM_CAMERA_NAME 4 // parameter number for GetParameterData sd990: OK 
     68    #define PARAM_CAMERA_NAME               4      // parameter number for GetParameterData sd990: OK 
    6969 
    70     // copied from DavidBs D10 stuff 
    71     #undef CAM_USES_ASPECT_CORRECTION 
    72     #define CAM_USES_ASPECT_CORRECTION          1  //camera uses the modified graphics primitives to map screens an viewports to buffers more sized  
     70   // copied from DavidBs D10 stuff 
     71    #undef  CAM_USES_ASPECT_CORRECTION 
     72    #define CAM_USES_ASPECT_CORRECTION      1       //camera uses the modified graphics primitives to map screens an viewports to buffers more sized 
    7373 
    74     #define CAM_ZEBRA_ASPECT_ADJUST 1 
     74//  #define DNG_EXT_FROM                    ".CR2" 
    7575 
    76 //    #define DNG_EXT_FROM ".CR2" 
     76    #define CAM_ZEBRA_ASPECT_ADJUST         1 
    7777//---------------------------------------------------------- 
    7878 
Note: See TracChangeset for help on using the changeset viewer.