apps/garminusb2nmea-0.12a/exifgen.h

Go to the documentation of this file.
00001 /*
00002 exifgen.h
00003 */
00004 #ifndef EXIFGEN_H
00005 #define EXIFGEN_H
00006 #include <asm/elphel/exifa.h>
00007 #include <asm/byteorder.h> //endians
00008 
00009 #include "garmin.h"
00010 
00011 #define KNOTS_TO_KMH    1.852
00012 #define G_PI                    3.14159265358979324
00013 #define rad2deg(x)              ((x) * 180.0 / G_PI)
00014 #define EXIF_GPS_MIN_DENOM     10000 //4 digits after decimal point
00015 #define EXIF_GPS_METERS_DENOM     10 //1 digit after decimal point
00016 #define EXIF_GPS_TIMESEC_DENOM  1000 //3 digits after decimal point
00017 void exif_init_meta(struct meta_GPSInfo_t *meta);
00018 int exif_gen(D800_Pvt_Data_Type *pvt, cpo_sat_data *sat, struct meta_GPSInfo_t *meta);
00019 
00020 #endif

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