Changeset 1307


Ignore:
Timestamp:
08/29/11 05:56:18 (21 months ago)
Author:
reyalp
Message:

improved comments on dng camera.h defines, from waterwingz

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/camera.h

    r1270 r1307  
    130130#define DNG_SUPPORT                 1           // Camera supports DNG format for saving of RAW images 
    131131#define DEFAULT_RAW_EXT             1           // extension to use for raw (see raw_exts in conf.c) 
    132 #undef  CAM_RAW_ROWPIX                          // Number of pixels in RAW row (physical size of the sensor) 
    133 #undef  CAM_RAW_ROWS                            // Number of rows in RAW (physical size of the sensor) 
    134 #undef  CAM_JPEG_WIDTH                          // Default crop size (width) stored in DNG (to match camera JPEG size) 
    135 #undef  CAM_JPEG_HEIGHT                         // Default crop size (height) stored in DNG (to match camera JPEG size) 
    136 #undef  CAM_ACTIVE_AREA_X1                      // Define usable area of the sensor 
    137 #undef  CAM_ACTIVE_AREA_Y1                      // Define usable area of the sensor 
    138 #undef  CAM_ACTIVE_AREA_X2                      // Define usable area of the sensor 
    139 #undef  CAM_ACTIVE_AREA_Y2                      // Define usable area of the sensor 
    140 #undef  cam_CFAPattern                          // Camera Bayer sensor data layout (DNG colors are messed up if not correct) 
     132#undef  CAM_RAW_ROWPIX                          // Number of pixels in RAW row (physical size of the sensor Note : as of July 2011, this value can be found in stub_entry.S for dryos cameras) 
     133#undef  CAM_RAW_ROWS                            // Number of rows in RAW (physical size of the sensor       Note : as of July 2011, this value can be found in stub_entry.S for dryos cameras) 
     134#undef  CAM_JPEG_WIDTH                          // Default crop size (width) stored in DNG (to match camera JPEG size. From dimensions of the largest size jpeg your camera produces) 
     135#undef  CAM_JPEG_HEIGHT                         // Default crop size (height) stored in DNG (to match camera JPEG size. From dimensions of the largest size jpeg your camera produces) 
     136#undef  CAM_ACTIVE_AREA_X1                      // Define usable area of the sensor - needs to be divisible by 4 - calibrate using a CHDK RAW image converted with rawconvert.exe (eg :rawconvert -12to8 -pgm -w=4480 -h=3348 photo.crw photo.pgm) 
     137#undef  CAM_ACTIVE_AREA_Y1                      // Define usable area of the sensor - needs to be divisible by 2 - " 
     138#undef  CAM_ACTIVE_AREA_X2                      // Define usable area of the sensor - needs to be divisible by 4 - " 
     139#undef  CAM_ACTIVE_AREA_Y2                      // Define usable area of the sensor - needs to be divisible by 2 = " 
     140#undef  cam_CFAPattern                          // Camera Bayer sensor data layout (DNG colors are messed up if not correct - should be either 0x01000201 = [Green Blue Red Green]  or 0x02010100 = [Red  Green  Green  Blue] 
    141141#undef  CAM_COLORMATRIX1                        // DNG color profile matrix 
    142 #undef  cam_CalibrationIlluminant1              // DNG color profile illuminant 
     142#undef  cam_CalibrationIlluminant1              // DNG color profile illuminant - set it to 17 for standard light A 
    143143#undef  CAM_DNG_EXPOSURE_BIAS                   // Specify DNG exposure bias value (to override default of -0.5 in the dng.c code) 
    144144#undef  DNG_EXT_FROM                            // Extension in the cameras known extensions to replace with .DNG to allow DNG 
Note: See TracChangeset for help on using the changeset viewer.