root/include/propset4.h

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

INCLUDED FROM


   1 #ifndef PROPSET4_H
   2 #define PROPSET4_H
   3 
   4 /*
   5 constants for propset 4
   6 WARNING:
   7 The build uses tools/gen_propset_lua.sed to generate propset4.lua from this file
   8 DO NOT USE MULTILINE COMMENTS AROUND DEFINES
   9 */
  10 
  11 #define PROPCASE_AF_LOCK                         11     // 0 = AF not locked, 1 = AF locked
  12 #define PROPCASE_FLASH_SYNC_CURTAIN              64
  13 #define PROPCASE_SUBJECT_DIST2                   65
  14 #define PROPCASE_AV2                             22     // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  15 #define PROPCASE_AV                              23     // This values causes the actual aperture value to be overriden
  16 #define PROPCASE_MIN_AV                          25
  17 #define PROPCASE_USER_AV                         26
  18 #define PROPCASE_BRACKET_MODE                    29
  19 #define PROPCASE_SHOOTING_MODE                   49
  20 #define PROPCASE_QUALITY                         57
  21 #define PROPCASE_DATE_STAMP                      66     // 0 = Off, 1 = Date, 2 = Date & Time
  22 #define PROPCASE_DIGITAL_ZOOM_MODE               91     // Digital Zoom Mode/State 0 = off/standard, 2 = 1.7x, 3 = 2.1x
  23 #define PROPCASE_DIGITAL_ZOOM_STATE              94     // Digital Zoom Mode/State 0 = Digital Zoom off, 1 = Digital Zoom on
  24 #define PROPCASE_DIGITAL_ZOOM_POSITION           95
  25 #define PROPCASE_DRIVE_MODE                      102
  26 #define PROPCASE_OVEREXPOSURE                    103
  27 #define PROPCASE_DISPLAY_MODE                    105
  28 #define PROPCASE_EV_CORRECTION_1                 107
  29 
  30 #define PROPCASE_BV                              34
  31 #define PROPCASE_DELTA_SV                        79
  32 #define PROPCASE_FLASH_ADJUST_MODE               121    // 0 = Auto, 1 = Manual
  33 #define PROPCASE_FLASH_FIRE                      122
  34 #define PROPCASE_FLASH_EXP_COMP                  127    // APEX96 units
  35 #define PROPCASE_EXT_FLASH_EXP_COMP              289    // APEX96 units (for external flash if connected)
  36 #define PROPCASE_FOCUS_MODE                      133
  37 #define PROPCASE_FLASH_MANUAL_OUTPUT             141
  38 #define PROPCASE_FLASH_MODE                      143    // 0 = Auto, 1 = On, 2 = Off
  39 #define PROPCASE_IS_MODE                         145
  40 #define PROPCASE_ISO_MODE                        149
  41 
  42 #define PROPCASE_REAL_FOCUS_MODE                 6       //??? WIKI|Propcase focus_mode
  43 #define PROPCASE_FOCUS_STATE                     18      //???
  44 #define PROPCASE_GPS                             359     // (CHDKLover, August 2011) - contains a 272 bytes long structure
  45 
  46 // SX30 & G12 values
  47 #define PROPCASE_AE_LOCK                         3       // 0 = AE not locked, 1 = AE locked
  48 #define PROPCASE_AF_FRAME                        8       // 1 = FlexiZone, 2 = Face AiAF / Tracking AF
  49 #define PROPCASE_CONTINUOUS_AF                   12      // 0 = Continuous AF off, 1 = Continuous AF on
  50 #define PROPCASE_SERVO_AF                        299     // 0 = Servo AF off, 1 = Servo AF on
  51 #define PROPCASE_METERING_MODE                   157
  52 #define PROPCASE_OPTICAL_ZOOM_POSITION           199
  53 #define PROPCASE_EXPOSURE_LOCK                   210     // Old PROPCASE_SHOOTING value - gets set when set_aelock called or AEL button pressed
  54 #define PROPCASE_SHOOTING                        303     // This value appears to work better - gets set to 1 when camera has focused and set exposure, returns to 0 after shot
  55 #define PROPCASE_EV_CORRECTION_2                 211
  56 #define PROPCASE_IS_FLASH_READY                  212
  57 #define PROPCASE_RESOLUTION                      222     // 0 = L, 1 = M1, 2 = M2, 4 = S, 7 = Low Light (G12)
  58 #define PROPCASE_ORIENTATION_SENSOR              223
  59 #define PROPCASE_TIMER_MODE                      227
  60 #define PROPCASE_SUBJECT_DIST1                   249
  61 #define PROPCASE_SV_MARKET                       250
  62 #define PROPCASE_SV                              347     // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  63 #define PROPCASE_TV2                             265     // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  64 #define PROPCASE_TV                              266     // Need to set this value for overrides to work correctly
  65 #define PROPCASE_USER_TV                         268
  66 #define PROPCASE_WB_MODE                         272     // WARNING!!!: This was not verified. 0=AWB, 1=Sunlight, 2=Cloudy, 3=Tungsten, 4=Fluorescent, 5=Fluorescent H, 6=Flash, 7=Underwater, 8=Custom 1, 9=Custom
  67 #define PROPCASE_WB_ADJ                          273
  68 #define PROPCASE_ASPECT_RATIO                    300
  69 
  70 #define PROPCASE_STITCH_DIRECTION                237     // 0=left>right, 1=right>left. Some cams have more
  71 #define PROPCASE_STITCH_SEQUENCE                 242     // counts shots in stitch sequence, positive=left>right, negative=right>left
  72 
  73 #define PROPCASE_ND_FILTER_STATE                 196     // 0 = out, 1 = in
  74 
  75 #define PROPCASE_AF_ASSIST_BEAM                  5       // 0=disabled,  1=enabled
  76 
  77 #define PROPCASE_VIDEO_FRAMERATE                 168     // 0=30fps, 1=24fps, 2=240fps, 3=120fps; timelapse in miniature: 8=5x, 9=10x, 10=20x (SX220)
  78 #define PROPCASE_VIDEO_RESOLUTION                171     // 1=240p, 2=480p, 4=720p, 5=1080p (SX220)
  79 
  80 #define PROPCASE_CUSTOM_SATURATION               55      // Canon Menu slide bar values: 255, 254, 0, 1, 2
  81 #define PROPCASE_CUSTOM_CONTRAST                 59      // Canon Menu slide bar values: 255, 254, 0, 1, 2
  82 #define PROPCASE_CUSTOM_BLUE                     177     // Canon Menu slide bar values: 255, 254, 0, 1, 2
  83 #define PROPCASE_CUSTOM_GREEN                    178     // Canon Menu slide bar values: 255, 254, 0, 1, 2
  84 #define PROPCASE_CUSTOM_RED                      179     // Canon Menu slide bar values: 255, 254, 0, 1, 2
  85 #define PROPCASE_CUSTOM_SKIN_TONE                180     // Canon Menu slide bar values: 255, 254, 0, 1, 2
  86 #define PROPCASE_MY_COLORS                       188     // 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
  87 #define PROPCASE_CUSTOM_SHARPNESS                229     // Canon Menu slide bar values: 255, 254, 0, 1, 2
  88 
  89 #define PROPCASE_IMAGE_FORMAT                    214     // from UIFS_GetStillShotableNumber, 0 = RAW, 1 = JPEG, 2 = RAW+JPEG
  90 
  91 #endif

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