12 #ifndef __PPI_GEOLOCATION_COMMON_H 13 #define __PPI_GEOLOCATION_COMMON_H 24 #define PPI_GEOBASE_MIN_HEADER_LEN 8 25 #define PPI_GEOBASE_VERSION_OFFSET 0 26 #define PPI_GEOBASE_LENGTH_OFFSET 2 27 #define PPI_GEOBASE_PRESENT_OFFSET 4 32 #define BITNO_32(x) (((x) >> 16) ? 16 + BITNO_16((x) >> 16) : BITNO_16((x))) 33 #define BITNO_16(x) (((x) >> 8) ? 8 + BITNO_8((x) >> 8) : BITNO_8((x))) 34 #define BITNO_8(x) (((x) >> 4) ? 4 + BITNO_4((x) >> 4) : BITNO_4((x))) 35 #define BITNO_4(x) (((x) >> 2) ? 2 + BITNO_2((x) >> 2) : BITNO_2((x))) 36 #define BITNO_2(x) (((x) & 2) ? 1 : 0) 37 #define BIT(n) (1 << n) 47 gdouble ppi_fixed3_7_to_gdouble(guint32 in);
48 gdouble ppi_fixed3_6_to_gdouble(guint32 in);
49 gdouble ppi_fixed6_4_to_gdouble(guint32 in);
54 gdouble ppi_ns_counter_to_gdouble(guint32 in);
58 PPI_GEOLOCATION_HARRIS = 0x00485253
59 } ppi_geolocation_appstr_num;