Changeset 1848


Ignore:
Timestamp:
05/11/12 08:11:56 (12 months ago)
Author:
msl
Message:

Some minor changes

  • sudoku: change hard coded marker color to COLOR_HISTO_G_PLAY, green for all cameras in play mode
  • SX230: Enable CAM_HAS_MOVIE_DIGEST_MODE fix
  • SX220/230: platform_camera.h cleanup tabs & spaces
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/games/gui_sudoku.c

    r1845 r1848  
    3232//------------------------------------------------------------------- 
    3333#define SUDOKU_BG_COLOR         MAKE_COLOR(COLOR_WHITE, COLOR_WHITE) 
    34 #define MARKER_COLOR            0xFA //COLOR_BLUE appears black on my a570 1.01a 
     34#define MARKER_COLOR            COLOR_HISTO_G_PLAY // green for all cameras in play mode 
    3535#define TEXT_COLOR                      MAKE_COLOR(SUDOKU_BG_COLOR, COLOR_BLACK) 
    3636#define MARKER_TEXT_COLOR       MAKE_COLOR(MARKER_COLOR, COLOR_WHITE) 
  • trunk/platform/sx220hs/platform_camera.h

    r1832 r1848  
    3939 
    4040    #define CAM_HAS_ND_FILTER               1 
    41          
     41 
    4242    #undef  CAM_CAN_SD_OVER_NOT_IN_MF 
    4343    #undef  CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO 
     
    4545    #define CAM_HAS_VIDEO_BUTTON            1 
    4646    #define CAM_VIDEO_QUALITY_ONLY          1 
    47   
     47 
    4848    #undef  CAM_VIDEO_CONTROL 
    4949 
     
    5151    #undef  CAM_USE_ZOOM_FOR_MF 
    5252 
    53     #undef  CAM_UNCACHED_BIT  // shut up compiler 
     53    #undef  CAM_UNCACHED_BIT                    // shut up compiler 
    5454    #define CAM_UNCACHED_BIT                0x40000000 
    5555 
     
    7676 
    7777    #define CAM_EXT_TV_RANGE                1 
    78      
     78 
    7979    #undef  CAM_BITMAP_PALETTE 
    8080    #define CAM_BITMAP_PALETTE              10 
     
    9898    #define CAM_ZEBRA_NOBUF                 1 
    9999 
    100     //#define CAM_QUALITY_OVERRIDE            1 
     100    //#define CAM_QUALITY_OVERRIDE            1 // works not really 
    101101    #define CAM_CHDK_HAS_EXT_VIDEO_TIME     1 
    102      
     102 
    103103    #define CAM_STARTUP_CRASH_FILE_OPEN_FIX 1 
    104104 
     
    108108    #define CAMERA_MAX_DIST                 2000000 // Override max subject distance 1739131 //testscript=1098902 
    109109 
    110         #define REMOTE_SYNC_STATUS_LED  0xC0220130              // specifies an LED that turns on while camera waits for USB remote to sync 
    111          
    112         #define DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY       1 
    113         #define CAM_HAS_MOVIE_DIGEST_MODE               1 
     110    #define REMOTE_SYNC_STATUS_LED          0xC0220130  // specifies an LED that turns on while camera waits for USB remote to sync 
     111 
     112    #define DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY   1 
     113    #define CAM_HAS_MOVIE_DIGEST_MODE       1 
    114114//---------------------------------------------------------- 
  • trunk/platform/sx230hs/platform_camera.h

    r1698 r1848  
    3939 
    4040    #define CAM_HAS_ND_FILTER               1 
    41          
     41 
    4242    #undef  CAM_CAN_SD_OVER_NOT_IN_MF 
    4343    #undef  CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO 
    4444    #define CAM_HAS_VIDEO_BUTTON            1 
    4545    #define CAM_VIDEO_QUALITY_ONLY          1 
    46   
     46 
    4747    #undef  CAM_VIDEO_CONTROL 
    4848    
     
    5555    #define CAM_DNG_LENS_INFO               { 50,10, 700,10, 31,10, 59,10 } // See comments in camera.h 
    5656    #define cam_CFAPattern                  0x02010100 
    57    
     57 
    5858    #define CAM_COLORMATRIX1                            \ 
    5959    544808, 1000000, -174047, 1000000, -80399, 1000000, \ 
    6060    -75055, 1000000,  440444, 1000000,  11367, 1000000, \ 
    6161     -5801, 1000000,   71589, 1000000, 118914, 1000000 
    62   
     62 
    6363    #define cam_CalibrationIlluminant1      17 
    64     
     64 
    6565    #define CAM_JPEG_WIDTH                  4000 
    6666    #define CAM_JPEG_HEIGHT                 3000 
    67                                                  
     67 
    6868    #define CAM_ACTIVE_AREA_X1              96 
    6969    #define CAM_ACTIVE_AREA_Y1              24 
     
    105105    #undef  CAMERA_MIN_DIST 
    106106    #define CAMERA_MIN_DIST                 99     // Override min subject distance 
    107      
     107 
    108108    #define CAM_HAS_GPS                     1 
    109          
     109 
    110110    #define CAM_CHDK_HAS_EXT_VIDEO_TIME     1 
    111111 
     
    113113    #define OVEREXP_COMPENSATE_OVERALL      1 
    114114 
    115          
    116         #define REMOTE_SYNC_STATUS_LED  0xC0220130              // specifies an LED that turns on while camera waits for USB remote to sync 
     115    #define REMOTE_SYNC_STATUS_LED          0xC0220130  // specifies an LED that turns on while camera waits for USB remote to sync 
     116 
     117    #define CAM_HAS_MOVIE_DIGEST_MODE       1  
    117118//---------------------------------------------------------- 
Note: See TracChangeset for help on using the changeset viewer.