os/linux-2.6-tag--devboard-R2_10-4/arch/cris/arch-v32/drivers/elphel/exif.h

Go to the documentation of this file.
00001 #ifndef __F_EXIF__H_
00002 #define __F_EXIF__H_
00003 
00004 extern unsigned char exif_header[];
00005 int exif_header_length(void);
00006 
00007 #define EXIF_OFFSET     4
00008 
00009 #define EXIF_FIRMWARE           0xC4
00010 #define EXIF_FIRMWARE_LEN       27
00011 
00012 //#define EXIF_DATE_TIME                0x7A
00013 #define EXIF_DATE_TIME          0xE0
00014 #define EXIF_DATE_TIME_LEN      20
00015 
00016 //#define EXIF_ARTIST           0x8E
00017 #define EXIF_ARTIST             0xF4
00018 #define EXIF_ARTIST_LEN 18
00019 
00020 //#define EXIF_DATE_TIME_OR             0xCA
00021 #define EXIF_DATE_TIME_OR               0x0138
00022 #define EXIF_DATE_TIME_OR_LEN   20
00023 
00024 //#define EXIF_SUBSEC_OR                0xDE
00025 #define EXIF_SUBSEC_OR          0x014C
00026 #define EXIF_SUBSEC_OR_LEN      7
00027 
00028 //#define EXIF_EXP              0xE6
00029 #define EXIF_EXP                0x0130
00030 #define EXIF_EXP_LEN    8
00031 
00032 #define EXIF_IMAGE_ID           0x6E
00033 #define EXIF_IMAGE_ID_LEN       64
00034 
00035 struct exif_desc_t {
00036         unsigned char date_time[EXIF_DATE_TIME_LEN];
00037         unsigned char date_time_or[EXIF_DATE_TIME_OR_LEN];
00038         unsigned char subsec[EXIF_SUBSEC_OR_LEN];
00039         unsigned char artist[EXIF_ARTIST_LEN];
00040         unsigned char firmware[EXIF_FIRMWARE_LEN];
00041         unsigned long exp[2];
00042 };
00043 extern struct exif_desc_t exif_desc;
00044 
00045 #endif //__F_EXIF__H_

Generated on Fri Nov 28 00:06:23 2008 for elphel by  doxygen 1.5.1