root/include/propset7.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


   1 #ifndef PROPSET7_H
   2 #define PROPSET7_H
   3 
   4 /*
   5 constants for propset 7
   6 WARNING:
   7 The build uses tools/gen_propset_lua.sed to generate propset7.lua from this file
   8 DO NOT USE MULTILINE COMMENTS AROUND DEFINES
   9 */
  10 
  11 #define PROPCASE_AE_LOCK                         3          // 0 = AE not locked, 1 = AE locked
  12 #define PROPCASE_AF_ASSIST_BEAM                  5          // 0=disabled,  1=enabled
  13 #define PROPCASE_REAL_FOCUS_MODE                 6          // 0 = AF, 1 = Macro, 4 = MF (g7x)
  14 #define PROPCASE_AF_FRAME                        8          // 1 = FlexiZone, 2 = Face AiAF / Tracking AF
  15 #define PROPCASE_AF_LOCK                         11         // 0 = AF not locked, 1 = AF locked (not verified, g7x AF lock just enables MF at current dist)
  16 #define PROPCASE_CONTINUOUS_AF                   12         // 0 = Continuous AF off, 1 = Continuous AF on (g7x)
  17 #define PROPCASE_FOCUS_STATE                     18         // 1 AF done
  18 // G7x both AV, not verified which does over and which does exif
  19 #define PROPCASE_AV2                             22         // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  20 #define PROPCASE_AV                              23         // This values causes the actual aperture value to be overriden
  21 // mismatch from propset 6 starts here, +3
  22 #define PROPCASE_MIN_AV                          28         // 27 is not always min AV.
  23 // ps6 +4
  24 #define PROPCASE_USER_AV                         29         // 30 matches PROPCASE_AV, but doesn't set M/Av mode value
  25 #define PROPCASE_BRACKET_MODE                    33         // 0 = 0ff, 1 = exposure, 2 = focus (MF only) (g7x)
  26 #define PROPCASE_BV                              38
  27 #define PROPCASE_SHOOTING_MODE                   53         // 54 shows C as distinct mode
  28 // ps6 +5
  29 #define PROPCASE_CUSTOM_SATURATION               60         // Canon Menu slide bar values: 255, 254, 0, 1, 2
  30 #define PROPCASE_QUALITY                         62
  31 #define PROPCASE_CUSTOM_CONTRAST                 64         // Canon Menu slide bar values: 255, 254, 0, 1, 2
  32 #define PROPCASE_LANGUAGE                        66         // Upper byte = language (see default.lua for known values) lowest bit: 0 = NTSC, 1 = PAL
  33 #define PROPCASE_FLASH_SYNC_CURTAIN              69         // 0 first, 1 second
  34 #define PROPCASE_SUBJECT_DIST2                   70
  35 // TODO Guessed as ps6 +5, g7x has no date stamp option
  36 //#define PROPCASE_DATE_STAMP                      71         // 0 = Off, 1 = Date, 2 = Date & Time
  37 #define PROPCASE_DELTA_SV                        84         // TODO not certain
  38 // ps6 + 6
  39 // TODO maybe different from older cams (off / standard are different)
  40 #define PROPCASE_DIGITAL_ZOOM_MODE               97         // Digital Zoom Mode/State 0 = off, 1=standard, 2 = 1.5x, 3 = 2.0x
  41 // TODO does not seem to exist in ps7, combined with _MODE
  42 // #define PROPCASE_DIGITAL_ZOOM_STATE
  43 #define PROPCASE_DIGITAL_ZOOM_POSITION           101        // also 269?
  44 #define PROPCASE_DRIVE_MODE                      108        // 0 = single, 1 = cont, 2 = cont AF, 3 = "Auto Drive"
  45 #define PROPCASE_OVEREXPOSURE                    109        // TODO guessed
  46 #define PROPCASE_DISPLAY_MODE                    111
  47 #define PROPCASE_EV_CORRECTION_1                 113
  48 #define PROPCASE_FLASH_ADJUST_MODE               127    // TODO ??? guessed ps6 +6
  49 #define PROPCASE_FLASH_FIRE                      128    // TODO guessed ps6 +6
  50 #define PROPCASE_FLASH_EXP_COMP                  133    // APEX96 units
  51 #define PROPCASE_FOCUS_MODE                      139    // 0 = auto, 1 = MF
  52 #define PROPCASE_FLASH_MANUAL_OUTPUT             147        // TODO guessed (ps6 had unsure comments too)
  53 #define PROPCASE_FLASH_MODE                      149        // 0 = Auto, 1 = ON, 2 = OFF
  54 // TODO values changed?
  55 #define PROPCASE_IS_MODE                         151        // 0 = Continuous, 1 = only Shoot, 2 = OFF (399 "dynamic IS" setting?)
  56 #define PROPCASE_ISO_MODE                        155
  57 #define PROPCASE_METERING_MODE                   163        // 0 = Evaluative, 1 = Spot, 2 = Center weighted avg
  58 #define PROPCASE_VIDEO_FRAMERATE                 173        // 0=30, 7=60 (g7x)
  59 #define PROPCASE_VIDEO_RESOLUTION                176        // 5=1920x1280, 4=1280x720 2=640x480 (g7x)
  60 #define PROPCASE_CUSTOM_BLUE                     182        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  61 #define PROPCASE_CUSTOM_GREEN                    182        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  62 #define PROPCASE_CUSTOM_RED                      184        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  63 #define PROPCASE_CUSTOM_SKIN_TONE                185        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  64 #define PROPCASE_MY_COLORS                       193        // 0 = Off, 1 = Vivid, 2 = Neutral, 3 = B/W, 4 = Sepia, 5 = Positive Film, 6 = Lighter Skin Tone, 7 = Darker Skin Tone, 8 = Vivid Red, 9 = Vivid Green, 10 = Vivid Blue, 11 = Custom Color
  65 #define PROPCASE_ND_FILTER_STATE                 201        // 0 = out, 1 = in
  66 #define PROPCASE_OPTICAL_ZOOM_POSITION           204
  67 #define PROPCASE_EXPOSURE_LOCK                   215        // Old PROPCASE_SHOOTING value - gets set when set_aelock called or AEL button pressed
  68 #define PROPCASE_EV_CORRECTION_2                 216        // g7x ok, ps6 +6
  69 #define PROPCASE_IS_FLASH_READY                  217        // not certain
  70 #define PROPCASE_IMAGE_FORMAT                    219        // 0 = RAW, 1 = JPEG, 2 = RAW+JPEG (g7x)
  71 #define PROPCASE_RESOLUTION                      227        // 0 = L, 2 = M1, 3 = M2, 5 = S
  72 #define PROPCASE_ORIENTATION_SENSOR              228
  73 #define PROPCASE_TIMER_MODE                      232        // 0 = OFF, 1 = 2 sec, 2 = 10 sec, 3 = Custom
  74 #define PROPCASE_TIMER_DELAY                     233        // timer delay in msec
  75 #define PROPCASE_CUSTOM_SHARPNESS                234        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  76 // TODO guessed propset 6 +6, stitch not present on g7x
  77 //#define PROPCASE_STITCH_DIRECTION                242        // 0=left>right, 1=right>left. Some cams have more
  78 //#define PROPCASE_STITCH_SEQUENCE                 247        // counts shots in stitch sequence, positive=left>right, negative=right>left
  79 // g7x OK propset 6 +6
  80 #define PROPCASE_SUBJECT_DIST1                   254        // 262 MF value?
  81 #define PROPCASE_SV_MARKET                       255
  82 // ps6 + 7, TV vs TV2 not verified
  83 #define PROPCASE_TV2                             271        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  84 #define PROPCASE_TV                              272        // Need to set this value for overrides to work correctly
  85 #define PROPCASE_USER_TV                         274
  86 // ps6 + 8, TODO note values changed from ps6
  87 #define PROPCASE_WB_MODE                         279        // 0 = Auto, 1 = Daylight, 2 = Shade, 3 = Cloudy, 4 = Tungsten, 5 = Fluorescent, 7 = flash, 11 = under water, 6 = Fluorescent H, 9 = Custom 1, 10 = custom 2
  88 #define PROPCASE_WB_ADJ                          280
  89 #define PROPCASE_SERVO_AF                        306        // 0 = Servo AF off, 1 = Servo AF on
  90 #define PROPCASE_ASPECT_RATIO                    307        // 0 = 4:3, 1 = 16:9, 2 = 3:2, 3 = 1:1, 4 = 4:5
  91 #define PROPCASE_SV                              354        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  92 // TODO GPS guessed, ps6 + 8
  93 // #define PROPCASE_GPS                             365        // (CHDKLover, August 2011) - contains a 272 bytes long structure
  94 #define PROPCASE_REVIEW_TIME                     371        // Review time 0 = off, -1 = hold, 100 = quick, otherwise milliseconds
  95 #define PROPCASE_TIMER_SHOTS                     384        // Number of shots for TIMER_MODE=Custom
  96 
  97 //
  98 #define PROPCASE_SHOOTING_STATE                  359        // Goes to 1 soon after half press, 2 around when override hook called, 3 after shot start, back to 2 when shoot_full released, back to 0 when half released
  99 #define PROPCASE_SHOOTING                       1001        // fake, emulated by wrapper using SHOOTING_STATE
 100 
 101 #endif

/* [<][>][^][v][top][bottom][index][help] */