Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-apps-camogm
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-apps-camogm
Commits
974633b6
Commit
974633b6
authored
Jun 23, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up includes
parent
5aea3da4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
97 deletions
+1
-97
camogm.c
camogm.c
+1
-19
camogm_jpeg.c
camogm_jpeg.c
+0
-17
camogm_kml.c
camogm_kml.c
+0
-20
camogm_mov.c
camogm_mov.c
+0
-21
camogm_ogm.c
camogm_ogm.c
+0
-20
No files found.
camogm.c
View file @
974633b6
...
@@ -102,33 +102,15 @@
...
@@ -102,33 +102,15 @@
*! Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
*! Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
*!
*!
*/
*/
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
#include <linux/limits.h>
#include <linux/fs.h>
#include <linux/fs.h>
//#include <ctype.h>
#include <sys/mman.h>
//#include <getopt.h>
#include <time.h>
#include <string.h>
#include <netinet/in.h>
/*little <-> big endian ?*/
#include <sys/mman.h>
/* mmap */
#include <sys/ioctl.h>
#include <sys/ioctl.h>
//#include <c313a.h>
#include <exifa.h>
#include <asm/byteorder.h>
//#include <ogg/ogg.h> // has to be before ogmstreams.h
//#include "ogmstreams.h"
#include "camogm_ogm.h"
#include "camogm_ogm.h"
#include "camogm_jpeg.h"
#include "camogm_jpeg.h"
#include "camogm_mov.h"
#include "camogm_mov.h"
...
...
camogm_jpeg.c
View file @
974633b6
...
@@ -18,32 +18,15 @@
...
@@ -18,32 +18,15 @@
/** @brief This define is needed to use lseek64 and should be set before includes */
/** @brief This define is needed to use lseek64 and should be set before includes */
#define _LARGEFILE64_SOURCE
#define _LARGEFILE64_SOURCE
//!Not all are needed, just copied from the camogm.c
#include <unistd.h>
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
//#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/types.h>
//#include <sys/socket.h>
#include <sys/stat.h>
//#include <ctype.h>
//#include <getopt.h>
//#include <time.h>
#include <string.h>
#include <string.h>
#include <netinet/in.h>
/*little <-> big endian ?*/
//#include <sys/mman.h> /* mmap */
//#include <sys/ioctl.h>
//#include <c313a.h>
//#include <asm/byteorder.h>
//#include <ogg/ogg.h> // has to be before ogmstreams.h
//#include "ogmstreams.h" // move it to <>?
#include "camogm_jpeg.h"
#include "camogm_jpeg.h"
int
camogm_init_jpeg
(
camogm_state
*
state
)
int
camogm_init_jpeg
(
camogm_state
*
state
)
...
...
camogm_kml.c
View file @
974633b6
...
@@ -35,33 +35,13 @@
...
@@ -35,33 +35,13 @@
*!
*!
*!
*!
*/
*/
//!Not all are needed, just copied from the camogm.c
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
//#include <ctype.h>
//#include <getopt.h>
#include <time.h>
#include <string.h>
#include <netinet/in.h>
/*little <-> big endian ?*/
#include <sys/mman.h>
/* mmap */
#include <sys/ioctl.h>
//#include <c313a.h>
#include <asm/byteorder.h>
#include <asm/byteorder.h>
//#include <ogg/ogg.h> // has to be before ogmstreams.h
//#include "ogmstreams.h" // move it to <>?
#include "camogm_kml.h"
#include "camogm_kml.h"
const
char
ExifDirFileName
[]
=
"/dev/exif_metadir"
;
const
char
ExifDirFileName
[]
=
"/dev/exif_metadir"
;
...
...
camogm_mov.c
View file @
974633b6
...
@@ -38,32 +38,11 @@
...
@@ -38,32 +38,11 @@
*! Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
*! Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
*!
*!
*/
*/
//!Not all are needed, just copied from the camogm.c
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
//#include <ctype.h>
//#include <getopt.h>
#include <time.h>
#include <string.h>
#include <netinet/in.h>
/*little <-> big endian ?*/
#include <sys/mman.h>
/* mmap */
#include <sys/ioctl.h>
//#include <c313a.h>
#include <asm/byteorder.h>
//#include <ogg/ogg.h> // has to be before ogmstreams.h
//#include "ogmstreams.h" // move it to <>?
#include "camogm_mov.h"
#include "camogm_mov.h"
...
...
camogm_ogm.c
View file @
974633b6
...
@@ -31,31 +31,11 @@
...
@@ -31,31 +31,11 @@
*! Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
*! Initial release of camogm - program to record video/image to the camera hard drive (or other storage)
*!
*!
*/
*/
//!Not all are needed, just copied from the camogm.c
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdlib.h>
#include <signal.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/uio.h>
#include <sys/uio.h>
#include <errno.h>
#include <errno.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/stat.h>
//#include <ctype.h>
//#include <getopt.h>
#include <time.h>
#include <string.h>
#include <netinet/in.h>
/*little <-> big endian ?*/
#include <sys/mman.h>
/* mmap */
#include <sys/ioctl.h>
//#include <c313a.h>
#include <asm/byteorder.h>
//#include <ogg/ogg.h> // has to be before ogmstreams.h
//#include "ogmstreams.h" // move it to <>?
#include "camogm_ogm.h"
#include "camogm_ogm.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment