root/platform/a3000/platform_camera.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 // Camera - A3000 - platform_camera.h
   2 
   3 // This file contains the various settings values specific to the A3000 camera.
   4 // This file is referenced via the 'include/camera.h' file and should not be loaded directly.
   5 
   6 // If adding a new settings value put a suitable default in 'include/camera.h',
   7 // along with documentation on what the setting does and how to determine the correct value.
   8 // If the setting should not have a default value then add it in 'include/camera.h'
   9 // using the '#undef' directive along with appropriate documentation.
  10 
  11 // Override any default values with your camera specific values in this file. Try and avoid
  12 // having override values that are the same as the default value.
  13 
  14 // When overriding a setting value there are two cases:
  15 // 1. If removing the value, because it does not apply to your camera, use the '#undef' directive.
  16 // 2. If changing the value it is best to use an '#undef' directive to remove the default value
  17 //    followed by a '#define' to set the new value.
  18 
  19 // When porting CHDK to a new camera, check the documentation in 'include/camera.h'
  20 // for information on each setting. If the default values are correct for your camera then
  21 // don't override them again in here.
  22 
  23     ////////////////////////////////
  24     // Sure values
  25     ////////////////////////////////
  26     #define CAM_PROPSET                     3
  27     #define CAM_DRYOS                       1
  28     #define CAM_DRYOS_2_3_R39               1
  29 
  30     #define CAM_RAW_ROWPIX                  3720
  31     #define CAM_RAW_ROWS                    2772
  32     #define CAM_JPEG_WIDTH                  3648
  33     #define CAM_JPEG_HEIGHT                 2736
  34     #define PARAM_CAMERA_NAME               4 // parameter number for GetParameterData
  35 
  36     #undef  CAM_HAS_IRIS_DIAPHRAGM
  37     #define CAM_HAS_ND_FILTER               1
  38     #undef  CAM_SENSOR_BITS_PER_PIXEL
  39     #define CAM_SENSOR_BITS_PER_PIXEL       12
  40 
  41     #define CAM_DNG_LENS_INFO               { 62,10, 248,10, 27,10, 56,10 } // See comments in camera.h
  42 
  43     #define cam_CFAPattern                  0x01000201 // Green Blue Red Green
  44     #define CAM_COLORMATRIX1             \
  45       587459, 1000000, -200837, 1000000,  -96560, 1000000, \
  46       -64810, 1000000,  513113, 1000000,   42843, 1000000, \
  47        10036, 1000000,   78911, 1000000,  231962, 1000000
  48 
  49     #define cam_CalibrationIlluminant1      17
  50 
  51     #define CAM_ACTIVE_AREA_X1              0
  52     #define CAM_ACTIVE_AREA_Y1              0
  53     #define CAM_ACTIVE_AREA_X2              3700
  54     #define CAM_ACTIVE_AREA_Y2              2772
  55 
  56     #undef  CAM_HAS_MANUAL_FOCUS
  57 
  58     #define CAM_QUALITY_OVERRIDE            1
  59     #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1
  60 
  61     #define CAM_DRIVE_MODE_FROM_TIMER_MODE  1   // use PROPCASE_TIMER_MODE to check for multiple shot custom timer.
  62     #define CAM_DATE_FOLDER_NAMING          0x100   // Camera uses date for naming image folders
  63 // for the purposes of CHDK, the FACE button is treated as the erase button
  64 //    #undef  CAM_HAS_ERASE_BUTTON
  65 
  66     #define REMOTE_SYNC_STATUS_LED          0xC0220010  // specifies an LED that turns on while camera waits for USB remote to sync
  67 
  68     #define CAM_MULTIPART                   1
  69 
  70     #define CAM_USE_OPTICAL_MAX_ZOOM_STATUS 1   // Use ZOOM_OPTICAL_MAX to reset zoom_status when switching from digital to optical zoom in gui_std_kbd_process()
  71 
  72     // Warning : SD override for this camera with these values has not been tested
  73     #define CAM_CAN_SD_OVERRIDE_UNKNOWN_STATUS 1
  74     #define CAM_SD_OVER_IN_AF               1
  75     #define CAM_SD_OVER_IN_AFL              1
  76     #define CAM_SD_OVER_IN_MF               1
  77 
  78 //--------------------------------------------------

/* [<][>][^][v][top][bottom][index][help] */