remove unused std imports
This commit is contained in:
parent
1d97a4549d
commit
d985861462
@ -44,7 +44,6 @@
|
|||||||
#define OPENCV_GPU_EMULATION_HPP_
|
#define OPENCV_GPU_EMULATION_HPP_
|
||||||
|
|
||||||
#include "warp_reduce.hpp"
|
#include "warp_reduce.hpp"
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
namespace cv { namespace gpu { namespace device
|
namespace cv { namespace gpu { namespace device
|
||||||
{
|
{
|
||||||
|
@ -42,7 +42,6 @@
|
|||||||
|
|
||||||
#if !defined CUDA_DISABLER
|
#if !defined CUDA_DISABLER
|
||||||
|
|
||||||
#include <stdio.h>
|
|
||||||
#include "internal_shared.hpp"
|
#include "internal_shared.hpp"
|
||||||
#include "opencv2/gpu/device/common.hpp"
|
#include "opencv2/gpu/device/common.hpp"
|
||||||
#include "opencv2/gpu/device/border_interpolate.hpp"
|
#include "opencv2/gpu/device/border_interpolate.hpp"
|
||||||
@ -57,8 +56,6 @@
|
|||||||
#define BORDER_SIZE 5
|
#define BORDER_SIZE 5
|
||||||
#define MAX_KSIZE_HALF 100
|
#define MAX_KSIZE_HALF 100
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
namespace cv { namespace gpu { namespace device { namespace optflow_farneback
|
namespace cv { namespace gpu { namespace device { namespace optflow_farneback
|
||||||
{
|
{
|
||||||
__constant__ float c_g[8];
|
__constant__ float c_g[8];
|
||||||
|
@ -45,8 +45,6 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
#include "NCV.hpp"
|
#include "NCV.hpp"
|
||||||
|
|
||||||
using namespace std;
|
|
||||||
|
|
||||||
|
|
||||||
//==============================================================================
|
//==============================================================================
|
||||||
//
|
//
|
||||||
@ -55,16 +53,16 @@ using namespace std;
|
|||||||
//==============================================================================
|
//==============================================================================
|
||||||
|
|
||||||
|
|
||||||
static void stdDebugOutput(const string &msg)
|
static void stdDebugOutput(const std::string &msg)
|
||||||
{
|
{
|
||||||
cout << msg;
|
std::cout << msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static NCVDebugOutputHandler *debugOutputHandler = stdDebugOutput;
|
static NCVDebugOutputHandler *debugOutputHandler = stdDebugOutput;
|
||||||
|
|
||||||
|
|
||||||
void ncvDebugOutput(const string &msg)
|
void ncvDebugOutput(const std::string &msg)
|
||||||
{
|
{
|
||||||
debugOutputHandler(msg);
|
debugOutputHandler(msg);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user