Changeset 910 for trunk/include/camera.h


Ignore:
Timestamp:
07/05/10 20:04:51 (3 years ago)
Author:
fe50
Message:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/camera.h

    r908 r910  
    19071907    #undef CAM_HAS_USER_TV_MODES 
    19081908    #define CAM_SHOW_OSD_IN_SHOOT_MENU  1 
    1909         #define CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO 1 
     1909    #define CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO 1 
    19101910    #define CAM_HAS_JOGDIAL             1 
    19111911    #undef CAM_VIDEO_CONTROL 
     
    19871987        #define CAM_WHITE_LEVEL             ((1<<CAM_SENSOR_BITS_PER_PIXEL)-1) 
    19881988        #define CAM_BLACK_LEVEL             127 
     1989//---------------------------------------------------------- 
     1990 
     1991#elif defined (CAMERA_ixus95_sd1200) 
     1992        #define CAM_PROPSET                  2  
     1993        #define CAM_DRYOS                    1 
     1994 
     1995        #define CAM_RAW_ROWPIX               3720 
     1996        #define CAM_RAW_ROWS                 2772 
     1997 
     1998        #undef   CAM_HAS_ERASE_BUTTON 
     1999        #define  CAM_USE_ZOOM_FOR_MF         1 
     2000        #define  CAM_MULTIPART               1 
     2001        #undef   CAM_HAS_IRIS_DIAPHRAGM 
     2002        #define  CAM_HAS_ND_FILTER           1 
     2003 
     2004        #undef CAM_SYNCH 
     2005 
     2006        #define CAM_HAS_ZOOM_LEVER          1 
     2007 
     2008        #undef  CAM_HAS_MANUAL_FOCUS 
     2009        #define  CAM_HAS_USER_TV_MODES           1  
     2010        #define  CAM_SHOW_OSD_IN_SHOOT_MENU      1 
     2011        #define CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO  1 
     2012        //#define CAM_AF_SCAN_DURING_VIDEO_RECORD       1 
     2013        #undef CAM_AF_SCAN_DURING_VIDEO_RECORD          //TODO: change to define and find NSTUB     
     2014        #define  CAM_CHDK_HAS_EXT_VIDEO_MENU     1 
     2015 
     2016        #define CAM_HAS_IS                                               1 
     2017        #undef CAM_HAS_JOGDIAL 
     2018 
     2019        #undef   CAM_VIDEO_CONTROL 
     2020        #define  CAM_VIDEO_QUALITY_ONLY                 1 
     2021        #define  DNG_SUPPORT                 1 
     2022 
     2023        //#define CAM_EXT_TV_RANGE            1 
     2024 
     2025        #undef   CAM_UNCACHED_BIT            // shut up compiler 
     2026        #define  CAM_UNCACHED_BIT            0x40000000 
     2027 
     2028        #undef   CAM_BITMAP_PALETTE 
     2029        #define  CAM_BITMAP_PALETTE          2 
     2030 
     2031        #undef ZEBRA_HMARGIN0 
     2032        #define ZEBRA_HMARGIN0              150                 //zebra adjust  
     2033 
     2034        #define CAM_QUALITY_OVERRIDE 1   
     2035        #undef   CAM_SENSOR_BITS_PER_PIXEL 
     2036        #define  CAM_SENSOR_BITS_PER_PIXEL   12 
     2037        #undef   CAM_WHITE_LEVEL 
     2038        #define  CAM_WHITE_LEVEL             ((1<<CAM_SENSOR_BITS_PER_PIXEL)-1) 
     2039        #undef   CAM_BLACK_LEVEL 
     2040        #define  CAM_BLACK_LEVEL             127 
     2041 
     2042        // pattern 
     2043        #define  cam_CFAPattern 0x01000201 // Green  Blue  Red  Green 
     2044 
     2045        // color preliminary 
     2046        // Stole this from sd990 VERIFY_SD1200 
     2047        #define  CAM_COLORMATRIX1                             \ 
     2048    837237, 1000000, -290137, 1000000, -128156, 1000000, \ 
     2049    -127762, 1000000, 643909, 1000000, 52973, 1000000, \ 
     2050    4446, 1000000, 88354, 1000000, 224246, 1000000 
     2051 
     2052        #define  cam_CalibrationIlluminant1 1 // Daylight 
     2053 
     2054        // cropping  
     2055        #define  CAM_JPEG_WIDTH  3648 
     2056        #define  CAM_JPEG_HEIGHT 2736 
     2057        #define  CAM_ACTIVE_AREA_X1 12 
     2058        #define  CAM_ACTIVE_AREA_Y1 12 
     2059        #define  CAM_ACTIVE_AREA_X2 3648 
     2060        #define  CAM_ACTIVE_AREA_Y2 2736 
     2061 
     2062        // camera name 
     2063        #define PARAM_CAMERA_NAME 4 // parameter number for GetParameterData 
    19892064//---------------------------------------------------------- 
    19902065 
Note: See TracChangeset for help on using the changeset viewer.