Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
d64d7608
Commit
d64d7608
authored
Oct 02, 2012
by
Alexander Smorkalov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS architecture support added. Native camera library built for MIPS device.
parent
11367e2c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
0 deletions
+11
-0
libnative_camera_r4.0.3.so
3rdparty/lib/mips/libnative_camera_r4.0.3.so
+0
-0
camera_build.conf
android/scripts/camera_build.conf
+1
-0
cmake_android_all_cameras.py
android/scripts/cmake_android_all_cameras.py
+2
-0
cmake_android_mips.sh
android/scripts/cmake_android_mips.sh
+8
-0
No files found.
3rdparty/lib/mips/libnative_camera_r4.0.3.so
0 → 100644
View file @
d64d7608
File added
android/scripts/camera_build.conf
View file @
d64d7608
...
...
@@ -10,6 +10,7 @@ native_camera_r3.0.1; x86; 9; /home/alexander/Projects/AndroidSource/3.
native_camera_r4
.
0
.
3
;
armeabi
;
14
; /
home
/
alexander
/
Projects
/
AndroidSource
/
4
.
0
.
3
native_camera_r4
.
0
.
3
;
armeabi
-
v7a
;
14
; /
home
/
alexander
/
Projects
/
AndroidSource
/
4
.
0
.
3
native_camera_r4
.
0
.
3
;
x86
;
14
; /
home
/
alexander
/
Projects
/
AndroidSource
/
4
.
0
.
3
native_camera_r4
.
0
.
3
;
mips
;
14
; /
home
/
alexander
/
Projects
/
AndroidSource
/
4
.
0
.
3
_
mips
native_camera_r4
.
0
.
0
;
armeabi
;
14
; /
home
/
alexander
/
Projects
/
AndroidSource
/
4
.
0
.
0
native_camera_r4
.
0
.
0
;
armeabi
-
v7a
;
14
; /
home
/
alexander
/
Projects
/
AndroidSource
/
4
.
0
.
0
native_camera_r4
.
1
.
1
;
armeabi
;
14
; /
home
/
alexander
/
Projects
/
AndroidSource
/
4
.
1
.
1
...
...
android/scripts/cmake_android_all_cameras.py
View file @
d64d7608
...
...
@@ -32,6 +32,8 @@ for s in ConfFile.readlines():
shutil
.
rmtree
(
os
.
path
.
join
(
AndroidTreeRoot
,
"out"
,
"target"
,
"product"
,
"generic"
,
"system"
),
ignore_errors
=
True
)
if
(
Arch
==
"x86"
):
shutil
.
copytree
(
os
.
path
.
join
(
AndroidTreeRoot
,
"bin_x86"
,
"system"
),
os
.
path
.
join
(
AndroidTreeRoot
,
"out"
,
"target"
,
"product"
,
"generic"
,
"system"
))
elif
(
Arch
==
"mips"
):
shutil
.
copytree
(
os
.
path
.
join
(
AndroidTreeRoot
,
"bin_mips"
,
"system"
),
os
.
path
.
join
(
AndroidTreeRoot
,
"out"
,
"target"
,
"product"
,
"generic"
,
"system"
))
else
:
shutil
.
copytree
(
os
.
path
.
join
(
AndroidTreeRoot
,
"bin_arm"
,
"system"
),
os
.
path
.
join
(
AndroidTreeRoot
,
"out"
,
"target"
,
"product"
,
"generic"
,
"system"
))
os
.
chdir
(
BuildDir
)
...
...
android/scripts/cmake_android_mips.sh
0 → 100755
View file @
d64d7608
#!/bin/sh
cd
`
dirname
$0
`
/..
mkdir
-p
build_mips
cd
build_mips
cmake
-DANDROID_ABI
=
mips
-DCMAKE_TOOLCHAIN_FILE
=
../android.toolchain.cmake
$@
../..
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