renamed gpu* source to cuda* in core module

pull/1299/head
Vladislav Vinogradov 11 years ago
parent 91dd44e7fa
commit cfe4a71dc6
  1. 6
      modules/core/include/opencv2/core/cuda.hpp
  2. 2
      modules/core/include/opencv2/core/cuda.inl.hpp
  3. 2
      modules/core/include/opencv2/core/cuda/common.hpp
  4. 2
      modules/core/include/opencv2/core/cuda_stream_accessor.hpp
  5. 2
      modules/core/include/opencv2/core/cuda_types.hpp
  6. 4
      modules/core/include/opencv2/core/private.cuda.hpp
  7. 2
      modules/core/src/cuda/gpu_mat.cu
  8. 0
      modules/core/src/cuda_gpu_mat.cpp
  9. 0
      modules/core/src/cuda_host_mem.cpp
  10. 0
      modules/core/src/cuda_info.cpp
  11. 0
      modules/core/src/cuda_stream.cpp
  12. 4
      modules/core/src/precomp.hpp
  13. 4
      modules/cudev/include/opencv2/cudev/common.hpp
  14. 4
      modules/gpu/include/opencv2/gpu.hpp
  15. 2
      modules/gpu/src/precomp.hpp
  16. 2
      modules/gpuarithm/include/opencv2/gpuarithm.hpp
  17. 2
      modules/gpuarithm/src/precomp.hpp
  18. 2
      modules/gpubgsegm/include/opencv2/gpubgsegm.hpp
  19. 2
      modules/gpubgsegm/src/cuda/fgd.hpp
  20. 2
      modules/gpubgsegm/src/precomp.hpp
  21. 2
      modules/gpucodec/include/opencv2/gpucodec.hpp
  22. 2
      modules/gpucodec/src/cuvid_video_source.hpp
  23. 2
      modules/gpucodec/src/frame_queue.hpp
  24. 2
      modules/gpucodec/src/precomp.hpp
  25. 2
      modules/gpucodec/src/video_decoder.hpp
  26. 2
      modules/gpucodec/src/video_parser.hpp
  27. 2
      modules/gpucodec/src/video_source.hpp
  28. 2
      modules/gpufeatures2d/include/opencv2/gpufeatures2d.hpp
  29. 2
      modules/gpufeatures2d/src/precomp.hpp
  30. 2
      modules/gpufilters/include/opencv2/gpufilters.hpp
  31. 2
      modules/gpufilters/src/precomp.hpp
  32. 2
      modules/gpuimgproc/include/opencv2/gpuimgproc.hpp
  33. 2
      modules/gpuimgproc/src/precomp.hpp
  34. 2
      modules/gpulegacy/include/opencv2/gpulegacy/private.hpp
  35. 2
      modules/gpulegacy/src/precomp.hpp
  36. 4
      modules/gpulegacy/test/test_precomp.hpp
  37. 2
      modules/gpuoptflow/include/opencv2/gpuoptflow.hpp
  38. 2
      modules/gpuoptflow/src/precomp.hpp
  39. 2
      modules/gpustereo/include/opencv2/gpustereo.hpp
  40. 2
      modules/gpustereo/src/precomp.hpp
  41. 2
      modules/gpuwarping/include/opencv2/gpuwarping.hpp
  42. 2
      modules/gpuwarping/src/precomp.hpp
  43. 2
      modules/nonfree/include/opencv2/nonfree/gpu.hpp
  44. 2
      modules/nonfree/src/precomp.hpp
  45. 2
      modules/photo/include/opencv2/photo/gpu.hpp
  46. 2
      modules/photo/src/denoising_gpu.cpp
  47. 2
      modules/softcascade/include/opencv2/softcascade.hpp
  48. 2
      modules/softcascade/src/cuda/channels.cu
  49. 2
      modules/softcascade/src/cuda_invoker.hpp
  50. 2
      modules/softcascade/src/precomp.hpp
  51. 2
      modules/softcascade/test/test_cuda_softcascade.cpp
  52. 2
      modules/softcascade/test/utility.hpp
  53. 2
      modules/stitching/include/opencv2/stitching/detail/warpers.hpp
  54. 2
      modules/superres/perf/perf_precomp.hpp
  55. 2
      modules/superres/src/input_array_utility.hpp
  56. 4
      modules/superres/src/precomp.hpp
  57. 2
      modules/ts/include/opencv2/ts/gpu_test.hpp
  58. 2
      modules/ts/src/gpu_perf.cpp
  59. 2
      modules/ts/src/ts_perf.cpp
  60. 2
      modules/videostab/include/opencv2/videostab/wobble_suppression.hpp
  61. 2
      samples/gpu/cascadeclassifier_nvidia_api.cpp
  62. 2
      samples/gpu/opengl.cpp
  63. 2
      samples/gpu/opticalflow_nvidia_api.cpp

@ -45,11 +45,11 @@
#define __OPENCV_CORE_GPU_HPP__
#ifndef __cplusplus
# error gpu.hpp header must be compiled as C++
# error cuda.hpp header must be compiled as C++
#endif
#include "opencv2/core.hpp"
#include "opencv2/core/gpu_types.hpp"
#include "opencv2/core/cuda_types.hpp"
namespace cv { namespace cuda {
@ -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__ */

@ -44,7 +44,7 @@
#ifndef __OPENCV_CORE_GPUINL_HPP__
#define __OPENCV_CORE_GPUINL_HPP__
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda {

@ -44,7 +44,7 @@
#define __OPENCV_GPU_COMMON_HPP__
#include <cuda_runtime.h>
#include "opencv2/core/gpu_types.hpp"
#include "opencv2/core/cuda_types.hpp"
#include "opencv2/core/cvdef.h"
#include "opencv2/core/base.hpp"

@ -44,7 +44,7 @@
#define __OPENCV_CORE_GPU_STREAM_ACCESSOR_HPP__
#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
// This is only header file that depends on Cuda. All other headers are independent.

@ -44,7 +44,7 @@
#define __OPENCV_CORE_GPU_TYPES_HPP__
#ifndef __cplusplus
# error gpu_types.hpp header must be compiled as C++
# error cuda_types.hpp header must be compiled as C++
#endif
#ifdef __CUDACC__

@ -53,13 +53,13 @@
#include "opencv2/core/cvdef.h"
#include "opencv2/core/base.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#ifdef HAVE_CUDA
# include <cuda.h>
# include <cuda_runtime.h>
# include <npp.h>
# include "opencv2/core/gpu_stream_accessor.hpp"
# include "opencv2/core/cuda_stream_accessor.hpp"
# include "opencv2/core/cuda/common.hpp"
# define NPP_VERSION (NPP_VERSION_MAJOR * 1000 + NPP_VERSION_MINOR * 100 + NPP_VERSION_BUILD)

@ -48,7 +48,7 @@
#else
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/cudev.hpp"
using namespace cv;

@ -45,11 +45,11 @@
#include "opencv2/core/utility.hpp"
#include "opencv2/core/core_c.h"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/core/opengl.hpp"
#include "opencv2/core/private.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include <assert.h>
#include <ctype.h>

@ -47,8 +47,8 @@
#define __OPENCV_CUDEV_COMMON_HPP__
#include <cuda_runtime.h>
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/gpu_stream_accessor.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/core/cuda_stream_accessor.hpp"
namespace cv { namespace cudev {

@ -44,10 +44,10 @@
#define __OPENCV_GPU_HPP__
#ifndef __cplusplus
# error gpu.hpp header must be compiled as C++
# error cuda.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda {

@ -49,7 +49,7 @@
#include "opencv2/calib3d.hpp"
#include "opencv2/objdetect.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp"

@ -47,7 +47,7 @@
# error gpuarithm.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda {

@ -50,7 +50,7 @@
#include "opencv2/gpuarithm.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp"

@ -47,7 +47,7 @@
# error gpubgsegm.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/video/background_segm.hpp"
namespace cv { namespace cuda {

@ -43,7 +43,7 @@
#ifndef __FGD_BGFG_COMMON_HPP__
#define __FGD_BGFG_COMMON_HPP__
#include "opencv2/core/gpu_types.hpp"
#include "opencv2/core/cuda_types.hpp"
namespace fgd
{

@ -47,7 +47,7 @@
#include "opencv2/gpubgsegm.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp"

@ -48,7 +48,7 @@
# error gpucodec.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
namespace cv { namespace cudacodec {

@ -46,7 +46,7 @@
#include <nvcuvid.h>
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/gpucodec.hpp"
#include "video_source.hpp"

@ -45,7 +45,7 @@
#define __FRAME_QUEUE_HPP__
#include "opencv2/core/utility.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include <nvcuvid.h>

@ -53,7 +53,7 @@
#include "opencv2/gpucodec.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#ifdef HAVE_NVCUVID
#include <nvcuvid.h>

@ -46,7 +46,7 @@
#include <nvcuvid.h>
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/gpucodec.hpp"
namespace cv { namespace cudacodec { namespace detail

@ -46,7 +46,7 @@
#include <nvcuvid.h>
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/gpucodec.hpp"
#include "frame_queue.hpp"
#include "video_decoder.hpp"

@ -44,7 +44,7 @@
#ifndef __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 "thread.hpp"

@ -47,7 +47,7 @@
# error gpufeatures2d.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/gpufilters.hpp"
namespace cv { namespace cuda {

@ -52,6 +52,6 @@
#include "opencv2/gpuwarping.hpp"
#include "opencv2/features2d.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#endif /* __OPENCV_PRECOMP_H__ */

@ -47,7 +47,7 @@
# error gpufilters.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/imgproc.hpp"
namespace cv { namespace cuda {

@ -49,6 +49,6 @@
#include "opencv2/gpuarithm.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#endif /* __OPENCV_PRECOMP_H__ */

@ -47,7 +47,7 @@
# error gpuimgproc.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/imgproc.hpp"
namespace cv { namespace cuda {

@ -47,7 +47,7 @@
#include "opencv2/core/utility.hpp"
#include "opencv2/core/private.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp"

@ -48,7 +48,7 @@
# error this is a private header which should not be used from outside of the OpenCV library
#endif
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#ifndef HAVE_CUDA
# error gpulegacy module requires CUDA

@ -56,7 +56,7 @@
# include "opencv2/objdetect.hpp"
#endif
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/gpulegacy/private.hpp"
#endif /* __OPENCV_PRECOMP_H__ */

@ -68,11 +68,11 @@
#include "opencv2/ts.hpp"
#include "opencv2/ts/gpu_test.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/gpulegacy.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "cvconfig.h"

@ -47,7 +47,7 @@
# error gpuoptflow.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda {

@ -51,7 +51,7 @@
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/video.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp"

@ -47,7 +47,7 @@
# error gpustereo.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/calib3d.hpp"
namespace cv { namespace cuda {

@ -47,7 +47,7 @@
#include "opencv2/gpustereo.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/core/utility.hpp"
#endif /* __OPENCV_PRECOMP_H__ */

@ -47,7 +47,7 @@
# error gpuwarping.hpp header must be compiled as C++
#endif
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/imgproc.hpp"
namespace cv { namespace cuda {

@ -45,7 +45,7 @@
#include "opencv2/gpuwarping.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp"

@ -43,7 +43,7 @@
#ifndef __OPENCV_NONFREE_GPU_HPP__
#define __OPENCV_NONFREE_GPU_HPP__
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda {

@ -50,7 +50,7 @@
#include "opencv2/core/private.hpp"
#include "opencv2/nonfree/gpu.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp"

@ -43,7 +43,7 @@
#ifndef __OPENCV_PHOTO_GPU_HPP__
#define __OPENCV_PHOTO_GPU_HPP__
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
namespace cv { namespace cuda {

@ -43,7 +43,7 @@
#include "precomp.hpp"
#include "opencv2/photo/gpu.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#include "opencv2/opencv_modules.hpp"

@ -46,7 +46,7 @@
#include <iosfwd>
#include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
namespace cv { namespace softcascade {

@ -40,7 +40,7 @@
//
//M*/
#include "opencv2/core/gpu_types.hpp"
#include "opencv2/core/cuda_types.hpp"
#include "opencv2/core/cuda/common.hpp"
namespace cv { namespace softcascade { namespace cudev

@ -44,7 +44,7 @@
#ifndef __OPENCV_ICF_HPP__
#define __OPENCV_ICF_HPP__
#include "opencv2/core/gpu_types.hpp"
#include "opencv2/core/cuda_types.hpp"
#include "cuda_runtime_api.h"
#if defined __CUDACC__

@ -49,7 +49,7 @@
#include "opencv2/imgproc.hpp"
#include "opencv2/core/private.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
namespace cv { namespace softcascade { namespace internal
{

@ -41,7 +41,7 @@
//M*/
#include "test_precomp.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#ifdef HAVE_CUDA

@ -43,7 +43,7 @@
#define __OPENCV_SOFTCASCADE_TEST_UTILITY_HPP__
#include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/ts.hpp"
//////////////////////////////////////////////////////////////////////

@ -44,7 +44,7 @@
#define __OPENCV_STITCHING_WARPERS_HPP__
#include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/opencv_modules.hpp"

@ -52,7 +52,7 @@
#define __OPENCV_PERF_PRECOMP_HPP__
#include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/ts.hpp"
#include "opencv2/ts/gpu_perf.hpp"
#include "opencv2/superres.hpp"

@ -44,7 +44,7 @@
#define __OPENCV_SUPERRES_INPUT_ARRAY_UTILITY_HPP__
#include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#ifdef HAVE_OPENCV_OCL
#include "opencv2/ocl.hpp"
#endif

@ -48,14 +48,14 @@
#include "opencv2/opencv_modules.hpp"
#include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/core/opengl.hpp"
#include "opencv2/core/utility.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/video/tracking.hpp"
#include "opencv2/core/private.hpp"
#include "opencv2/core/private.gpu.hpp"
#include "opencv2/core/private.cuda.hpp"
#ifdef HAVE_OPENCV_GPUARITHM
# include "opencv2/gpuarithm.hpp"

@ -46,7 +46,7 @@
#include <stdexcept>
#include "cvconfig.h"
#include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"
#include "opencv2/ts.hpp"

@ -42,7 +42,7 @@
#include "precomp.hpp"
#include "opencv2/ts/gpu_perf.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#ifdef HAVE_CUDA
#include <cuda_runtime.h>

@ -1,7 +1,7 @@
#include "precomp.hpp"
#ifdef HAVE_CUDA
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#endif
#ifdef ANDROID

@ -45,7 +45,7 @@
#include <vector>
#include "opencv2/core.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/videostab/global_motion.hpp"
#include "opencv2/videostab/log.hpp"

@ -6,7 +6,7 @@
#include <iostream>
#include <iomanip>
#include <cstdio>
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/gpulegacy.hpp"
#include "opencv2/highgui.hpp"
#include "opencv2/imgproc.hpp"

@ -25,7 +25,7 @@ int main()
#include "opencv2/core/core.hpp"
#include "opencv2/core/opengl.hpp"
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/highgui/highgui.hpp"
using namespace std;

@ -11,7 +11,7 @@
#include "cvconfig.h"
#include <iostream>
#include <iomanip>
#include "opencv2/core/gpu.hpp"
#include "opencv2/core/cuda.hpp"
#include "opencv2/gpulegacy.hpp"
#include "opencv2/highgui/highgui.hpp"
#include "opencv2/highgui/highgui_c.h"

Loading…
Cancel
Save