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

📄 cdtype.pas

📁 canon 相机SDK,非常难得
💻 PAS
📖 第 1 页 / 共 5 页
字号:
	 cdIMG_PROP_SERIAL_NUMBER				=$00000100;
	{* The number used to generate the folder and file names.
	       Attribute : Read only
	       Size/Type : 4 / cdUInt32
	*}
    cdIMG_PROP_MODEL_NAME                                       =$00000200;
	{* Camera model name.
	       Attribute : Read only
	       Size/Type : 32 / cdStr31
	*}
	 cdIMG_PROP_OWNER_NAME					=$08000300;
	{* Camera owner's name
	       Attribute : Read/Write
	       Size/Type : 32 / cdStr31
	*}
	 cdIMG_PROP_CAPTURE_TIME				=$00000400;
	{* When the picture was taken
	       Attribute : Read only
	       Size/Type : 4 / cdTime
	*}
	 cdIMG_PROP_CONFIG_NAME					=$00000500;
	{* How the camera was configured (example: "IMG:PowerShot JPEG")
	       Attribute : Read only
	       Size/Type : 32 / cdStr31
	*}
	 cdIMG_PROP_AV						=$00000600;
	{* Aperture value. The unit is APEX (Additive system of Photographic Exposure).
	       Attribute : Read only
	       Size/Type : 4 / cdFloat
	*}
	 cdIMG_PROP_TV						=$00000700;
	{* Shutter speed. "Tv" stands for "time value".
	       Attribute : Read only
	       Size/Type : 4 / cdFloat
	*}
	 cdIMG_PROP_EXPOSURE_COMP				=$00000800;
	{* Exposure compensation value. This value will range from -3 to +3.
	       Attribute : Read only
	       Size/Type : 4 / cdFloat
	*}
	 cdIMG_PROP_EF_GUIDE_NUMBER				=$00000900;
	{* Flash guide number. 0 means flash not used.
	       Attribute : Read only
	       Size/Type : 4 / cdFloat
	*}
	 cdIMG_PROP_SELF_TIMER_TIME				=$00000a00;
	{* Self-timer elapsed time in milliseconds.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdIMG_PROP_FOCUSING_SETTING			        =$00000b00;
	{* Focusing setting: 0 means normal range scan, 1 means macro range scan.
	       Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*}
	 cdIMG_PROP_COMMENT					=$08000c00;
	{* User comment string termination by NULL.
	       Attribute : Read/Write
	       Size/Type : any / cdChar
	*}
	 cdIMG_PROP_COMMENT_CODE				=$08000d00;
	{* User comment character code. Same as Exif specification.
	       Attribute : Read/Write
	       Size/Type : 8 / cdChar[8]
	*}
	 cdIMG_PROP_COMMENT_BUF_SIZE			        =$00000e00;
	{* Buffer size of the user comment in image file.
	       Attribute : Read only
	       Size/Type : 4 / cdUInt32
	*}
	 cdIMG_PROP_RELEASE_METHOD				=$00000f00;
	{* 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
	*}
	 cdIMG_PROP_CONT_NUMBER					=$00001000;
	{* 0-based frame number on continous shooting.
	   Some camera does not set this value.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdIMG_PROP_STITCH_DESC					=$00001100;
	{* Stitch assist description.
	       Attribute : Read only
	       Size/Type : 12 / cdStitchDesc
	*}
	 cdIMG_PROP_LENS_TYPE					=$00001200;
	{* Lens type.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    1: Non zoom lens
		2: Zoom lens
	*}
	 cdIMG_PROP_FOCUL_LENGTH				=$00001300;
	{* The focal length of the lens (mm)*32
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdIMG_PROP_SENSOR_SIZE_X				=$00001400;
	{* Sensor size (horizontal: inches size * 1024)
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdIMG_PROP_SENSOR_SIZE_Y				=$00001500;
	{* Sensor size (vertical: inches size * 1024)
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdIMG_PROP_WHITE_BALANCE				=$00001600;
	{* White balance setting.
	       Attribute : Read only
	       Size/Type : 2 / cdWBLightSrc
	*}
	 cdIMG_PROP_SLOW_SHUTTER				=$00001700;
	{* Slow shutter setting
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    0: off
	    1: night scene
	    2: on
	    3: not existing
	*}
	 cdIMG_PROP_ROTATION_ANGLE				=$08001800;
	{* Rotation angle. (0, 90, 180, 270)
	       Attribute : Read/Write
	       Size/Type : 4 / cdUInt32
	*}
	 cdIMG_PROP_FOCAL_LENGTH_DCF			        =$00001a00;
	{* The actual focal length of the lens, in mm.
	       Attribute : Read only
	       Size/Type : 8 / cdURational
	*}
	 cdIMG_PROP_FOCAL_PLANE_RES_X			        =$00001b00;
	{* 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
	*}
	 cdIMG_PROP_FOCAL_PLANE_RES_Y			        =$00001c00;
	{* 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
	*}
	 cdIMG_PROP_FOCAL_PLANE_RES_UNIT		        =$00001d00;
	{* 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
	*}
	 cdIMG_PROP_COMP_QUALITY				=$00001e00;
	{* Image quality setting.
	       Attribute : Read only
	       Size/Type : 2 / cdCompQuality
	*}
	 cdIMG_PROP_IMAGE_SIZE					=$00001f00;
	{* Image size setting.
	       Attribute : Read only
	       Size/Type : 2 / cdImageSize
	*}
	 cdIMG_PROP_SHOOTING_MODE				=$00002000;
	{* Shooting mode.
	       Attribute : Read only
	       Size/Type : 2 / cdShootingMode
	*}
	 cdIMG_PROP_EZOOM				        =$00002100;
	{* Digital zoom mode.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Valies:
	    0: Not digital zoomed.
		1: x2
		2: x4
		3: Smooth (continuous) digital zoom.
		$ffff: Unknown
	*}
	 cdIMG_PROP_CONTRAST					=$00002200;
	{* Contrast.
	       Attribute : Read only
	       Size/Type : 2 / cdInt16
	   Values:
	    -2:low2 -1:low1 0:default 1:high1 2:high2 $7fff:unknown
	*}
	 cdIMG_PROP_COLOR_GAIN					=$00002300;
	{* Color gain.
	       Attribute : Read only
	       Size/Type : 2 / cdInt16
	   Valuds:
	    -2:low2 -1:low1 0:default 1:high1 2:high2 $7fff:unknown
	*}
	 cdIMG_PROP_SHARPNESS					=$00002400;
	{* Sharpness.
	       Attribute : Read only
	       Size/Type : 2 / cdInt16
	   Valuds:
	    -2:low2 -1:low1 0:default 1:high1 2:high2 $7fff:unknown
	*}
	 cdIMG_PROP_SENSITIVITY					=$00002500;
	{* Sensitivity.
	       Attribute : Read only
	       Size/Type : 2 / cdInt16
	   Values:
	    0:default 1:up_1 2:up_2 $f:Auto $10:ISO50 $11:ISO100 $12:ISO200
		$13:ISO400 $14:ISO800 $7fff:unknown
		If $4000 bit is set, lower 10 bits shows ISO value.
		 e.g. $4040 means ISO64.
	*}
	 cdIMG_PROP_MLWEI_MODE					=$00002600;
	{* 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=($ffff)        : Unknown
	*}
	 cdIMG_PROP_ISO_SPEED_RATINGS			        =$00002700;
	{* ISO Speed.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdIMG_PROP_CUSTOM_FUNC1				=$00002900;
	{* Custom function settings.
	       Attribute : Read only
	       Size/Type : any (depend on camera model) / cdCustomFunction
	*}
	 cdIMG_PROP_CUSTOM_FUNC2				=$00002b00;
	{* Custom function settings.
	       Attribute : Read only
	       Size/Type : sizeof(cdCustomFunction2) / cdCustomFinction2
	*}
	 cdIMG_PROP_PERSONAL_FUNC				=$00002d00;
	{* Personal fnction settngs.
	       Attribute : Read only
	       Size/Type : sizeof(cdPersonalFunction) / cdPersonalFunction
	*}
	 cdIMG_PROP_PERSONAL_FUNC_VAL			        =$00002f00;
	{* Personal fnction settng values.
	       Attribute : Read only
	       Size/Type : sizeof=(cdPersonalFunctionValue) / cdPersonalFunctionValue
	*}
	 cdIMG_PROP_BODY_ID					=$00003000;
	{* Camera body ID number.
	       Attribute : Read only
	       Size/Type : 4 / cdUInt32
	*}
	 cdIMG_PROP_EF						=$00003100;
	{* 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
	    $10   : External Strobe
	    $ffff : Unknown
	*}
	 cdIMG_PROP_FOCUS_POSITION				=$00003200;
	{* 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.
	*}
	 cdIMG_PROP_FOCUS_POSITION2				=$00003300;
	{* 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] |
	*}
	 cdIMG_PROP_BULB_TIME					=$00003400;
	{* Bulb time in Bulb release (100msec).
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdIMG_PROP_FOCUS_MODE					=$00003500;
	{* Focus mode.
	       Attribute : Read only
	       Size/Type : 2 / cdFocusMode
	*}
	 cdIMG_PROP_FOCAL_LENGTH_TELE			        =$00003600;
	{* Focal length of tele end (mm).
	       Attribute : Read only
	       Size/Type : 8 / cdURational
	*}
	 cdIMG_PROP_FOCAL_LENGTH_WIDE			        =$00003700;
	{* Focal length of wide end (mm).
	       Attribute : Read only
	       Size/Type : 8 / cdURational
	*}
	 cdIMG_PROP_FLASH_MODE					=$00003800;
	{* 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	    
	*}
	 cdIMG_PROP_AEB_SHOT_NUMBER				=$00003900;
	{* Shootign number in AEB.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    0:no-AEB  1:1st-AEB  2:2nd-AEB  3:3rd-AEB
	*}
	 cdIMG_PROP_AEB_EXPOSURE_COMP		        	=$00003a00;
	{* Exposure compensation value in AEB (APPEX).
	       Attribute : Read only
	       Size/Type : 4 / cdFloat
	*}
	 cdIMG_PROP_FLASH_COMP					=$00003b00;
	{* Flash compensation value (APPEX).
	       Attribute : Read only
	       Size/Type : 4 / cdFloat
	*}
	 cdIMG_PROP_AIAE					=$00003d00;
	{* AE setting in shooting.
	       Attribute : Read only

⌨️ 快捷键说明

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