Commit cfe4a71d authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

renamed gpu* source to cuda* in core module

parent 91dd44e7
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
#define __OPENCV_CORE_GPU_HPP__ #define __OPENCV_CORE_GPU_HPP__
#ifndef __cplusplus #ifndef __cplusplus
# error gpu.hpp header must be compiled as C++ # error cuda.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/gpu_types.hpp" #include "opencv2/core/cuda_types.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
...@@ -673,6 +673,6 @@ template <> CV_EXPORTS void Ptr<cv::cuda::Event::Impl>::delete_obj(); ...@@ -673,6 +673,6 @@ template <> CV_EXPORTS void Ptr<cv::cuda::Event::Impl>::delete_obj();
} }
#include "opencv2/core/gpu.inl.hpp" #include "opencv2/core/cuda.inl.hpp"
#endif /* __OPENCV_CORE_GPU_HPP__ */ #endif /* __OPENCV_CORE_GPU_HPP__ */
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#ifndef __OPENCV_CORE_GPUINL_HPP__ #ifndef __OPENCV_CORE_GPUINL_HPP__
#define __OPENCV_CORE_GPUINL_HPP__ #define __OPENCV_CORE_GPUINL_HPP__
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#define __OPENCV_GPU_COMMON_HPP__ #define __OPENCV_GPU_COMMON_HPP__
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include "opencv2/core/gpu_types.hpp" #include "opencv2/core/cuda_types.hpp"
#include "opencv2/core/cvdef.h" #include "opencv2/core/cvdef.h"
#include "opencv2/core/base.hpp" #include "opencv2/core/base.hpp"
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#define __OPENCV_CORE_GPU_STREAM_ACCESSOR_HPP__ #define __OPENCV_CORE_GPU_STREAM_ACCESSOR_HPP__
#ifndef __cplusplus #ifndef __cplusplus
# error gpu_stream_accessor.hpp header must be compiled as C++ # error cuda_stream_accessor.hpp header must be compiled as C++
#endif #endif
// This is only header file that depends on Cuda. All other headers are independent. // This is only header file that depends on Cuda. All other headers are independent.
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#define __OPENCV_CORE_GPU_TYPES_HPP__ #define __OPENCV_CORE_GPU_TYPES_HPP__
#ifndef __cplusplus #ifndef __cplusplus
# error gpu_types.hpp header must be compiled as C++ # error cuda_types.hpp header must be compiled as C++
#endif #endif
#ifdef __CUDACC__ #ifdef __CUDACC__
......
...@@ -53,13 +53,13 @@ ...@@ -53,13 +53,13 @@
#include "opencv2/core/cvdef.h" #include "opencv2/core/cvdef.h"
#include "opencv2/core/base.hpp" #include "opencv2/core/base.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#ifdef HAVE_CUDA #ifdef HAVE_CUDA
# include <cuda.h> # include <cuda.h>
# include <cuda_runtime.h> # include <cuda_runtime.h>
# include <npp.h> # include <npp.h>
# include "opencv2/core/gpu_stream_accessor.hpp" # include "opencv2/core/cuda_stream_accessor.hpp"
# include "opencv2/core/cuda/common.hpp" # include "opencv2/core/cuda/common.hpp"
# define NPP_VERSION (NPP_VERSION_MAJOR * 1000 + NPP_VERSION_MINOR * 100 + NPP_VERSION_BUILD) # define NPP_VERSION (NPP_VERSION_MAJOR * 1000 + NPP_VERSION_MINOR * 100 + NPP_VERSION_BUILD)
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
#else #else
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/cudev.hpp" #include "opencv2/cudev.hpp"
using namespace cv; using namespace cv;
......
...@@ -45,11 +45,11 @@ ...@@ -45,11 +45,11 @@
#include "opencv2/core/utility.hpp" #include "opencv2/core/utility.hpp"
#include "opencv2/core/core_c.h" #include "opencv2/core/core_c.h"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/core/opengl.hpp" #include "opencv2/core/opengl.hpp"
#include "opencv2/core/private.hpp" #include "opencv2/core/private.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include <assert.h> #include <assert.h>
#include <ctype.h> #include <ctype.h>
......
...@@ -47,8 +47,8 @@ ...@@ -47,8 +47,8 @@
#define __OPENCV_CUDEV_COMMON_HPP__ #define __OPENCV_CUDEV_COMMON_HPP__
#include <cuda_runtime.h> #include <cuda_runtime.h>
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/core/gpu_stream_accessor.hpp" #include "opencv2/core/cuda_stream_accessor.hpp"
namespace cv { namespace cudev { namespace cv { namespace cudev {
......
...@@ -44,10 +44,10 @@ ...@@ -44,10 +44,10 @@
#define __OPENCV_GPU_HPP__ #define __OPENCV_GPU_HPP__
#ifndef __cplusplus #ifndef __cplusplus
# error gpu.hpp header must be compiled as C++ # error cuda.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
#include "opencv2/calib3d.hpp" #include "opencv2/calib3d.hpp"
#include "opencv2/objdetect.hpp" #include "opencv2/objdetect.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
# error gpuarithm.hpp header must be compiled as C++ # error gpuarithm.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#include "opencv2/gpuarithm.hpp" #include "opencv2/gpuarithm.hpp"
#include "opencv2/core/utility.hpp" #include "opencv2/core/utility.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
# error gpubgsegm.hpp header must be compiled as C++ # error gpubgsegm.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/video/background_segm.hpp" #include "opencv2/video/background_segm.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#ifndef __FGD_BGFG_COMMON_HPP__ #ifndef __FGD_BGFG_COMMON_HPP__
#define __FGD_BGFG_COMMON_HPP__ #define __FGD_BGFG_COMMON_HPP__
#include "opencv2/core/gpu_types.hpp" #include "opencv2/core/cuda_types.hpp"
namespace fgd namespace fgd
{ {
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#include "opencv2/gpubgsegm.hpp" #include "opencv2/gpubgsegm.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
# error gpucodec.hpp header must be compiled as C++ # error gpucodec.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
namespace cv { namespace cudacodec { namespace cv { namespace cudacodec {
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
#include <nvcuvid.h> #include <nvcuvid.h>
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/gpucodec.hpp" #include "opencv2/gpucodec.hpp"
#include "video_source.hpp" #include "video_source.hpp"
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#define __FRAME_QUEUE_HPP__ #define __FRAME_QUEUE_HPP__
#include "opencv2/core/utility.hpp" #include "opencv2/core/utility.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include <nvcuvid.h> #include <nvcuvid.h>
......
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
#include "opencv2/gpucodec.hpp" #include "opencv2/gpucodec.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#ifdef HAVE_NVCUVID #ifdef HAVE_NVCUVID
#include <nvcuvid.h> #include <nvcuvid.h>
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
#include <nvcuvid.h> #include <nvcuvid.h>
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/gpucodec.hpp" #include "opencv2/gpucodec.hpp"
namespace cv { namespace cudacodec { namespace detail namespace cv { namespace cudacodec { namespace detail
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
#include <nvcuvid.h> #include <nvcuvid.h>
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/gpucodec.hpp" #include "opencv2/gpucodec.hpp"
#include "frame_queue.hpp" #include "frame_queue.hpp"
#include "video_decoder.hpp" #include "video_decoder.hpp"
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#ifndef __GPUCODEC_VIDEO_SOURCE_H__ #ifndef __GPUCODEC_VIDEO_SOURCE_H__
#define __GPUCODEC_VIDEO_SOURCE_H__ #define __GPUCODEC_VIDEO_SOURCE_H__
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/gpucodec.hpp" #include "opencv2/gpucodec.hpp"
#include "thread.hpp" #include "thread.hpp"
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
# error gpufeatures2d.hpp header must be compiled as C++ # error gpufeatures2d.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/gpufilters.hpp" #include "opencv2/gpufilters.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -52,6 +52,6 @@ ...@@ -52,6 +52,6 @@
#include "opencv2/gpuwarping.hpp" #include "opencv2/gpuwarping.hpp"
#include "opencv2/features2d.hpp" #include "opencv2/features2d.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#endif /* __OPENCV_PRECOMP_H__ */ #endif /* __OPENCV_PRECOMP_H__ */
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
# error gpufilters.hpp header must be compiled as C++ # error gpufilters.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -49,6 +49,6 @@ ...@@ -49,6 +49,6 @@
#include "opencv2/gpuarithm.hpp" #include "opencv2/gpuarithm.hpp"
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#endif /* __OPENCV_PRECOMP_H__ */ #endif /* __OPENCV_PRECOMP_H__ */
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
# error gpuimgproc.hpp header must be compiled as C++ # error gpuimgproc.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#include "opencv2/core/utility.hpp" #include "opencv2/core/utility.hpp"
#include "opencv2/core/private.hpp" #include "opencv2/core/private.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
# error this is a private header which should not be used from outside of the OpenCV library # error this is a private header which should not be used from outside of the OpenCV library
#endif #endif
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#ifndef HAVE_CUDA #ifndef HAVE_CUDA
# error gpulegacy module requires CUDA # error gpulegacy module requires CUDA
......
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
# include "opencv2/objdetect.hpp" # include "opencv2/objdetect.hpp"
#endif #endif
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/gpulegacy/private.hpp" #include "opencv2/gpulegacy/private.hpp"
#endif /* __OPENCV_PRECOMP_H__ */ #endif /* __OPENCV_PRECOMP_H__ */
...@@ -68,11 +68,11 @@ ...@@ -68,11 +68,11 @@
#include "opencv2/ts.hpp" #include "opencv2/ts.hpp"
#include "opencv2/ts/gpu_test.hpp" #include "opencv2/ts/gpu_test.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/gpulegacy.hpp" #include "opencv2/gpulegacy.hpp"
#include "opencv2/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "cvconfig.h" #include "cvconfig.h"
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
# error gpuoptflow.hpp header must be compiled as C++ # error gpuoptflow.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -51,7 +51,7 @@ ...@@ -51,7 +51,7 @@
#include "opencv2/gpuimgproc.hpp" #include "opencv2/gpuimgproc.hpp"
#include "opencv2/video.hpp" #include "opencv2/video.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
# error gpustereo.hpp header must be compiled as C++ # error gpustereo.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/calib3d.hpp" #include "opencv2/calib3d.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
#include "opencv2/gpustereo.hpp" #include "opencv2/gpustereo.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/core/utility.hpp" #include "opencv2/core/utility.hpp"
#endif /* __OPENCV_PRECOMP_H__ */ #endif /* __OPENCV_PRECOMP_H__ */
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
# error gpuwarping.hpp header must be compiled as C++ # error gpuwarping.hpp header must be compiled as C++
#endif #endif
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#include "opencv2/gpuwarping.hpp" #include "opencv2/gpuwarping.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#ifndef __OPENCV_NONFREE_GPU_HPP__ #ifndef __OPENCV_NONFREE_GPU_HPP__
#define __OPENCV_NONFREE_GPU_HPP__ #define __OPENCV_NONFREE_GPU_HPP__
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
#include "opencv2/core/private.hpp" #include "opencv2/core/private.hpp"
#include "opencv2/nonfree/gpu.hpp" #include "opencv2/nonfree/gpu.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#ifndef __OPENCV_PHOTO_GPU_HPP__ #ifndef __OPENCV_PHOTO_GPU_HPP__
#define __OPENCV_PHOTO_GPU_HPP__ #define __OPENCV_PHOTO_GPU_HPP__
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda { namespace cv { namespace cuda {
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#include "precomp.hpp" #include "precomp.hpp"
#include "opencv2/photo/gpu.hpp" #include "opencv2/photo/gpu.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
#include <iosfwd> #include <iosfwd>
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
namespace cv { namespace softcascade { namespace cv { namespace softcascade {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
// //
//M*/ //M*/
#include "opencv2/core/gpu_types.hpp" #include "opencv2/core/cuda_types.hpp"
#include "opencv2/core/cuda/common.hpp" #include "opencv2/core/cuda/common.hpp"
namespace cv { namespace softcascade { namespace cudev namespace cv { namespace softcascade { namespace cudev
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#ifndef __OPENCV_ICF_HPP__ #ifndef __OPENCV_ICF_HPP__
#define __OPENCV_ICF_HPP__ #define __OPENCV_ICF_HPP__
#include "opencv2/core/gpu_types.hpp" #include "opencv2/core/cuda_types.hpp"
#include "cuda_runtime_api.h" #include "cuda_runtime_api.h"
#if defined __CUDACC__ #if defined __CUDACC__
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/core/private.hpp" #include "opencv2/core/private.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
namespace cv { namespace softcascade { namespace internal namespace cv { namespace softcascade { namespace internal
{ {
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
//M*/ //M*/
#include "test_precomp.hpp" #include "test_precomp.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#ifdef HAVE_CUDA #ifdef HAVE_CUDA
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
#define __OPENCV_SOFTCASCADE_TEST_UTILITY_HPP__ #define __OPENCV_SOFTCASCADE_TEST_UTILITY_HPP__
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/ts.hpp" #include "opencv2/ts.hpp"
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#define __OPENCV_STITCHING_WARPERS_HPP__ #define __OPENCV_STITCHING_WARPERS_HPP__
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
#define __OPENCV_PERF_PRECOMP_HPP__ #define __OPENCV_PERF_PRECOMP_HPP__
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/ts.hpp" #include "opencv2/ts.hpp"
#include "opencv2/ts/gpu_perf.hpp" #include "opencv2/ts/gpu_perf.hpp"
#include "opencv2/superres.hpp" #include "opencv2/superres.hpp"
......
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
#define __OPENCV_SUPERRES_INPUT_ARRAY_UTILITY_HPP__ #define __OPENCV_SUPERRES_INPUT_ARRAY_UTILITY_HPP__
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#ifdef HAVE_OPENCV_OCL #ifdef HAVE_OPENCV_OCL
#include "opencv2/ocl.hpp" #include "opencv2/ocl.hpp"
#endif #endif
......
...@@ -48,14 +48,14 @@ ...@@ -48,14 +48,14 @@
#include "opencv2/opencv_modules.hpp" #include "opencv2/opencv_modules.hpp"
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/core/opengl.hpp" #include "opencv2/core/opengl.hpp"
#include "opencv2/core/utility.hpp" #include "opencv2/core/utility.hpp"
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/video/tracking.hpp" #include "opencv2/video/tracking.hpp"
#include "opencv2/core/private.hpp" #include "opencv2/core/private.hpp"
#include "opencv2/core/private.gpu.hpp" #include "opencv2/core/private.cuda.hpp"
#ifdef HAVE_OPENCV_GPUARITHM #ifdef HAVE_OPENCV_GPUARITHM
# include "opencv2/gpuarithm.hpp" # include "opencv2/gpuarithm.hpp"
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
#include <stdexcept> #include <stdexcept>
#include "cvconfig.h" #include "cvconfig.h"
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
#include "opencv2/ts.hpp" #include "opencv2/ts.hpp"
......
...@@ -42,7 +42,7 @@ ...@@ -42,7 +42,7 @@
#include "precomp.hpp" #include "precomp.hpp"
#include "opencv2/ts/gpu_perf.hpp" #include "opencv2/ts/gpu_perf.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#ifdef HAVE_CUDA #ifdef HAVE_CUDA
#include <cuda_runtime.h> #include <cuda_runtime.h>
......
#include "precomp.hpp" #include "precomp.hpp"
#ifdef HAVE_CUDA #ifdef HAVE_CUDA
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#endif #endif
#ifdef ANDROID #ifdef ANDROID
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
#include <vector> #include <vector>
#include "opencv2/core.hpp" #include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/videostab/global_motion.hpp" #include "opencv2/videostab/global_motion.hpp"
#include "opencv2/videostab/log.hpp" #include "opencv2/videostab/log.hpp"
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include <cstdio> #include <cstdio>
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/gpulegacy.hpp" #include "opencv2/gpulegacy.hpp"
#include "opencv2/highgui.hpp" #include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp" #include "opencv2/imgproc.hpp"
......
...@@ -25,7 +25,7 @@ int main() ...@@ -25,7 +25,7 @@ int main()
#include "opencv2/core/core.hpp" #include "opencv2/core/core.hpp"
#include "opencv2/core/opengl.hpp" #include "opencv2/core/opengl.hpp"
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui/highgui.hpp"
using namespace std; using namespace std;
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
#include "cvconfig.h" #include "cvconfig.h"
#include <iostream> #include <iostream>
#include <iomanip> #include <iomanip>
#include "opencv2/core/gpu.hpp" #include "opencv2/core/cuda.hpp"
#include "opencv2/gpulegacy.hpp" #include "opencv2/gpulegacy.hpp"
#include "opencv2/highgui/highgui.hpp" #include "opencv2/highgui/highgui.hpp"
#include "opencv2/highgui/highgui_c.h" #include "opencv2/highgui/highgui_c.h"
......
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