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
eaaba646
Commit
eaaba646
authored
Feb 22, 2018
by
Maksim Shabunin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10919 from mshabunin:fix-static-9
parents
e851a41d
92e9d4ec
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
9 additions
and
7 deletions
+9
-7
OpenCVPCHSupport.cmake
cmake/OpenCVPCHSupport.cmake
+1
-1
filesystem.cpp
modules/core/src/utils/filesystem.cpp
+1
-0
dnn.cpp
modules/dnn/src/dnn.cpp
+1
-1
pooling_layer.cpp
modules/dnn/src/layers/pooling_layer.cpp
+1
-1
grfmt_tiff.cpp
modules/imgcodecs/src/grfmt_tiff.cpp
+4
-3
ann_mlp.cpp
modules/ml/src/ann_mlp.cpp
+1
-1
container_avi.cpp
modules/videoio/src/container_avi.cpp
+0
-0
No files found.
cmake/OpenCVPCHSupport.cmake
View file @
eaaba646
...
...
@@ -211,7 +211,7 @@ MACRO(ADD_PRECOMPILED_HEADER_TO_TARGET _targetName _input _pch_output_to_use )
GET_TARGET_PROPERTY
(
_sources
${
_targetName
}
SOURCES
)
FOREACH
(
src
${
_sources
}
)
if
(
NOT
"
${
src
}
"
MATCHES
"
\\
.mm$"
)
if
(
NOT
"
${
src
}
"
MATCHES
"
\\
.mm$"
AND NOT
"
${
src
}
"
MATCHES
"
\\
.rc$"
)
get_source_file_property
(
_flags
"
${
src
}
"
COMPILE_FLAGS
)
get_source_file_property
(
_flags2
"
${
src
}
"
COMPILE_DEFINITIONS
)
if
(
NOT _flags AND NOT _flags2
)
...
...
modules/core/src/utils/filesystem.cpp
View file @
eaaba646
...
...
@@ -25,6 +25,7 @@
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
#undef NOMINMAX
#define NOMINMAX
#include <windows.h>
#include <direct.h>
...
...
modules/dnn/src/dnn.cpp
View file @
eaaba646
...
...
@@ -338,7 +338,7 @@ struct LayerPin
struct
LayerData
{
LayerData
()
:
id
(
-
1
),
flag
(
0
)
{}
LayerData
()
:
id
(
-
1
),
skip
(
false
),
flag
(
0
)
{}
LayerData
(
int
_id
,
const
String
&
_name
,
const
String
&
_type
,
LayerParams
&
_params
)
:
id
(
_id
),
name
(
_name
),
type
(
_type
),
params
(
_params
),
skip
(
false
),
flag
(
0
)
{
...
...
modules/dnn/src/layers/pooling_layer.cpp
View file @
eaaba646
...
...
@@ -270,7 +270,7 @@ public:
int
poolingType
;
float
spatialScale
;
PoolingInvoker
()
:
src
(
0
),
rois
(
0
),
dst
(
0
),
mask
(
0
),
nstripes
(
0
),
PoolingInvoker
()
:
src
(
0
),
rois
(
0
),
dst
(
0
),
mask
(
0
),
avePoolPaddedArea
(
false
),
nstripes
(
0
),
computeMaxIdx
(
0
),
poolingType
(
MAX
),
spatialScale
(
0
)
{}
static
void
run
(
const
Mat
&
src
,
const
Mat
&
rois
,
Mat
&
dst
,
Mat
&
mask
,
Size
kernel
,
...
...
modules/imgcodecs/src/grfmt_tiff.cpp
View file @
eaaba646
...
...
@@ -587,12 +587,13 @@ bool TiffDecoder::readData_32FC1(Mat& img)
tsize_t
scanlength
=
TIFFScanlineSize
(
tif
);
tdata_t
buf
=
_TIFFmalloc
(
scanlength
);
float
*
data
;
bool
result
=
true
;
for
(
uint32
row
=
0
;
row
<
img_height
;
row
++
)
{
if
(
TIFFReadScanline
(
tif
,
buf
,
row
)
!=
1
)
{
close
()
;
return
false
;
result
=
false
;
break
;
}
data
=
(
float
*
)
buf
;
for
(
uint32
i
=
0
;
i
<
img_width
;
i
++
)
...
...
@@ -603,7 +604,7 @@ bool TiffDecoder::readData_32FC1(Mat& img)
_TIFFfree
(
buf
);
close
();
return
true
;
return
result
;
}
//////////////////////////////////////////////////////////////////////////////////////////
...
...
modules/ml/src/ann_mlp.cpp
View file @
eaaba646
...
...
@@ -92,7 +92,7 @@ protected:
double
varTmp
;
int
index
;
public
:
SimulatedAnnealingANN_MLP
(
ml
::
ANN_MLP
&
x
,
const
Ptr
<
ml
::
TrainData
>&
d
)
:
nn
(
x
),
data
(
d
)
SimulatedAnnealingANN_MLP
(
ml
::
ANN_MLP
&
x
,
const
Ptr
<
ml
::
TrainData
>&
d
)
:
nn
(
x
),
data
(
d
)
,
varTmp
(
0.0
),
index
(
0
)
{
initVarMap
();
}
...
...
modules/videoio/src/container_avi.cpp
View file @
eaaba646
This diff is collapsed.
Click to expand it.
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