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

📄 cdtype.h

📁 能数码相机开发包Canon Digital Camera SDK 里面包括CSDK的安装程序,CSDK的VC++开发示例,以及开发包的用户指南对于有兴趣或需要开发具备数码相机拍照功能电子档案
💻 H
📖 第 1 页 / 共 5 页
字号:
	       Attribute : Read only
	       Size/Type : 2 / cdColorMatrix
	*/
	#define cdIMG_PROP_MODIFIED_DIGITAL_GAIN		0x00007600
	/* Modified digital exposure compensation value (x10)
	       Attribute : Read only
	       Size/Type : 2 / cdInt16
	*/
	#define cdIMG_PROP_MODIFIED_WHITE_BALANCE		0x00007700
	/* Modified white balance setting.
	       Attribute : Read only
	       Size/Type : 2 / cdWBLightSrc
	*/
	#define cdIMG_PROP_COLORSPACE_DCF				0x00007800
	/* Color space  (Exif)
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_BODY_ID_DESC					0x00007900
	/* Display format of the camera body ID number got by cdIMG_PROP_BODY_ID.
	       Attribute : Read only
	       Size/Type : 4 / cdUInt32
	*/
	#define cdIMG_PROP_FILE_TYPE_ID					0x00007a00
	/* File type ID.
	       Attribute : Read only
	       Size/Type : 4 / cdUInt32
	*/
	#define cdIMG_PROP_MAKER						0x00008000
	/* The manufacturer of the camera.
	       Attribute : Read only
	       Size/Type : any / cdChar
	   Note:
	    NOT NULL termnated.
	*/
	#define cdIMG_PROP_CUSTOM_FUNC1_EX				0x00008100
	/* Custom function settings. 
	       Attribute : Read only
	       Size/Type : any (depend on camera model) / cdUInt16
	*/
	#define cdIMG_PROP_CUSTOM_FUNC2_EX				0x00008200
	/* Custom function settings. 
	       Attribute : Read only
	       Size/Type : any (depend on camera model) / cdUInt16
	*/
	#define cdIMG_PROP_LOSSLESS_ROTATION_ANGLE		0x08008300
	/* Lossless rotation angle. (0, 90, 180, 270)
	       Attribute : Read/Write
	       Size/Type : 4 / cdUInt32
	*/
	#define cdIMG_PROP_INPUT_COLOR_TEMP				0x00008400
	/* WB color temperature.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_COLORSPACE_EX				0x00008500
	/* Color space
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    1: sRGB  2: Adobe RGB  0xffff: Unknown
	*/
	#define cdIMG_PROP_JPEG_SIZE_IN_CRW				0x00008600
	/* Size of the Jpeg data recorded in the CRAW file.
	       Attribute : Read only
	       Size/Type : 10 / cdUInt16
	   Values:
	    Bytes 0-1  Length of this property data.
		 Bytes 2-3  Quality setting.
		 Bytes 4-5  Data size.
		 Bytes 6-7  Width in pixels.
		 Bytes 8-9	Height in pixels.
	*/
	#define cdIMG_PROP_FOCUS_POSITION3				0x00008700
	/* Focus point and AF point information.
	       Attribute : Read only
	       Size/Type : any / any
	   Values:
		 (Order)   (Type)     (Name)
		    1     cdUInt16    Frames 
		    2     cdUInt16    FocusFrames
		    3     cdUInt16    ImageWidth
		    4     cdUint16    ImageHeight
		    5	    cdUInt16    FrameWDenominator
		    6     cdUInt16    FrameHDenominator
		    7     cdUInt16    FrameWNumerator
		    8     cdUInt16    FrameHNumerator
		    9     cdInt16[]   FrameXNumerator
		   10     cdInt16[]   FrameYNumerator
		   11     cdUInt16[]  JustFocusFramePattern
		   12     cdUInt16    JustFocusFrame

			
			Frames:
			     Represents the total number of elements contained in the array 
				  of the FrameXNumerator and FrameYNumerator.

			FocusFrames:
				  Represents the number of effective arrangement of the 
				  FrameXNumerator and FrameYNumerator array.

         ----------

         The width of the AF frame to the image (Wf) can be get by the next formula:
            Wf = ImageWidth * (FrameWNumerator/FrameWDenominator)


         The height of the AF frame to the image (Hf) can be get by the next formula:
            Wf = ImageHeight * (FrameHNumerator/FrameHDenominator)

         X coordinates of the focused frame to the image (fx) can be get by the next formula:
            fx = ImageWidth / FrameWDenominator * (FrameXNumerator + (ImageWidth - FrameWNumerator)/2)

         Y coordinates of the focused frame to the image (fy)  can be get by the next formula:
            fy = ImageHeight / FrameHDenominator * (FrameYNumerator + (ImageHeight - FrameHNumerator)/2)
	*/
	#define cdIMG_PROP_WHITEPOINT_DCF				0x00008800
	/* Chromaticities of reference whitepoint. 
	       Attribute : Read only
	       Size/Type : 16 / cdURational[2]
	   Values:
        Chromaticities of (X, Y)
	*/
	#define cdIMG_PROP_PRIMARYCHROMATICITIES_DCF	0x00008900
	/* Chromaticities of the three primary colors. 
	       Attribute : Read only
	       Size/Type : 48 / cdURational[6]
	   Values:
	 	 R chromaticities: (X, Y)
		 G chromaticities: (X, Y)
		 B chromaticities: (X, Y)
	*/
	#define cdIMG_PROP_YCBCRCOEFFICIENTS_DCF		0x00008a00
	/* Color transform matrix coefficients for going from RGB to YCbCr image data.
	       Attribute : Read only
	       Size/Type : 24 / cdURational[3]
	*/
	#define cdIMG_PROP_GAMMA_DCF					0x00008b00
	/* Gamma compensation coefficient used by the transformation function in playback.
	       Attribute : Read only
	       Size/Type : 8 / cdURational
	*/
	#define cdIMG_PROP_INTER_OPERABILITY_FOOTER		0x00008c00
	/* Value for internal use.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_SUPER_MACRO					0x00008d00
	/* Super macro setting.
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    0: non super macro   1: super macro   0xffff: unknown  
	*/
	#define cdIMG_PROP_APP_SET_PARAM				0x00008e00
	/* Values for internal use.
	       Attribute : Read only
	       Size/Type : any / any
	*/
	#define cdIMG_PROP_TOTAL_FRAME_32				0x00008f00
	/* The number of total frames.
	       Attribute : Read only
	       Size/Type : 4 / cdUInt32
	*/
	#define cdIMG_PROP_FRAME_RATE_EX				0x00009800
	/* Frame rate (frames/sec)
	 	   Attribute : Read only
	       Size/Type : 8 / cdURational
	*/

   /*----------------------------------------------------------                  
	  Image Data Property for EOS
  */
	#define cdIMG_PROP_WB_BRACKET_MODE			0x00009100
	/* WhiteBalance Bracket mode
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	   Values:
	    0:non-WBbracket	1:WBbracket(shiftAB)	2:WBbracket(shiftGM)	0xffff:Unknown
	*/
	#define cdIMG_PROP_WB_ACTBRACKET_VALUE_AB		0x00009200
	/* WhiteBalance ActBracketAB value
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_WB_ACTBRACKET_VALUE_GM		0x00009300
	/* WhiteBalance ActBracketGM value
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_WB_BALANCESHIFT_AB			0x00009400
	/* WhiteBalance shiftAB value
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_WB_BALANCESHIFT_GM			0x00009500
	/* WhiteBalance shiftGM value
	       Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/

  /*----------------------------------------------------------                
	  Thumbnail Image Data Property 
  */
	#define cdIMG_PROP_THUMB_FORMAT					0x10000001
	/* Image data format.
	 	   Attribute : Read only
	       Size/Type : sizeof(cdImageFormat) / cdImageFormat
	*/
	#define cdIMG_PROP_THUMB_COMPONENT_BIT_DEPTH	0x10000002
	/* The number of bits per color component (such as 8).
	 	   Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*/
	#define cdIMG_PROP_THUMB_COLOR_BIT_DEPTH		0x10000003
	/* The number of bits per color (such as 24).
	 	   Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*/
	#define cdIMG_PROP_THUMB_WIDHT					0x10000004
	/* The width in pixels.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_THUMB_HEIGHT					0x10000005
	/* The height in pixels.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_THUMB_DENSITY_X				0x10000006
	/* The horizontal dots per inch.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_THUMB_DENSITY_Y				0x10000007
	/* The vertical dots per inch.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/

  /*----------------------------------------------------------                  
	  Picture Image Data (full resolution image data) Property 
  */
	#define cdIMG_PROP_PICT_FORMAT					0x20000001
	/* Image data format.
	 	   Attribute : Read only
	       Size/Type : sizeof(cdImageFormat) / cdImageFormat
	*/
	#define cdIMG_PROP_PICT_COMPONENT_BIT_DEPTH		0x20000002
	/*  The number of bits per color component (such as 8).
	 	   Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*/
	#define cdIMG_PROP_PICT_COLOR_BIT_DEPTH			0x20000003
	/* The number of bits per color (such as 24).
	 	   Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*/
	#define cdIMG_PROP_PICT_WIDHT					0x20000004
	/* The width in pixels.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_PICT_HEIGHT					0x20000005
	/* The height in pixels.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_PICT_DENSITY_X				0x20000006
	/* The horizontal dots per inch.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_PICT_DENSITY_Y				0x20000007
	/* The vertical dots per inch.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_PICT_NEED_DEVELOP			0x20000008	
	/* Indicates that the picture image data needs development. 
	   If this property is TRUE, client applications should develop
	   the picture image data by CDGetDevelopedImageData().
	 	   Attribute : Read only
	       Size/Type : sizeof(cdBoolean) / cdBoolean
	*/
	#define cdIMG_PROP_PICT_COMPRESSION_RATIO		0x20000010
	/* The compression ratio compared to 24-bit RGB.
	 	   Attribute : Read only
	       Size/Type : 4 / cdFloat
	*/
	#define cdIMG_PROP_PICT_COMPRESSION_TYPE		0x20000011
	/* The type of compression used on the image data.
	 	   Attribute : Read only
	       Size/Type : 1 / cdCompressionType
	*/

  /*----------------------------------------------------------                  
	  Movie Data Property 
  */
	#define cdIMG_PROP_MOVIE_FORMAT					0x30000001
	/* Movie data format.
	 	   Attribute : Read only
	       Size/Type : sizeof(cdImageFormat) / cdImageFormat
	*/
	#define cdIMG_PROP_MOVIE_COMPONENT_BIT_DEPTH	0x30000002
	/* The number of bits per color component (such as 8).
	 	   Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*/
	#define cdIMG_PROP_MOVIE_COLOR_BIT_DEPTH		0x30000003
	/* The number of bits per color (such as 24).
	 	   Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*/
	#define cdIMG_PROP_MOVIE_WIDHT					0x30000004
	/* Width in pixels.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_MOVIE_HEIGHT					0x30000005
	/* Height in pixels.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_MOVIE_DENSITY_X				0x30000006
	/* The horizontal dots per inch.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_MOVIE_DENSITY_Y				0x30000007
	/* The vertical dots per inch.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_MOVIE_FRAME_RATE				0x30000009
	/* Frame rate (frames/sec)
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_MOVIE_TOTAL_FRAME			0x3000000a
	/* The number of total frames.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/
	#define cdIMG_PROP_MOVIE_CREATOR_VERSION		0x3000000b
	/* Creator version that is the version number of the movie 
	   file generated by the Canon Digital Camera.
	 	   Attribute : Read only
	       Size/Type : 2 / cdUInt16
	*/

  /*----------------------------------------------------------                  
	  Sound Data Property 
  */
	#define cdIMG_PROP_SOUND_FORMAT					0x40000001
	/* Sound data format.
	 	   Attribute : Read only
	       Size/Type : sizeof(cdImageFormat) / cdImageFormat
	*/
	#define cdIMG_PROP_SOUND_SOUND_DURATION			0x4000000c
	/* The duration in seconds.
	 	   Attribute : Read only
	       Size/Type : 4 / cdFloat
	*/
	#define cdIMG_PROP_SOUND_SAMPLING_FREQUENCY 	0x4000000d
	/* The number of samples per second.
	 	   Attribute : Read only
	       Size/Type : 4 / cdUInt32
	*/
	#define cdIMG_PROP_SOUND_SOUND_CHANNELS			0x4000000e
	/* The number of interleaved channels.
	 	   Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*/
	#define cdIMG_PROP_SOUND_BITS_PER_SAMPLE		0x4000000f
	/* The number of bits per sample.
	 	   Attribute : Read only
	       Size/Type : 1 / cdUInt8
	*/

/* cdBaseImagePropertyID 
*/
typedef cdImagePropertyID cdBaseImagePropertyID;  
	#define cdBASE_IMG_PROP_FORMAT				0x00000001

⌨️ 快捷键说明

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