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

📄 cdtype.pas

📁 canon 相机SDK,非常难得
💻 PAS
📖 第 1 页 / 共 5 页
字号:
	{* Firmware version in the device.
	       Attribute : Read only
	       Size/Type : 32 / cdChar[32]
	*}
	 cdDEVICE_PROP_BATTERY_STATUS		                =$0000000f;
	{* Battery status of the device. 
	       Attribute : Read only
	       Size/Type : 4 / cdUInt32
	   Values:
	    Refer to the description of the cdEVENT_BATTERY_LEVEL_CHANGED event 
		in the cdEvent.h.
	*}



{*-----------------------------------------------------------------------
   Constants for remote release control  
------------------------------------------------------------------------*}
{* cdRelCamSettingID 
*}
type  cdRelCamSettingID=cdUInt32;
const
	 cdREL_SET_SELF_TIMER				        =$00000001;
	{* Self timer setting. This value is valid when drive mode value get by
	   CDGetDriveMode is cdDRIVE_MODE_SELFTIMER.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    0     : No self timer shooting
		100   : Self timer shooting (10sec).
		$ffff : Invalid
	*}
	 cdREL_SET_BEEP						 =$08000002;
	{* Beep setting.
	       Attribute : Depends on the camera model.
	       Size/Type : 1 / cdUInt8
	   Values:
	    0: off   1: on   $ff:Invalid
	*}
	 cdREL_SET_EZOOM					=$00000003;
	{* Digital Teleconverter.
	       Attribute : Read only
	       Size/Type : 1 / cdUInt8
	   Values:
	    0   : No teleconverter.
		1   : Continuous (Smooth)
		=$ff: Invalid
	*}
	 cdREL_SET_MLWEI_MODE				        =$08000004;
	{* Measure light weight mode.
	       Attribute : Depends on the camera model.
	       Size/Type : 1 / cdUInt8
	   Values:								*}
                cdREL_VAL_MLWEI_MODE_CENTER_WEI_AVERAGE  =(0);  {* Center-weighted averaging	*}
                cdREL_VAL_MLWEI_MODE_SPOT   	         =(1);  {* Spot				*}
                cdREL_VAL_MLWEI_MODE_AVERAGE   	         =(2);  {* Averaging			*}
                cdREL_VAL_MLWEI_MODE_EVALUATIVE   	 =(3);  {* Evaluative			*}
                cdREL_VAL_MLWEI_MODE_PART    		 =(4);  {* Partial			*}
                cdREL_VAL_MLWEI_MODE_CENTER_WEI_AVERAGE_2=(5);  {* Center-weighted averaging	*}
                cdREL_VAL_MLWEI_MODE_UNKNOWN   	         =($ff);{* Invalid			*}

	 cdREL_SET_FOCUS_POINT				        =$08000005;
	{* Measure light weight mode.
	       Attribute : Depends on the camera model.
	       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 is selected.
						      Manual focus point selection.
						   1: Automatic focus point selection.
						   2. Right focus point selection.
						   3. Center focus point selection.
						   4. Left focus point selection
	   Useful definitions:                        *}
		{* Upper 4bits *}
		 cdREL_VAL_FOCUS_POINT_NA			=($0000);
		 cdREL_VAL_FOCUS_POINT_CENTER_ONLY		=($1000);
		 cdREL_VAL_FOCUS_POINT_3_POINTS			=($3000);
		{* Lower 12bits when cdFOCUS_POINT_3_POINTS *}
		 cdREL_VAL_FOCUS_POINT_MF			=($0000);
		 cdREL_VAL_FOCUS_POINT_AUTO			=($0001);
		 cdREL_VAL_FOCUS_POINT_RIGHT			=($0002);
		 cdREL_VAL_FOCUS_POINT_CENTER			=($0003);
		 cdREL_VAL_FOCUS_POINT_LEFT			=($0004);

			 cdREL_VAL_FOCUS_POINT_AF_AUTO		=(cdREL_VAL_FOCUS_POINT_3_POINTS or cdREL_VAL_FOCUS_POINT_AUTO);
			 cdREL_VAL_FOCUS_POINT_AF_RIGHT		=(cdREL_VAL_FOCUS_POINT_3_POINTS or cdREL_VAL_FOCUS_POINT_RIGHT);
			 cdREL_VAL_FOCUS_POINT_AF_CENTER	=(cdREL_VAL_FOCUS_POINT_3_POINTS or cdREL_VAL_FOCUS_POINT_CENTER);
			 cdREL_VAL_FOCUS_POINT_AF_LEFT		=(cdREL_VAL_FOCUS_POINT_3_POINTS or cdREL_VAL_FOCUS_POINT_LEFT);


	 cdREL_SET_SLOW_SHUTTER				        =$00000006;
	{* Slow shutter setting
	       Attribute : Read only
	       Size/Type : 1 / cdUInt8
	   Values:
	    0: off
	    1: night scene
	    2: on
	    3: not existing
		$ff: invalid
	*}
	 cdREL_SET_AF_MODE					=$00000007;
	{* Fucus mode setting
	       Attribute : Read only
	       Size/Type : 1 / cdUInt8
	   Values:
	    0: One-Shot AF / Single AF
		1: AI Servo AF / Continuous AF
		2: AI Focus	AF
		3: Manual Focus
		$ff: Invalid
	*}
	 cdREL_SET_CONTRAST					=$08000008;
	{* Contrast setting
	       Attribute : Depends on the camera model.
	       Size/Type : 1 / cdInt8
	   Values:														*}
		 cdREL_VAL_CONTRAST_LOW			=(-1);	{* Low		*}
		 cdREL_VAL_CONTRAST_NORMAL		=(0);	{* Normal	*}
		 cdREL_VAL_CONTRAST_HIGH		=(1);	{* High		*}
		 cdREL_VAL_CONTRAST_INVALID		=($7f);	{* Invalid	*}

	 cdREL_SET_COLOR_GAIN				        =$08000009;
	{* Color saturation setting
	       Attribute : Depends on the camera model.
	       Size/Type : 1 / cdInt8
	   Values:														*}
		 cdREL_VAL_COLOR_GAIN_LOW		=(-1);	{* Low		*}
		 cdREL_VAL_COLOR_GAIN_NORMAL	        =(0);	{* Normal	*}
		 cdREL_VAL_COLOR_GAIN_HIGH		=(1);	{* High		*}
		 cdREL_VAL_COLOR_GAIN_INVALID	        =($7f);	{* Invalid	*}

	 cdREL_SET_SHARPNESS				        =$0800000a;
	{* Sharpness setting
	       Attribute : Depends on the camera model.
	       Size/Type : 1 / cdInt8
	   Values:														*}
		 cdREL_VAL_SHARPNESS_LOW		=(-1);	{* Low		*}
		 cdREL_VAL_SHARPNESS_NORMAL		=(0);	{* Normal	*}
		 cdREL_VAL_SHARPNESS_HIGH		=(1);	{* High		*}
		 cdREL_VAL_SHARPNESS_INVALID	        =($7f);	{* Invalid	*}

	 cdREL_SET_PARAMETER_SET			        =$0000000b;
	{* Parameters Set information.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Meaning:
		Lower 4bit: Means the current selection number of the parameter set
		            in the camera.
		               0: Standard set.
					   1: Set 1
					   2: Set 2
					   3: Set 3
		bit4: Means if the standard parameter set is selectable.
		bit5: Means if the parameter set 1 is selectable
		bit6: Means if the parameter set 2 is selectable
		bit7: Means if the parameter set 3 is selectable

		  =$ffff:	Invalid
	*}
	 cdREL_SET_ISO_SPEED_RATINGS		                =$0800000c;
	{* ISO speed setting.
	       Attribute : Depends on the camera model.
	       Size/Type : 2 / cdUInt16
	   Values:													*}
	     cdREL_VAL_ISO_AUTO		=($0000);	{* Auto		*}
	     cdREL_VAL_ISO_6		=($0028);	{* ISO 6	*}
	     cdREL_VAL_ISO_8		=($002b);	{* ISO 8	*}
	     cdREL_VAL_ISO_10		=($002d);	{* ISO 10	*}
	     cdREL_VAL_ISO_12		=($0030);	{* ISO 12	*}
	     cdREL_VAL_ISO_16		=($0033);	{* ISO 16	*}
	     cdREL_VAL_ISO_20		=($0035);	{* ISO 20	*}
	     cdREL_VAL_ISO_25		=($0038);	{* ISO 25	*}
	     cdREL_VAL_ISO_32		=($003b);	{* ISO 32	*}
	     cdREL_VAL_ISO_40		=($003d);	{* ISO 40	*}
	     cdREL_VAL_ISO_50		=($0040);	{* ISO 50	*}
	     cdREL_VAL_ISO_64		=($0043);	{* ISO 64	*}
	     cdREL_VAL_ISO_80		=($0045);	{* ISO 80	*}
	     cdREL_VAL_ISO_100		=($0048);	{* ISO 100	*}
	     cdREL_VAL_ISO_125		=($004b);	{* ISO 125	*}
	     cdREL_VAL_ISO_160		=($004d);	{* ISO 160	*}
	     cdREL_VAL_ISO_200		=($0050);	{* ISO 200	*}
	     cdREL_VAL_ISO_250		=($0053);	{* ISO 250	*}
	     cdREL_VAL_ISO_320		=($0055);	{* ISO 320	*}
	     cdREL_VAL_ISO_400		=($0058);	{* ISO 400	*}
	     cdREL_VAL_ISO_500		=($005b);	{* ISO 500	*}
	     cdREL_VAL_ISO_640		=($005d);	{* ISO 640	*}
	     cdREL_VAL_ISO_800		=($0060);	{* ISO 800	*}
	     cdREL_VAL_ISO_1000		=($0063);	{* ISO 1000	*}
	     cdREL_VAL_ISO_1250		=($0065);	{* ISO 1250	*}
	     cdREL_VAL_ISO_1600		=($0068);	{* ISO 1600	*}
	     cdREL_VAL_ISO_2000		=($006b);	{* ISO 2000	*}
	     cdREL_VAL_ISO_2500		=($006d);	{* ISO 2500	*}
	     cdREL_VAL_ISO_3200		=($0070);	{* ISO 3200	*}
	     cdREL_VAL_ISO_4000		=($0073);	{* ISO 4000	*}
	     cdREL_VAL_ISO_5000		=($0075);	{* ISO 5000	*}
	     cdREL_VAL_ISO_6400		=($0078);	{* ISO 6400	*}
             cdREL_VAL_ISO_NA		=($ffff);	{* Invalid	*}

	 cdREL_SET_FLASH_COMP				        =$0800000d;
	{* ISO speed setting.
	       Attribute : Depends on the camera model.
	       Size/Type : 1 / cdUInt8
	   Values:
	    Same as lower 1 byte of cdCompensation.
	*}
	 cdREL_SET_AEB_EXPOSURE_COMP		                =$0000000e;
	{* AEB exposure compensation value.
	       Attribute : Read only
	       Size/Type : 1 / cdUInt8
	   Values:
	    Same as lower 1 byte of cdCompensation.
	*}
	 cdREL_SET_EF_LENS_ID				        =$0000000f;
	{* EF lens ID.
	       Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*}
	 cdREL_SET_AV_OPEN					=$00000020;
	{* This ID and its value is invalid.
	*}
	 cdREL_SET_AV_MAX					=$00000021;
	{* Maximum Av value.
	       Attribute : Read only
	       Size/Type : 2 / cdRemoteSetAv
	*}
	 cdREL_SET_FOCAL_LENGTH				        =$00000022;
	{* The numerator value of the current focal length value.
	   The denominator value is the value gotten by
	   cdREL_SET_FOCAL_LENGTH_DENOMINATOR.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    $ffff: Invalid
	*}
	 cdREL_SET_FOCAL_LENGTH_TELE		                =$00000023;
	{* The numerator value of the focal length value of the tele end.
	   The denominator value is the value gotten by
	   cdREL_SET_FOCAL_LENGTH_DENOMINATOR.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    $ffff: Invalid
	*}
	 cdREL_SET_FOCAL_LENGTH_WIDE		                =$00000024;
	{* The numerator value of the focal length value of the wide end.
	   The denominator value is the value gotten by
	   cdREL_SET_FOCAL_LENGTH_DENOMINATOR.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    $ffff: Invalid
	*}
	 cdREL_SET_FOCAL_LENGTH_DENOMINATOR	                =$00000025;
	{* The denominator value for the focal length values.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    $ffff: Invalid
	*}
	 cdREL_SET_DISP_AV					=$00000100;
	{* The meaning of the value gotten by cdREL_SET_AV_OPEN_APEX.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Meaning:
	    See next.
	*}
	 cdREL_SET_AV_OPEN_APEX				        =$00000200;
	{* The smallest aperture value =(larger aperture) for display.
	       Attribute : Read only
	       Size/Type : 2 / cdInt16
	   Values:
	    If the value gotten by cdREL_SET_DISP_AV is 0,
		this value shows the APEX value of the aperture value.

	    If the value gotten by cdREL_SET_DISP_AV is 1,
		this value shows the display value by which ten times are done.
		For instance, if the value gotten by cdREL_SET_DISP_AV is 1,
		and this value is 27, AV becomes 2.7.
	*}
	 cdREL_SET_EZOOM_SIZE				        =$00000300;
	{* The image horizontal size cut out from the CCD at current digital
	   zoom position.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Value:
	    This value will be maximum when camera is not digital zoom position.
	*}
	 cdREL_SET_FOCAL_ML_SPOT_POS		                =$08000400;
	{* Spot AE point.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Value:
	    0: Center.
		    Meters the area within the spot AE point frame at the center.
	    1: AF point.
	        Meters the spot AF point corresponding to the selected AF frame.
	*}
	 cdREL_SET_DISP_AV_MAX				        =$00000500;
	{* The meaning of the value gotten by cdREL_SET_AV_MAX_APEX.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Meaning:
	    See next.
	*}
	 cdREL_SET_AV_MAX_APEX				        =$00000600;
	{* The maximum aperture value (smaller aperture) for display.
	       Attribute : Read only
	       Size/Type : 2 / cdInt16
	   Values:
	    If the value gotten by cdREL_SET_DISP_AV_MAX is 0,
		this value shows the APEX value of the aperture value.

	    If the value gotten by cdREL_SET_DISP_AV_MAX is 1,
		this value shows the display value by which ten times are done.
		For instance, if the value gotten by cdREL_SET_DISP_AV_MAX is 1,
		and this value is 80, AV becomes 8.0.
	*}
	 cdREL_SET_FOCAL_LENGTH_OF_TELE		                =$00000900;
	{* Focal length at the optical tele end.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdREL_SET_EZOOM_SIZE_TELE			        =$00000a00;
	{* The image horizontal size cut out from the CCD at tele end of
	   the digital zoom position.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdREL_SET_PHOTO_EFFECT			                =$08000b00;
	{* Photo effect mode.
	       Attribute : Depends on the camera model.
	       Size/Type : 2 / cdPhotoEffect
	*}
	 cdREL_SET_AF_LIGHT					=$08000c00;
	{* AF-assist beam setting.
	       Attribute : Depends on the camera model.
	       Size/Type : 2 / cdUInt16
	   Values:
	    0: Off
		1: On
	*}
	 cdREL_SET_FLASH_QUANTITY_COUNT		                =$00000d00;
	{* Number of levels of quantity of flash luminescence which can be set
	   in the Manual mode.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*}
	 cdREL_SET_FLASH_QUANTITY			        =$08000e00;
	{* Quantity of flash luminescence.
	       Attribute : Depends on the camera model.
	       Size/Type : 2 / cdUInt16
	   Meaning:
	    The range of this value is between from 0 to (FlashLevelCount - 1).
		0 means maximum luminescence.
		(FlashLevelCount - 1) means minimum luminescence.
		This is valid when flash setting is cdFLASH_MODE_ON or cdFLASH_MODE_ON_PLUS_RED_EYE
		with shooting mode is cdSHOOTING_MODE_MANUAL.
	*}
	 cdREL_SET_ROTATION_ANGLE			        =$00000f00;
	{* Rotation angle detected with the Auto Rotate Sensor.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    0:   0 degree
		1:  90 degrees
		2: 180 degrees
		3: 270 degrees
		$ffff: Unknown
	*}
	 cdREL_SET_ROTATION_SENSE			        =$00001000;
	{* Auto Rotate Senser setting.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    0: Enable
		1: Disable
		$ffff: Not available.
	*}
	 cdREL_SET_KELVIN_VALUE				        =$00001100;
	{* Kelvin value of WB setting.
	       Attribute : Depends on the camera model.
	       Size/Type : 2 / cdUInt16
	   Values:
	    Kelvin value.
	*}
	 cdREL_SET_COLOR_MATRIX				        =$00001200;
	{* Color matrix.
	       Attribute : Depends on the camera model.

⌨️ 快捷键说明

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