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
09dec4e8
Commit
09dec4e8
authored
Nov 01, 2012
by
marina.kolpakova
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #124 from branch taka-no-me:vs8-vs9-tbb
parents
334f6344
fd490936
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
36 additions
and
18 deletions
+36
-18
internal.hpp
modules/core/include/opencv2/core/internal.hpp
+1
-10
parallel.cpp
modules/core/src/parallel.cpp
+8
-0
rand.cpp
modules/core/src/rand.cpp
+9
-1
system.cpp
modules/core/src/system.cpp
+8
-0
precomp.hpp
modules/highgui/src/precomp.hpp
+8
-5
window_w32.cpp
modules/highgui/src/window_w32.cpp
+1
-1
ts_perf.hpp
modules/ts/include/opencv2/ts/ts_perf.hpp
+1
-1
No files found.
modules/core/include/opencv2/core/internal.hpp
View file @
09dec4e8
...
@@ -59,16 +59,7 @@
...
@@ -59,16 +59,7 @@
# endif
# endif
#endif
#endif
#if defined WIN32 || defined WINCE
#if !defined WIN32 && !defined WINCE
# ifndef _WIN32_WINNT // This is needed for the declaration of TryEnterCriticalSection in winbase.h with Visual Studio 2005 (and older?)
# define _WIN32_WINNT 0x0400 // http://msdn.microsoft.com/en-us/library/ms686857(VS.85).aspx
# endif
# include <windows.h>
# undef small
# undef min
# undef max
# undef abs
#else
# include <pthread.h>
# include <pthread.h>
#endif
#endif
...
...
modules/core/src/parallel.cpp
View file @
09dec4e8
...
@@ -42,6 +42,14 @@
...
@@ -42,6 +42,14 @@
#include "precomp.hpp"
#include "precomp.hpp"
#if defined WIN32 || defined WINCE
#include <windows.h>
#undef small
#undef min
#undef max
#undef abs
#endif
#if defined __linux__ || defined __APPLE__
#if defined __linux__ || defined __APPLE__
#include <unistd.h>
#include <unistd.h>
#include <stdio.h>
#include <stdio.h>
...
...
modules/core/src/rand.cpp
View file @
09dec4e8
...
@@ -48,8 +48,16 @@
...
@@ -48,8 +48,16 @@
#include "precomp.hpp"
#include "precomp.hpp"
#if defined WIN32 || defined WINCE
#include <windows.h>
#undef small
#undef min
#undef max
#undef abs
#endif
#if defined __SSE2__ || (defined _M_IX86_FP && 2 == _M_IX86_FP)
#if defined __SSE2__ || (defined _M_IX86_FP && 2 == _M_IX86_FP)
#include "emmintrin.h"
#include "emmintrin.h"
#endif
#endif
namespace
cv
namespace
cv
...
...
modules/core/src/system.cpp
View file @
09dec4e8
...
@@ -43,6 +43,14 @@
...
@@ -43,6 +43,14 @@
#include "precomp.hpp"
#include "precomp.hpp"
#if defined WIN32 || defined _WIN32 || defined WINCE
#if defined WIN32 || defined _WIN32 || defined WINCE
#ifndef _WIN32_WINNT // This is needed for the declaration of TryEnterCriticalSection in winbase.h with Visual Studio 2005 (and older?)
#define _WIN32_WINNT 0x0400 // http://msdn.microsoft.com/en-us/library/ms686857(VS.85).aspx
#endif
#include <windows.h>
#undef small
#undef min
#undef max
#undef abs
#include <tchar.h>
#include <tchar.h>
#if defined _MSC_VER
#if defined _MSC_VER
#if _MSC_VER >= 1400
#if _MSC_VER >= 1400
...
...
modules/highgui/src/precomp.hpp
View file @
09dec4e8
...
@@ -49,11 +49,6 @@
...
@@ -49,11 +49,6 @@
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/core/internal.hpp"
#include "opencv2/core/internal.hpp"
#if defined WIN32 || defined _WIN32
//required windows.h has to be included by the opencv2/core/internal.hpp
void
FillBitmapInfo
(
BITMAPINFO
*
bmi
,
int
width
,
int
height
,
int
bpp
,
int
origin
);
#endif
#include <stdlib.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdio.h>
#include <string.h>
#include <string.h>
...
@@ -61,6 +56,14 @@ void FillBitmapInfo( BITMAPINFO* bmi, int width, int height, int bpp, int origi
...
@@ -61,6 +56,14 @@ void FillBitmapInfo( BITMAPINFO* bmi, int width, int height, int bpp, int origi
#include <ctype.h>
#include <ctype.h>
#include <assert.h>
#include <assert.h>
#if defined WIN32 || defined WINCE
#include <windows.h>
#undef small
#undef min
#undef max
#undef abs
#endif
#ifdef HAVE_TEGRA_OPTIMIZATION
#ifdef HAVE_TEGRA_OPTIMIZATION
#include "opencv2/highgui/highgui_tegra.hpp"
#include "opencv2/highgui/highgui_tegra.hpp"
#endif
#endif
...
...
modules/highgui/src/window_w32.cpp
View file @
09dec4e8
...
@@ -106,7 +106,7 @@ static const char* trackbar_text =
...
@@ -106,7 +106,7 @@ static const char* trackbar_text =
#endif
#endif
void
FillBitmapInfo
(
BITMAPINFO
*
bmi
,
int
width
,
int
height
,
int
bpp
,
int
origin
)
static
void
FillBitmapInfo
(
BITMAPINFO
*
bmi
,
int
width
,
int
height
,
int
bpp
,
int
origin
)
{
{
assert
(
bmi
&&
width
>=
0
&&
height
>=
0
&&
(
bpp
==
8
||
bpp
==
24
||
bpp
==
32
));
assert
(
bmi
&&
width
>=
0
&&
height
>=
0
&&
(
bpp
==
8
||
bpp
==
24
||
bpp
==
32
));
...
...
modules/ts/include/opencv2/ts/ts_perf.hpp
View file @
09dec4e8
...
@@ -478,7 +478,7 @@ CV_EXPORTS void PrintTo(const Size& sz, ::std::ostream* os);
...
@@ -478,7 +478,7 @@ CV_EXPORTS void PrintTo(const Size& sz, ::std::ostream* os);
#define CV_PERF_TEST_MAIN(testsuitname, ...) \
#define CV_PERF_TEST_MAIN(testsuitname, ...) \
int main(int argc, char **argv)\
int main(int argc, char **argv)\
{\
{\
__VA_ARGS__;
\
while (++argc >= (--argc,-1)) {__VA_ARGS__; break;}
/*this ugly construction is needed for VS 2005*/
\
::perf::Regression::Init(#testsuitname);\
::perf::Regression::Init(#testsuitname);\
::perf::TestBase::Init(argc, argv);\
::perf::TestBase::Init(argc, argv);\
::testing::InitGoogleTest(&argc, argv);\
::testing::InitGoogleTest(&argc, argv);\
...
...
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