source: trunk/include/modelist.h @ 1620

Revision 1620, 5.7 KB checked in by philmoz, 16 months ago (diff)

Merged revision(s) 1617 from branches/release-1_0:
Updates to A3300 IS from mk11174. Includes new firmware version 1.00d.
http://chdk.setepontos.com/index.php?topic=650.msg80579#msg80579

  • Property svn:eol-style set to native
Line 
1#ifndef MODELIST_H
2#define MODELIST_H
3
4/*
5CHDK capture mode constants.
6WARNING: This file is used with gen_modelist_lua.sed to generate modelist.lua
7WARNING: These are used for platform independent script values.
8Changing order or inserting new values will break script compatibility.
9ADD NEW VALUES AT THE END!
10
110 is used as an invalid value
12not every value is valid on every camera
13
14Single line comments on the enum values will be carried over to lua
15
16modemap notes:
17- On cameras where the "manual" mode only allows +/- ev, rather than direct shutter
18control, it should be mapped to P, not M
19- Modes should be mapped to an enum value that matches their canon name. This is
20displayed as a string when the mode is set, and can also be found in canon
21manuals and spec lists. If in doubt refer to the canon manuals for description of
22the modes function, and compare with existing cameras. Add a new enum value at the
23end of the list if it doesn't closely match any existing function.
24- Currently, modes under the SCN menu are given the SCN prefix, even if an equivalent
25non-scene constant already exists.
26- Some cameras have C, or C1 and C2 modes. These are not actual shooting modes, but
27are used to load saved settings for other modes like M, P etc. These modes can be
28set using _SetCurrrentCaptureMode, but are not currently supported by the modemap
29system. If a C mode is set this way, the propcase used for PROPCASE_SHOOTING_MODE
30on propset 2 cameras (49) reflects the actual mode. Propcase 50 appears to show the
31set mode. Propset 1 behavior is unknown.
32- Although canon mode values are similar between many cameras, they are not always the same!
33- a list of valid canon modes can be found in the firmware, see existing cameras
34for examples. This can be found several function calls after a reference to the
35string AC:PTM_Init or similar
36*/
37enum {
38    MODE_AUTO               =1,
39    MODE_P                  , // Called "camera manual" on many cameras without a true manual mode, only allows +/- Ev adjustment
40    MODE_TV                 ,
41    MODE_AV                 ,
42    MODE_M                  , // note, use only for true manual modes that allow direct control of Tv/Av
43    MODE_PORTRAIT           ,
44    MODE_NIGHT_SCENE        , // "night scene" mode. Note, this can be a dail position, or under the scene menu (SCN_NIGHT_SCENE).
45    MODE_LANDSCAPE          ,
46    MODE_VIDEO_STD          ,
47    MODE_VIDEO_SPEED        ,
48    MODE_VIDEO_COMPACT      ,
49    MODE_VIDEO_MY_COLORS    ,
50    MODE_VIDEO_COLOR_ACCENT ,
51    MODE_VIDEO_COLOR_SWAP   ,
52    MODE_STITCH             ,
53    MODE_MY_COLORS          ,
54    MODE_SCN_UNDERWATER     ,
55    MODE_SCN_NIGHT_SNAPSHOT ,
56    MODE_LONG_SHUTTER       , // "long shutter" mode on cameras without true manual mode. Allows manual shutter >= 1 second, uses manual shutter value propcase. Usually found under func menu in "manual" mode.
57    MODE_SCN_LANDSCAPE      ,
58    MODE_COLOR_SWAP         ,
59    MODE_SCN_SNOW           ,
60    MODE_SCN_BEACH          ,
61    MODE_SCN_FIREWORK       ,
62    MODE_SCN_COLOR_ACCENT   ,
63    MODE_SCN_COLOR_SWAP     ,
64    MODE_VIDEO_HIRES        ,
65    MODE_SCN_AQUARIUM       ,
66    MODE_COLOR_ACCENT       ,
67    MODE_SCN_NIGHT_SCENE    ,
68    MODE_SCN_ISO_3200       ,
69    MODE_SCN_SPORT          ,
70    MODE_SCN_KIDS_PETS      ,
71    MODE_INDOOR             ,
72    MODE_KIDS_PETS          ,
73    MODE_NIGHT_SNAPSHOT     ,
74    MODE_DIGITAL_MACRO      ,
75    MODE_SCN_FOLIAGE        ,
76    MODE_VIDEO_TIME_LAPSE   ,
77    MODE_SCN_INDOOR         ,
78    MODE_SCN_PORTRAIT       ,
79    MODE_SUPER_MACRO        ,
80    MODE_VIDEO_PORTRAIT     , // tx1 junk
81    MODE_VIDEO_NIGHT        , // tx1 junk
82    MODE_VIDEO_INDOOR       , // tx1 junk
83    MODE_VIDEO_FOLIAGE      , // tx1 junk
84    MODE_VIDEO_SNOW         , // tx1 junk
85    MODE_VIDEO_BEACH        , // tx1 junk
86    MODE_VIDEO_AQUARIUM     , // tx1 junk
87    MODE_VIDEO_SUPER_MACRO  , // tx1 junk
88    MODE_VIDEO_STITCH       , // tx1 junk
89    MODE_VIDEO_MANUAL       , // tx1 junk
90    MODE_SPORTS             ,
91    MODE_QUICK              ,
92    MODE_SCN_SUNSET         ,
93    MODE_SCN_CREATIVE_EFFECT, // "creative light effect", only known on ixus950_sd850
94    MODE_EASY               ,
95    MODE_SCN_DIGITAL_MACRO  ,
96    MODE_SCN_STITCH         ,
97    MODE_SCN_LONG_SHUTTER   , // only known on sx1, d10
98    MODE_LOWLIGHT           , // g11
99    MODE_SCN_NOSTALGIC      , // s90
100    MODE_SCN_SMART_SHUTTER    , // sx30/g12 (Smart Shutter, Smile detection mode)
101    MODE_SCN_LOWLIGHT        , // sx30
102    MODE_SCN_SUPER_VIVID    , // sx30
103    MODE_SCN_POSTER_EFFECT    , // sx30
104    MODE_SCN_FISHEYE        , // sx30
105    MODE_SCN_MINIATURE        , // sx30
106    MODE_SCN_HDR            , // g12 (HDR scene mode)
107    MODE_VIDEO_MINIATURE    , // g12 (miniature effect video mode)
108    MODE_VIDEO_IFRAME_MOVIE , // sx220
109    MODE_VIDEO_MOVIE_DIGEST    , // sx220 (the camera automatically record a short video clip (up to approximately 4 seconds) every time you shoot a still image.)
110    MODE_SCN_HIGHSPEED_BURST, // sx220
111    MODE_SCN_BEST_IMAGE        , // sx220
112    MODE_SCN_TOY_CAMERA    , // sx220
113    MODE_SCN_MONOCHROME    , // sx220
114    MODE_SCN_WINK_SELF_TIMER, // sx30/g12 (Smart Shutter, Wink Self Timer mode)
115    MODE_SCN_FACE_SELF_TIMER, // sx30/g12 (Smart Shutter, Face Self Timer mode)
116    MODE_VIDEO_SUPER_SLOW   ,   // IXUS 310 HS Super Slow Motion Movie
117    MODE_SMART_SHUTTER      , // ixus1000_sd4500 - the following are not under SCN
118    MODE_HIGHSPEED_BURST    ,
119    MODE_BEST_IMAGE         ,
120    MODE_SUPER_VIVID        ,
121    MODE_POSTER_EFFECT      ,
122    MODE_FISHEYE            ,
123    MODE_MINIATURE          ,
124    MODE_BEACH              ,
125    MODE_FOLIAGE            ,
126    MODE_SNOW               ,
127    MODE_FIREWORK           , // ixus1000 end
128    MODE_LIVE               , // A3300is
129    MODE_DISCREET                        , // A3300is
130};
131
132#endif
Note: See TracBrowser for help on using the repository browser.