root/include/propset5.h

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

INCLUDED FROM


   1 #ifndef PROPSET5_H
   2 #define PROPSET5_H
   3 
   4 /*
   5 constants for propset 5
   6 WARNING:
   7 The build uses tools/gen_propset_lua.sed to generate propset5.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          //??? WIKI|Propcase focus_mode
  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
  16 #define PROPCASE_CONTINUOUS_AF                   12         // 0 = Continuous AF off, 1 = Continuous AF on
  17 #define PROPCASE_FOCUS_STATE                     18         //???
  18 #define PROPCASE_AV2                             22         // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  19 #define PROPCASE_AV                              23         // This values causes the actual aperture value to be overriden
  20 #define PROPCASE_MIN_AV                          25
  21 #define PROPCASE_USER_AV                         26
  22 #define PROPCASE_BRACKET_MODE                    29
  23 #define PROPCASE_BV                              34
  24 #define PROPCASE_SHOOTING_MODE                   49
  25 #define PROPCASE_CUSTOM_SATURATION               55         // Canon Menu slide bar values: 255, 254, 0, 1, 2
  26 #define PROPCASE_QUALITY                         57
  27 #define PROPCASE_CUSTOM_CONTRAST                 59         // Canon Menu slide bar values: 255, 254, 0, 1, 2
  28 #define PROPCASE_LANGUAGE                        61         // Upper byte = language (see default.lua for known values) lowest bit: 0 = NTSC, 1 = PAL
  29 #define PROPCASE_FLASH_SYNC_CURTAIN              64
  30 #define PROPCASE_SUBJECT_DIST2                   65
  31 #define PROPCASE_DATE_STAMP                      66         // 0 = Off, 1 = Date, 2 = Date & Time
  32 #define PROPCASE_DELTA_SV                        79
  33 #define PROPCASE_DIGITAL_ZOOM_MODE               91         // Digital Zoom Mode/State 0 = off/standard, 2 = 1.5x, 3 = 2.0x
  34 #define PROPCASE_DIGITAL_ZOOM_STATE              94         // Digital Zoom Mode/State 0 = Digital Zoom off, 1 = Digital Zoom on
  35 #define PROPCASE_DIGITAL_ZOOM_POSITION           95
  36 #define PROPCASE_DRIVE_MODE                      102
  37 #define PROPCASE_OVEREXPOSURE                    103
  38 #define PROPCASE_DISPLAY_MODE                    105
  39 #define PROPCASE_EV_CORRECTION_1                 107
  40 #define PROPCASE_FLASH_ADJUST_MODE               121
  41 #define PROPCASE_FLASH_FIRE                      122
  42 #define PROPCASE_FLASH_EXP_COMP                  127    // APEX96 units
  43 #define PROPCASE_FOCUS_MODE                      133
  44 #define PROPCASE_FLASH_MANUAL_OUTPUT             141        // !not sure, but required for compile; from propset4
  45 #define PROPCASE_FLASH_MODE                      143        // 0 = Auto, 1 = ON, 2 = OFF
  46 #define PROPCASE_IS_MODE                         145        // 0 = Continuous, 2 = only Shoot, 4 = OFF
  47 #define PROPCASE_ISO_MODE                        149
  48 #define PROPCASE_METERING_MODE                   157
  49 #define PROPCASE_VIDEO_FRAMERATE                 168        // 1=25 0=30, miniature mode 9=5x 10=10x 11=20x (sx160)  may crash if doesn't match what canon uses for current resolution
  50 #define PROPCASE_VIDEO_RESOLUTION                171        // 5=1920x1080, 4=1280x720, 2=640x480, 1=320x240 
  51 #define PROPCASE_CUSTOM_BLUE                     177        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  52 #define PROPCASE_CUSTOM_GREEN                    178        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  53 #define PROPCASE_CUSTOM_RED                      179        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  54 #define PROPCASE_CUSTOM_SKIN_TONE                180        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  55 #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
  56 #define PROPCASE_ND_FILTER_STATE                 196        // 0 = out, 1 = in
  57 #define PROPCASE_OPTICAL_ZOOM_POSITION           199
  58 #define PROPCASE_EXPOSURE_LOCK                   210     // Old PROPCASE_SHOOTING value - gets set when set_aelock called or AEL button pressed
  59 #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
  60 #define PROPCASE_EV_CORRECTION_2                 211
  61 #define PROPCASE_IS_FLASH_READY                  212
  62 #define PROPCASE_IMAGE_FORMAT                    214     // from UIFS_GetStillShotableNumber, 0 = RAW, 1 = JPEG, 2 = RAW+JPEG
  63 #define PROPCASE_RESOLUTION                      222        // 0 = L, 1 = M1, 2 = M2, 4 = S, 7 = Low Light
  64 #define PROPCASE_ORIENTATION_SENSOR              223
  65 #define PROPCASE_TIMER_MODE                      227        // 0 = OFF, 1 = 2 sec, 2 = 10 sec, 3 = Custom
  66 #define PROPCASE_TIMER_DELAY                     228        // timer delay in msec
  67 #define PROPCASE_CUSTOM_SHARPNESS                229        // Canon Menu slide bar values: 255, 254, 0, 1, 2
  68 #define PROPCASE_STITCH_DIRECTION                237        // 0=left>right, 1=right>left. Some cams have more
  69 #define PROPCASE_STITCH_SEQUENCE                 242        // counts shots in stitch sequence, positive=left>right, negative=right>left
  70 #define PROPCASE_SUBJECT_DIST1                   249
  71 #define PROPCASE_SV_MARKET                       250
  72 #define PROPCASE_TV2                             265        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  73 #define PROPCASE_TV                              266        // Need to set this value for overrides to work correctly
  74 #define PROPCASE_USER_TV                         268
  75 #define PROPCASE_WB_MODE                         272        // 0 = Auto, 1 = Daylight, 2 = Cloudy, 3 = Tungsten, 4 = Fluorescent, 5 = Fluorescent H, 7 = Custom
  76 #define PROPCASE_WB_ADJ                          273
  77 #define PROPCASE_SERVO_AF                        299        // 0 = Servo AF off, 1 = Servo AF on
  78 #define PROPCASE_ASPECT_RATIO                    300        // 0 = 4:3, 1 = 16:9, 2 = 3:2, 3 = 1:1
  79 #define PROPCASE_SV                              347        // (philmoz, May 2011) - this value causes overrides to be saved in JPEG and shown on Canon OSD
  80 #define PROPCASE_GPS                             358        // (CHDKLover, August 2011) - contains a 272 bytes long structure
  81 #define PROPCASE_REVIEW_TIME                     364        // Review time 0 = off, -1 = hold, 100 = quick, otherwise milliseconds
  82 #define PROPCASE_TIMER_SHOTS                     377        // Number of shots for TIMER_MODE=Custom
  83 
  84 // !not sure
  85 //#define PROPCASE_DIGITAL_ZOOM_MODE               91         // Digital Zoom Mode/State 0 = off/standard, 2 = 1.7x, 3 = 2.1x
  86 
  87 #endif

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