Ignore:
Timestamp:
12/11/09 03:53:46 (3 years ago)
Author:
reyalp
Message:

modemap cleanup part 1

  • make all CHDK mode enum values match canon descriptions, including SCN prefix if requried
  • remove extra names that refer to the same modes:

SCN_GRASS->SCN_FOLIAGE, SCN_CHILD->SCN_KIDS_PETS, SCN_PARTY->SCN_INDOOR, SCN_WATER->SCN_UNDERWATER

  • resolve confused use of NIGHT modes as NIGHT_SCENE, NIGHT_SNAPSHOT and LONG_SHUTTER
  • add MODE_LONG_SHUTTER for cameras without a true manual mode (mostly guessed based on firmware mode list):

a2000, a450, a460, a470, a550, a560, tx1, all ixus except ixus980_sd990 (has real manual), ixusizoom_sd30 (unknown)

  • clean up modemaps as much as possible to match canon specs and firmware mode list, document these.
  • cameras with known incorrect or incomplete modemaps:

a470 stitch, color accent, color swap still and video guessed
g7 not clear which night scene mode is which
ixus40_sd30 firmware list not found, status unknown
ixus55_sd450 many modes missing from list, no way to guess in old canon mode system
ixus65_sd630 video modes guessed
ixus750_sd550 longshutter and p guessed
ixus800_sd700 video modes guessed
ixus80_sd1100 many guessed, some unknown in canon list but not modemap
ixus850_sd800 many guessed, had lots that weren't in the canon list
ixus960_sd950 guessed IS0_3200, VIDEO_HIRES
ixusizoom_sd30 completely wrong, impossible to guess with old canon system
sx100 one unknown video mode

  • remove tx1 manual exception from generic/shooting since tx1 no longer has a MODE_M entry
  • check for MODE_LONG_SHUTTER in generic shooting Tv bracketing, treat as Tv/Manual?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/platform/ixus55_sd450/shooting.c

    r859 r860  
    8181};           
    8282 
     83/* 
     84http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&fcategoryid=224&modelid=11939#ModelTechSpecsAct 
     85Shooting Modes 
     86        Auto; Manual, 
     87        Special Scene 
     88                (Portrait, Night Snapshot, Foliage, Snow, Beach, Fireworks, 
     89                Underwater, Indoor, Kids & Pets), 
     90        Digital Macro, My Colors, Stitch Assist, Movie 
     91Movie: 640 x 480/320 x 240 (30 fps/15 fps), 320 x 240 (1 min. at 60 fps), 160 x 120 (3 min. at 15 fps) 
     92canon mode list FF95FC68 in 100b 
     93*/ 
    8394static const CapturemodeMap modemap[] = { 
    8495    { MODE_P,                   0 }, 
    85 //    { ???,       1 }, // assumed long shutter  
     96    { MODE_LONG_SHUTTER,        1 }, // guessed long shutter  
    8697    { MODE_DIGITAL_MACRO,       2 }, 
    8798    { MODE_MY_COLORS,           3 }, 
    8899    { MODE_STITCH,              4 },  
    89100    { MODE_AUTO,                5 }, 
    90     { MODE_PORTRAIT,            6 }, 
     101    { MODE_SCN_PORTRAIT,        6 }, 
    91102    { MODE_SCN_SNOW,            8 }, 
    92     { MODE_SCN_NIGHT,          12 }, 
     103    { MODE_SCN_NIGHT_SNAPSHOT, 12 }, 
     104// TODO missing Foliage, Beach, Fireworks, Underwater, indoor, Kids+pets 
    93105    { MODE_VIDEO_STD,          15 } 
    94106}; 
Note: See TracChangeset for help on using the changeset viewer.