Permalink
Browse files

[PATCH] add platform information

  • Loading branch information...
BuddyZhang1 committed Mar 1, 2017
1 parent 6171580 commit bfe659f3e719ca9de3b227571adf94cbfb5141e5
Showing with 177 additions and 103 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 Makefile
  3. +1 −0 OrangePi_Camera.conf
  4. +8 −1 README.md
  5. +1 −0 include/OrangePiV4L2/OrangePiV4L2.h
  6. +1 −0 include/OrangePiV4L2/OrangePi_Config.h
  7. +138 −102 src/OrangePi_Configure.c
  8. +26 −0 src/OrangePi_Configure.l
View
@@ -3,3 +3,4 @@
*.so
OrangePi_Capture
*.jpg
*.swp
View
@@ -4,6 +4,7 @@
#
# Camera list:
# gc2035
# gc0309
CC=gcc
FLAGS= -I./include -ljpeg
View
@@ -1,5 +1,6 @@
# GC0309
Platform:=RDA8810
Camera_Name:=GC0309
Device_Name:=/dev/video0
Capture_Format:=V4L2_PIX_FMT_YUYV
View
@@ -1,9 +1,16 @@
OrangePi Camera
-------------------------------------------------
* Platform
OrangePi 2G-IOT, OrangePi PC2,
* System
Ubuntu
* Prepare toolchain
```
sudo apt-get install git make gcc libjpeg8-dev
sudo apt-get install git make gcc libjpeg8-dev flex
```
* Doownload Source Code
@@ -43,6 +43,7 @@ struct OrangePi_v4l2_device {
};
struct OrangePi_v4l2_configure {
char *Platform;
char *Camera_name;
char *Device_name;
int Capture_width;
@@ -15,5 +15,6 @@ int OrangePi_Get_Capture_Format(void);
int OrangePi_Get_Capture_FPS(void);
int OrangePi_Get_Buffer_Number(void);
int OrangePi_Get_Capture_Timeout(void);
char *OrangePi_Get_Platform(void);
#endif
Oops, something went wrong.

0 comments on commit bfe659f

Please sign in to comment.