Commit f63324ac authored by Maksim Shabunin's avatar Maksim Shabunin

Fixed line_descriptor android build

parent 07a76464
...@@ -753,9 +753,9 @@ void BinaryDescriptorMatcher::Mihasher::query( UINT32* results, UINT32* numres, ...@@ -753,9 +753,9 @@ void BinaryDescriptorMatcher::Mihasher::query( UINT32* results, UINT32* numres,
} }
/* constructor 2 */ /* constructor 2 */
BinaryDescriptorMatcher::Mihasher::Mihasher( int _B, int _m ) BinaryDescriptorMatcher::Mihasher::Mihasher( int B_val, int _m )
{ {
B = _B; B = B_val;
B_over_8 = B / 8; B_over_8 = B / 8;
m = _m; m = _m;
b = (int) ceil( (double) B / m ); b = (int) ceil( (double) B / m );
...@@ -784,9 +784,9 @@ BinaryDescriptorMatcher::Mihasher::Mihasher( int _B, int _m ) ...@@ -784,9 +784,9 @@ BinaryDescriptorMatcher::Mihasher::Mihasher( int _B, int _m )
} }
/* K setter */ /* K setter */
void BinaryDescriptorMatcher::Mihasher::setK( int _K ) void BinaryDescriptorMatcher::Mihasher::setK( int K_val )
{ {
K = _K; K = K_val;
} }
/* desctructor */ /* desctructor */
...@@ -797,9 +797,9 @@ BinaryDescriptorMatcher::Mihasher::~Mihasher() ...@@ -797,9 +797,9 @@ BinaryDescriptorMatcher::Mihasher::~Mihasher()
} }
/* populate tables */ /* populate tables */
void BinaryDescriptorMatcher::Mihasher::populate( cv::Mat & _codes, UINT32 _N, int dim1codes ) void BinaryDescriptorMatcher::Mihasher::populate( cv::Mat & _codes, UINT32 N_val, int dim1codes )
{ {
N = _N; N = N_val;
codes = _codes; codes = _codes;
UINT64 * chunks = new UINT64[m]; UINT64 * chunks = new UINT64[m];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment