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
e90f197b
Commit
e90f197b
authored
Dec 27, 2010
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merged fix for x64 MSVC compile errors in highgui into trunk
parent
be38864d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
CMakeLists.txt
modules/highgui/CMakeLists.txt
+1
-1
cap_dshow.cpp
modules/highgui/src/cap_dshow.cpp
+1
-0
utils.cpp
modules/imgproc/src/utils.cpp
+6
-6
No files found.
modules/highgui/CMakeLists.txt
View file @
e90f197b
...
...
@@ -257,7 +257,7 @@ set_target_properties(${the_target} PROPERTIES
)
if
(
MSVC
)
set_target_properties
(
${
the_target
}
PROPERTIES LINK_FLAGS
"/NODEFAULTLIB:atlthunk.lib"
)
set_target_properties
(
${
the_target
}
PROPERTIES LINK_FLAGS
"/NODEFAULTLIB:atlthunk.lib
/NODEFAULTLIB:atlsd.lib
"
)
endif
(
MSVC
)
# Dependencies of this target:
...
...
modules/highgui/src/cap_dshow.cpp
View file @
e90f197b
...
...
@@ -184,6 +184,7 @@ CvCapture* cvCreateCameraCapture_DShow( int index )
}
#ifdef _MSC_VER
#pragma comment(lib, "strmiids.lib")
#if defined _M_X64
#pragma comment(lib, "videoInput64.lib")
#else
...
...
modules/imgproc/src/utils.cpp
View file @
e90f197b
...
...
@@ -74,8 +74,8 @@ CV_IMPL CvSeq* cvPointSeqFromMat( int seq_kind, const CvArr* arr,
namespace
cv
{
static
void
copyMakeBorder_8u
(
const
uchar
*
src
,
in
t
srcstep
,
Size
srcroi
,
uchar
*
dst
,
in
t
dststep
,
Size
dstroi
,
static
void
copyMakeBorder_8u
(
const
uchar
*
src
,
size_
t
srcstep
,
Size
srcroi
,
uchar
*
dst
,
size_
t
dststep
,
Size
dstroi
,
int
top
,
int
left
,
int
cn
,
int
borderType
)
{
const
int
isz
=
(
int
)
sizeof
(
int
);
...
...
@@ -155,8 +155,8 @@ static void copyMakeBorder_8u( const uchar* src, int srcstep, Size srcroi,
}
static
void
copyMakeConstBorder_8u
(
const
uchar
*
src
,
in
t
srcstep
,
Size
srcroi
,
uchar
*
dst
,
in
t
dststep
,
Size
dstroi
,
static
void
copyMakeConstBorder_8u
(
const
uchar
*
src
,
size_
t
srcstep
,
Size
srcroi
,
uchar
*
dst
,
size_
t
dststep
,
Size
dstroi
,
int
top
,
int
left
,
int
cn
,
const
uchar
*
value
)
{
int
i
,
j
;
...
...
@@ -205,14 +205,14 @@ void copyMakeBorder( const Mat& src, Mat& dst, int top, int bottom,
if
(
borderType
!=
BORDER_CONSTANT
)
copyMakeBorder_8u
(
src
.
data
,
src
.
step
,
src
.
size
(),
dst
.
data
,
dst
.
step
,
dst
.
size
(),
top
,
left
,
src
.
elemSize
(),
borderType
);
top
,
left
,
(
int
)
src
.
elemSize
(),
borderType
);
else
{
double
buf
[
4
];
scalarToRawData
(
value
,
buf
,
src
.
type
());
copyMakeConstBorder_8u
(
src
.
data
,
src
.
step
,
src
.
size
(),
dst
.
data
,
dst
.
step
,
dst
.
size
(),
top
,
left
,
src
.
elemSize
(),
(
uchar
*
)
buf
);
top
,
left
,
(
int
)
src
.
elemSize
(),
(
uchar
*
)
buf
);
}
}
...
...
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