Changeset 623 for trunk/include


Ignore:
Timestamp:
12/07/08 00:05:29 (4 years ago)
Author:
EWAVR
Message:

+added optional DNG extension for DNG files
+added possibility to create badpixel.bin from scripts
-fixed small bug in file browser - http://chdk.kernreaktor.org/mantis/view.php?id=129

Location:
trunk/include
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/camera.h

    r621 r623  
    392392#define CAM_RAW_ROWS                2480   // for new 8 MP 
    393393 
    394 #define CAM_USE_ZOOM_FOR_MF         1      // Zoom lever can be used for manual focus adjustments 
     394#define CAM_USE_ZOOM_FOR_MF         1 
    395395 
    396396// cannot mute during video-zoom through CHDK, it can mute in general firmware settings (non CHDK) 
    397397#undef  CAM_CAN_MUTE_MICROPHONE            // Camera has no function to mute microphone 
    398398 
    399 #define CAM_HAS_IRIS_DIAPHRAGM      1      // it has a 6 blade iris diaphragm 
     399#define CAM_HAS_IRIS_DIAPHRAGM      1 
    400400#undef  CAM_HAS_ND_FILTER 
    401401 
    402 #define CAM_HAS_MANUAL_FOCUS        1      // Camera has manual focus mode 
    403  
    404 #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1   // Camera adapts focus in video recording 
     402#define CAM_HAS_MANUAL_FOCUS        1 
     403 
     404#define CAM_AF_SCAN_DURING_VIDEO_RECORD 1 
    405405//#define CAM_EV_IN_VIDEO             1      // not working on 101b!!! 
    406406#define DNG_SUPPORT                 1 
    407407// pattern 
    408 // It has indeed Green Blue Red Green, so that makes 01 00 02 01 
    409 #define cam_CFAPattern 0x01000201 // Green  Blue  Red  Green 
    410 // color  
    411 #define CAM_COLORMATRIX1                               \ 
    412 0.647380, 1000000, -0.169846, 1000000, -0.115337, 1000000, \ 
    413 -0.011566, 1000000, 0.451223, 1000000, 0.013279, 1000000, \ 
    414 0.062541, 1000000, 0.054140, 1000000, 0.161148, 1000000 
     408#define cam_CFAPattern 0x01000201 // Green  Blue  Red  Green  
     409// color                                                        // Source? 
     410#define CAM_COLORMATRIX1                              \ 
     411 647380, 1000000, -169846, 1000000, -115337, 1000000, \ 
     412 -11566, 1000000,  451223, 1000000,   13279, 1000000, \ 
     413  62541, 1000000,   54140, 1000000,  161148, 1000000 
    415414 
    416415#define cam_CalibrationIlluminant1 1 // Daylight 
  • trunk/include/conf.h

    r603 r623  
    3333    int dng_raw; 
    3434    int raw_timer; 
     35    int raw_dng_ext; 
    3536 
    3637    int show_osd; 
Note: See TracChangeset for help on using the changeset viewer.