⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cdtype.bas

📁 canon 相机SDK,非常难得
💻 BAS
📖 第 1 页 / 共 5 页
字号:
'    */
    Public Const cdIMG_PROP_SELF_TIMER_TIME = &HA00
'    /* Self-timer elapsed time in milliseconds.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'    */
    Public Const cdIMG_PROP_FOCUSING_SETTING = &HB00
'    /* Focusing setting: 0 means normal range scan, 1 means macro range scan.
'           Attribute : Read only
'           Size/Type : 1 / cdUInt8
'    */
    Public Const cdIMG_PROP_COMMENT = &H8000C00
'    /* User comment string termination by NULL.
'           Attribute : Read/Write
'           Size/Type : any / cdChar
'    */
    Public Const cdIMG_PROP_COMMENT_CODE = &H8000D00
'    /* User comment character code. Same as Exif specification.
'           Attribute : Read/Write
'           Size/Type : 8 / cdChar[8]
'    */
    Public Const cdIMG_PROP_COMMENT_BUF_SIZE = &HE00
'    /* Buffer size of the user comment in image file.
'           Attribute : Read only
'           Size/Type : 4 / cdUInt32
'    */
    Public Const cdIMG_PROP_RELEASE_METHOD = &HF00
'    /* Release method. (Drive mode)
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'   Value:
'       0: Normal
'       1: Continuous shooting
'       2: Movie
'       3: continuous shooting(Speed priority)
'       4: Continuous low
'       5: Continuous high
'    */
    Public Const cdIMG_PROP_CONT_NUMBER = &H1000
'    /* 0-based frame number on continous shooting.
'       Some camera does not set this value.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'    */
    Public Const cdIMG_PROP_STITCH_DESC = &H1100
'    /* Stitch assist description.
'           Attribute : Read only
'           Size/Type : 12 / cdStitchDesc
'    */
    Public Const cdIMG_PROP_LENS_TYPE = &H1200
'    /* Lens type.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'   Values:
'       1: Non zoom lens
'       2: Zoom lens
'    */
    Public Const cdIMG_PROP_FOCUL_LENGTH = &H1300
'    /* The focal length of the lens (mm)*32
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'    */
    Public Const cdIMG_PROP_SENSOR_SIZE_X = &H1400
'    /* Sensor size (horizontal: inches size * 1024)
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'    */
    Public Const cdIMG_PROP_SENSOR_SIZE_Y = &H1500
'    /* Sensor size (vertical: inches size * 1024)
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'    */
    Public Const cdIMG_PROP_WHITE_BALANCE = &H1600
'    /* White balance setting.
'           Attribute : Read only
'           Size/Type : 2 / cdWBLightSrc
'    */
    Public Const cdIMG_PROP_SLOW_SHUTTER = &H1700
'    /* Slow shutter setting
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'   Values:
'       0: off
'       1: night scene
'       2: on
'       3: not existing
'    */
    Public Const cdIMG_PROP_ROTATION_ANGLE = &H8001800
'    /* Rotation angle. (0, 90, 180, 270)
'           Attribute : Read/Write
'           Size/Type : 4 / cdUInt32
'    */
    Public Const cdIMG_PROP_FOCAL_LENGTH_DCF = &H1A00
'    /* The actual focal length of the lens, in mm.
'           Attribute : Read only
'           Size/Type : 8 / cdURational
'    */
    Public Const cdIMG_PROP_FOCAL_PLANE_RES_X = &H1B00
'    /* The number of pixels in the image width(X) direction
'       per unit derived by cdIMG_PROP_FOCAL_PLANE_RES_UNIT
'       on the camera focal plane.
'           Attribute : Read only
'           Size/Type : 8 / cdURational
'    */
    Public Const cdIMG_PROP_FOCAL_PLANE_RES_Y = &H1C00
'    /* The number of pixels in the image height(Y) direction
'       per unit derived by cdIMG_PROP_FOCAL_PLANE_RES_UNIT
'       on the camera focal plane.
'           Attribute : Read only
'           Size/Type : 8 / cdURational
'    */
    Public Const cdIMG_PROP_FOCAL_PLANE_RES_UNIT = &H1D00
'    /* The unit for measuring the value derived by
'       cdIMG_PROP_FOCAL_PLANE_RES_X and cdIMG_PROP_FOCAL_PLANE_RES_Y.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'   Value:
'       2:      inches
'       3:      centimeters
'       Other:  reserved
'    */
    Public Const cdIMG_PROP_COMP_QUALITY = &H1E00
'    /* Image quality setting.
'           Attribute : Read only
'           Size/Type : 2 / cdCompQuality
'    */
    Public Const cdIMG_PROP_IMAGE_SIZE = &H1F00
'    /* Image size setting.
'           Attribute : Read only
'           Size/Type : 2 / cdImageSize
'    */
    Public Const cdIMG_PROP_SHOOTING_MODE = &H2000
'    /* Shooting mode.
'           Attribute : Read only
'           Size/Type : 2 / cdShootingMode
'    */
    Public Const cdIMG_PROP_EZOOM = &H2100
'    /* Digital zoom mode.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'   Valies:
'       0: Not digital zoomed.
'       1:      X2
'       2:      x4
'       3:      Smooth (continuous) digital zoom.
'       &Hffff: Unknown
'    */
    Public Const cdIMG_PROP_CONTRAST = &H2200
'    /* Contrast.
'           Attribute : Read only
'           Size/Type : 2 / cdInt16
'   Values:
'        -2:low2 -1:low1 0:default 1:high1 2:high2 &H7fff:unknown
'    */
    Public Const cdIMG_PROP_COLOR_GAIN = &H2300
'    /* Color gain.
'           Attribute : Read only
'           Size/Type : 2 / cdInt16
'   Valuds:
'        -2:low2 -1:low1 0:default 1:high1 2:high2 &H7fff:unknown
'    */
    Public Const cdIMG_PROP_SHARPNESS = &H2400
'    /* Sharpness.
'           Attribute : Read only
'           Size/Type : 2 / cdInt16
'Valuds:
'        -2:low2 -1:low1 0:default 1:high1 2:high2 &H7fff:unknown
'    */
    Public Const cdIMG_PROP_SENSITIVITY = &H2500
'    /* Sensitivity.
'           Attribute : Read only
'           Size/Type : 2 / cdInt16
'   Values:
'       0:Default 1:up_1 2:up_2  &HF:Auto  &H10:ISO50  &H11:ISO100  &H12:ISO200
'        &H13:ISO400 &H14:ISO800 &H7fff:unknown
'        If &H4000 bit is set, lower 10 bits shows ISO value.
'         e.g. &H4040 means ISO64.
'    */
    Public Const cdIMG_PROP_MLWEI_MODE = &H2600
'    /* Measure light weight mode.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'   Values:
'        cdMLWEI_MODE_CENTER (0) : Center-weighted averaging
'        cdMLWEI_MODE_SPOT (1) : spot
'        cdMLWEI_MODE_AVERAGE (2) : averaging
'        cdMLWEI_MODE_ESTIMAT (3) : Evaluative
'        cdMLWEI_MODE_PART (4) : Partial
'        cdMLWEI_MODE_CENTER_WEI_AVERAGE(5) : Center-weighted averaging
'        cdMLWEI_MODE_UNKNOWN(&Hffff) : Unknown
'    */
    Public Const cdIMG_PROP_ISO_SPEED_RATINGS = &H2700
'    /* ISO Speed.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'    */
    Public Const cdIMG_PROP_CUSTOM_FUNC1 = &H2900
'    /* Custom function settings.
'           Attribute : Read only
'           Size/Type : any (depend on camera model) / cdCustomFunction
'    */
    Public Const cdIMG_PROP_CUSTOM_FUNC2 = &H2B00
'    /* Custom function settings.
'           Attribute : Read only
'           Size/Type : sizeof(cdCustomFunction2) / cdCustomFinction2
'    */
    Public Const cdIMG_PROP_PERSONAL_FUNC = &H2D00
'    /* Personal fnction settngs.
'           Attribute : Read only
'           Size/Type : sizeof(cdPersonalFunction) / cdPersonalFunction
'    */
    Public Const cdIMG_PROP_PERSONAL_FUNC_VAL = &H2F00
'    /* Personal fnction settng values.
'           Attribute : Read only
'           Size/Type : sizeof(cdPersonalFunctionValue) / cdPersonalFunctionValue
'    */
    Public Const cdIMG_PROP_BODY_ID = &H3000
'    /* Camera body ID number.
'           Attribute : Read only
'           Size/Type : 4 / cdUInt32
'    */
    Public Const cdIMG_PROP_EF = &H3100
'    /* EF.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'   Values:
'       0     : off
'       1     : Auto
'       2     : on
'       3     : red eye reduction
'       4     : slow synchro
'       5     : auto + red eye reduction
'       6     : on + red eye reduction
'       0x10  : External Strobe
'       0xffff: Unknown
'    */
    Public Const cdIMG_PROP_FOCUS_POSITION = &H3200
'    /* Focusing point.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'   Meaning:
'        Upper 4bits is 0: Means this value is invalid.
'        Upper 4bits is 1: Means center focus point selection.
'        Upper 4bits is 3: Means 3 points focus selection. Checks lower 12bits
'                          further;
'                           0: No focus point.
'                           1. Right AF point is selected.
'                           2. Center AF point is selected.
'                           4. Left AF point is selected.
'    */
    Public Const cdIMG_PROP_FOCUS_POSITION2 = &H3300
'    /* Focusing point.
'           Attribute : Read only
'           Size/Type : 8 / cdUInt32
'   Meaning:
'        First 1 byte shows AF point.
'          Upper 3 bits represent Y coordinates in the Table 1 shown below.
'          Lower 5 bits represent X coordinates in the Table 1 shown below.
'
'
'        Next 7 bytes show focus points.
'          The Table 2 shows the meaning of each bit included in these 7 bytes.
'          The number which has been described to table 2 corresponds to the
'          number of the focus point of table 1.
'          If the bit is set, it means that the point correspond to the bit
'          was focused.
'
'
'                         Table 1: AF Point and Focus Point Map
'              x
'         |  0  1  2  3  4  5  6  7  8  9  10 11 12 13 14 15 16 17 18 19 20  |
'       --|------------------------------------------------------------------|
'       0 |             [02]  [03]  [04]  [05]  [06]  [07]  [10]             |
'     Y   |                                                                  |
'       1 |    [13]  [14]  [15]  [16]  [17]  [20]  [21]  [22]  [23]  [24]    |
'         |                                                                  |
'       2 | [25]  [26]  [27]  [30]  [31]  [32]  [33]  [34]  [35]  [36]  [37] |
'         |                                                                  |
'       3 |    [40]  [41]  [42]  [43]  [44]  [45]  [46]  [47]  [50]  [51]    |
'         |                                                                  |
'       4 |             [54]  [55]  [56]  [57]  [60]  [61]  [62]             |
'       --|------------------------------------------------------------------|
'
'
'                         Table 2: AF Point (Last 7 bytes)
'
'               | Bit7 | Bit6 | Bit5 | Bit4 | Bit3 | Bit2 | Bit1 | Bit0 |
'         ------|------|------|------|------|------|------|------|------|
'         BYTE0 | [07] | [06] | [05] | [04] | [03] | [02] |  --  |  --  |
'         BYTE1 | [17] | [16] | [15] | [14] | [13] |  --  |  --  | [10] |
'         BYTE2 | [27] | [26] | [25] | [24] | [23] | [22] | [21] | [20] |
'         BYTE3 | [37] | [36] | [35] | [34] | [33] | [32] | [31] | [30] |
'         BYTE4 | [47] | [46] | [45] | [44] | [43] | [42] | [41] | [40] |
'         BYTE5 | [57] | [56] | [55] | [54] |  --  |  --  | [51] | [50] |
'         BYTE6 |  --  |  --  |  --  |  --  |  --  | [62] | [61] | [69] |
'    */
    Public Const cdIMG_PROP_BULB_TIME = &H3400
'    /* Bulb time in Bulb release (100msec).
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'    */
    Public Const cdIMG_PROP_FOCUS_MODE = &H3500
'    /* Focus mode.
'           Attribute : Read only
'           Size/Type : 2 / cdFocusMode
'    */
    Public Const cdIMG_PROP_FOCAL_LENGTH_TELE = &H3600
'    /* Focal length of tele end (mm).
'           Attribute : Read only
'           Size/Type : 8 / cdURational
'    */
    Public Const cdIMG_PROP_FOCAL_LENGTH_WIDE = &H3700
'    /* Focal length of wide end (mm).
'           Attribute : Read only
'           Size/Type : 8 / cdURational
'    */
    Public Const cdIMG_PROP_FLASH_MODE = &H3800
'    /* Flash mode.
'           Attribute : Read only
'           Size/Type : 2 / cdUInt16
'   Values:
'        (bit assigned)
'       bit0 : Manual
'       bit1 : TTL
'       bit2 : a -TTL
'       bit3 : e -TTL
'       bit4 : Flat
'       bit7 : 2nd-curtain sync.
'       bit13: Built-in Flash
'       bit14: External Flash
'    */
    Public Const cdIMG_PROP_AEB_SHOT_NUMBER = &H3900
'    /* Shootign number in AEB.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -