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
069844cd
Commit
069844cd
authored
Jan 16, 2013
by
Andrey Kamaev
Committed by
OpenCV Buildbot
Jan 16, 2013
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #300 from taka-no-me:java_64bit
parents
c49b23d4
bf3c2b0b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
converters.cpp
modules/java/generator/src/cpp/converters.cpp
+1
-1
utils+Converters.java
modules/java/generator/src/java/utils+Converters.java
+1
-1
No files found.
modules/java/generator/src/cpp/converters.cpp
View file @
069844cd
...
...
@@ -219,7 +219,7 @@ void Mat_to_vector_Mat(cv::Mat& mat, std::vector<cv::Mat>& v_mat)
for
(
int
i
=
0
;
i
<
mat
.
rows
;
i
++
)
{
Vec
<
int
,
2
>
a
=
mat
.
at
<
Vec
<
int
,
2
>
>
(
i
,
0
);
long
long
addr
=
(((
long
long
)
a
[
0
])
<<
32
)
|
a
[
1
]
;
long
long
addr
=
(((
long
long
)
a
[
0
])
<<
32
)
|
(
a
[
1
]
&
0xffffffff
)
;
Mat
&
m
=
*
(
(
Mat
*
)
addr
);
v_mat
.
push_back
(
m
);
}
...
...
modules/java/generator/src/java/utils+Converters.java
View file @
069844cd
...
...
@@ -262,7 +262,7 @@ public class Converters {
int
[]
buff
=
new
int
[
count
*
2
];
m
.
get
(
0
,
0
,
buff
);
for
(
int
i
=
0
;
i
<
count
;
i
++)
{
long
addr
=
(((
long
)
buff
[
i
*
2
])
<<
32
)
|
((
long
)
buff
[
i
*
2
+
1
]
);
long
addr
=
(((
long
)
buff
[
i
*
2
])
<<
32
)
|
((
(
long
)
buff
[
i
*
2
+
1
])
&
0xffffffff
L
);
mats
.
add
(
new
Mat
(
addr
));
}
}
...
...
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