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
8d2a6316
Commit
8d2a6316
authored
Sep 09, 2016
by
Mikhail Karpenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move command structure declaration to uapi directory
parent
d336db3a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
17 deletions
+2
-17
Makefile
Makefile
+1
-1
camogm_jpeg.c
camogm_jpeg.c
+1
-16
No files found.
Makefile
View file @
8d2a6316
...
...
@@ -5,7 +5,7 @@ CONFIGS = qt_source
SRCS
=
camogm.c camogm_ogm.c camogm_jpeg.c camogm_mov.c camogm_kml.c camogm_read.c index_list.c
OBJS
=
camogm.o camogm_ogm.o camogm_jpeg.o camogm_mov.o camogm_kml.o camogm_read.o index_list.o
CFLAGS
+=
-Wall
-I
$(STAGING_KERNEL_DIR)
/include/elphel
CFLAGS
+=
-Wall
-I
$(STAGING_KERNEL_DIR)
/include/elphel
-I
$(STAGING_DIR_HOST)
/usr/include-uapi
LDLIBS
+=
-logg
-pthread
-lm
SYSCONFDIR
=
/etc/
...
...
camogm_jpeg.c
View file @
8d2a6316
...
...
@@ -28,25 +28,10 @@
#include <sys/types.h>
#include <string.h>
#include <c313a.h>
#include <elphel/ahci_cmd.h>
#include "camogm_jpeg.h"
/* this should be in system includes */
#define DRV_CMD_WRITE (1 << 0)
#define DRV_CMD_FINISH (1 << 1)
#define DRV_CMD_EXIF (1 << 2)
struct
frame_data
{
unsigned
int
sensor_port
;
int
cirbuf_ptr
;
int
jpeg_len
;
int
meta_index
;
int
cmd
;
};
const
char
sysfs_fname
[]
=
"/sys/devices/soc0/amba@0/80000000.elphel-ahci/write"
;
/* end of system includes */
int
camogm_init_jpeg
(
camogm_state
*
state
)
{
return
0
;
...
...
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