2011-01-12 07:42:14 +00:00
|
|
|
#ifndef ANDROID_HARDWARE_EXIFWRITER_H
|
|
|
|
#define ANDROID_HARDWARE_EXIFWRITER_H
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
uint32_t timestamp; /* seconds since 1/6/1980 */
|
2011-02-18 15:49:31 +00:00
|
|
|
double latitude; /* degrees, WGS ellipsoid */
|
|
|
|
double longitude; /* degrees */
|
2011-01-12 07:42:14 +00:00
|
|
|
int16_t altitude; /* meters */
|
|
|
|
} camera_position_type;
|
|
|
|
|
|
|
|
|
|
|
|
void writeExif( void *origData, void *destData , int origSize , uint32_t *resultSize, int orientation, camera_position_type *pt) ;
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|