apps/camogm2/camogm_kml.c File Reference

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <time.h>
#include <string.h>
#include <netinet/in.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <asm/elphel/c313a.h>
#include <asm/elphel/ext353.h>
#include <asm/byteorder.h>
#include <ogg/ogg.h>
#include "ogmstreams.h"
#include "camogm_kml.h"
#include "camogm.h"

Include dependency graph for camogm_kml.c:

Go to the source code of this file.

Functions

int camogm_init_kml (void)
 may add something - called first time format is changed to this one (only once) recording is stopped
void camogm_free_kml (void)
int camogm_start_kml (void)
int camogm_frame_kml (void)
int camogm_end_kml (void)

Variables

const char ExifDirFileName [] = "/dev/exif_metadir"
 Not all are needed, just copied from the camogm.c.


Function Documentation

int camogm_end_kml ( void   ) 

Definition at line 308 of file camogm_kml.c.

References state.

int camogm_frame_kml ( void   ) 

Definition at line 146 of file camogm_kml.c.

References CAMOGM_FORMAT_JPEG, CAMOGM_FRAME_FILE_ERR, D0, D1, D2, debug_file, EXIF_COMPASS_PITCH_ASCII, EXIF_COMPASS_ROLL_ASCII, Exif_GPSInfo_CompassDirection, Exif_GPSInfo_CompassDirection_Index, Exif_GPSInfo_CompassPitch, Exif_GPSInfo_CompassPitch_Index, Exif_GPSInfo_CompassPitchRef, Exif_GPSInfo_CompassPitchRef_Index, Exif_GPSInfo_CompassRoll, Exif_GPSInfo_CompassRoll_Index, Exif_GPSInfo_CompassRollRef, Exif_GPSInfo_CompassRollRef_Index, Exif_GPSInfo_GPSAltitude, Exif_GPSInfo_GPSAltitude_Index, Exif_GPSInfo_GPSAltitudeRef, Exif_GPSInfo_GPSAltitudeRef_Index, Exif_GPSInfo_GPSDateStamp, Exif_GPSInfo_GPSDateStamp_Index, Exif_GPSInfo_GPSLatitude, Exif_GPSInfo_GPSLatitude_Index, Exif_GPSInfo_GPSLatitudeRef, Exif_GPSInfo_GPSLatitudeRef_Index, Exif_GPSInfo_GPSLongitude, Exif_GPSInfo_GPSLongitude_Index, Exif_GPSInfo_GPSLongitudeRef, Exif_GPSInfo_GPSLongitudeRef_Index, Exif_GPSInfo_GPSTimeStamp, Exif_GPSInfo_GPSTimeStamp_Index, ip, memcpy(), and state.

void camogm_free_kml ( void   ) 

Definition at line 68 of file camogm_kml.c.

int camogm_init_kml ( void   ) 

may add something - called first time format is changed to this one (only once) recording is stopped

Definition at line 65 of file camogm_kml.c.

int camogm_start_kml ( void   ) 

Definition at line 89 of file camogm_kml.c.

References CAMOGM_FRAME_FILE_ERR, D0, D2, debug_file, Exif_GPSInfo_CompassDirection, Exif_GPSInfo_CompassDirection_Index, Exif_GPSInfo_CompassDirectionRef, Exif_GPSInfo_CompassDirectionRef_Index, Exif_GPSInfo_CompassPitch, Exif_GPSInfo_CompassPitch_Index, Exif_GPSInfo_CompassPitchRef, Exif_GPSInfo_CompassPitchRef_Index, Exif_GPSInfo_CompassRoll, Exif_GPSInfo_CompassRoll_Index, Exif_GPSInfo_CompassRollRef, Exif_GPSInfo_CompassRollRef_Index, Exif_GPSInfo_GPSAltitude, Exif_GPSInfo_GPSAltitude_Index, Exif_GPSInfo_GPSAltitudeRef, Exif_GPSInfo_GPSAltitudeRef_Index, Exif_GPSInfo_GPSDateStamp, Exif_GPSInfo_GPSDateStamp_Index, Exif_GPSInfo_GPSLatitude, Exif_GPSInfo_GPSLatitude_Index, Exif_GPSInfo_GPSLatitudeRef, Exif_GPSInfo_GPSLatitudeRef_Index, Exif_GPSInfo_GPSLongitude, Exif_GPSInfo_GPSLongitude_Index, Exif_GPSInfo_GPSLongitudeRef, Exif_GPSInfo_GPSLongitudeRef_Index, Exif_GPSInfo_GPSTimeStamp, Exif_GPSInfo_GPSTimeStamp_Index, Exif_Photo_DateTimeOriginal, Exif_Photo_DateTimeOriginal_Index, ExifDirFileName, ExifKmlNumber, memcpy(), read, and state.


Variable Documentation

const char ExifDirFileName[] = "/dev/exif_metadir"

Not all are needed, just copied from the camogm.c.

*************************************************************************** ! FILE NAME : camogm_kml.c ! DESCRIPTION: Provides writing to series of individual JPEG files for camogm ! Copyright (C) 2007 Elphel, Inc. ! -----------------------------------------------------------------------------** ! This program is free software: you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation, either version 3 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program. If not, see <http://www.gnu.org/licenses/>. ! -----------------------------------------------------------------------------** ! !

Log
camogm_kml.c,v
! Revision 1.1 2008/05/02 12:45:58 spectr_rain ! initial revision with the sound support ! ! Revision 1.2 2008/04/13 21:05:20 elphel ! Fixing KML generation ! ! Revision 1.1 2008/04/11 23:06:52 elphel ! files to handle KML generation ! !

Definition at line 62 of file camogm_kml.c.


Generated on Thu Aug 7 16:19:27 2008 for elphel by  doxygen 1.5.1