dnn: fix precomp.hpp usage

pull/10962/head
Alexander Alekhin 7 years ago
parent 24bed38c2b
commit a838a97092
  1. 2
      modules/dnn/src/caffe/caffe_io.cpp
  2. 1
      modules/dnn/src/layers/layers_common.cpp
  3. 1
      modules/dnn/src/ocl4dnn/include/common.hpp
  4. 1
      modules/dnn/src/ocl4dnn/include/math_functions.hpp
  5. 1
      modules/dnn/src/ocl4dnn/include/ocl4dnn.hpp
  6. 2
      modules/dnn/src/op_halide.hpp
  7. 2
      modules/dnn/src/op_inf_engine.hpp
  8. 2
      modules/dnn/src/tensorflow/tf_io.cpp
  9. 1
      modules/dnn/test/npy_blob.cpp
  10. 1
      modules/dnn/test/npy_blob.hpp

@ -87,6 +87,8 @@
// //
//M*/ //M*/
#include "../precomp.hpp"
#ifdef HAVE_PROTOBUF #ifdef HAVE_PROTOBUF
#include <google/protobuf/io/coded_stream.h> #include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h> #include <google/protobuf/io/zero_copy_stream_impl.h>

@ -40,6 +40,7 @@
// //
//M*/ //M*/
#include "../precomp.hpp"
#include "layers_common.hpp" #include "layers_common.hpp"
namespace cv namespace cv

@ -41,7 +41,6 @@
#ifndef _OPENCV_LIBDNN_COMMON_HPP_ #ifndef _OPENCV_LIBDNN_COMMON_HPP_
#define _OPENCV_LIBDNN_COMMON_HPP_ #define _OPENCV_LIBDNN_COMMON_HPP_
#include "../../precomp.hpp"
#include "../../caffe/glog_emulator.hpp" #include "../../caffe/glog_emulator.hpp"
#include <opencv2/core/opencl/runtime/opencl_core.hpp> #include <opencv2/core/opencl/runtime/opencl_core.hpp>

@ -42,7 +42,6 @@
#ifndef _OPENCV_GREENTEA_MATH_FUNCTIONS_HPP_ #ifndef _OPENCV_GREENTEA_MATH_FUNCTIONS_HPP_
#define _OPENCV_GREENTEA_MATH_FUNCTIONS_HPP_ #define _OPENCV_GREENTEA_MATH_FUNCTIONS_HPP_
#include "../../precomp.hpp"
#include "common.hpp" #include "common.hpp"
namespace cv namespace cv

@ -42,7 +42,6 @@
#ifndef _OPENCV_LIBDNN_HPP_ #ifndef _OPENCV_LIBDNN_HPP_
#define _OPENCV_LIBDNN_HPP_ #define _OPENCV_LIBDNN_HPP_
#include "../../precomp.hpp"
#include <iomanip> #include <iomanip>
#include <map> #include <map>
#include <memory> #include <memory>

@ -8,8 +8,6 @@
#ifndef __OPENCV_DNN_OP_HALIDE_HPP__ #ifndef __OPENCV_DNN_OP_HALIDE_HPP__
#define __OPENCV_DNN_OP_HALIDE_HPP__ #define __OPENCV_DNN_OP_HALIDE_HPP__
#include "precomp.hpp"
#ifdef HAVE_HALIDE #ifdef HAVE_HALIDE
#include <Halide.h> #include <Halide.h>
#endif // HAVE_HALIDE #endif // HAVE_HALIDE

@ -8,8 +8,6 @@
#ifndef __OPENCV_DNN_OP_INF_ENGINE_HPP__ #ifndef __OPENCV_DNN_OP_INF_ENGINE_HPP__
#define __OPENCV_DNN_OP_INF_ENGINE_HPP__ #define __OPENCV_DNN_OP_INF_ENGINE_HPP__
#include "precomp.hpp"
#ifdef HAVE_INF_ENGINE #ifdef HAVE_INF_ENGINE
#include <inference_engine.hpp> #include <inference_engine.hpp>
#endif // HAVE_INF_ENGINE #endif // HAVE_INF_ENGINE

@ -9,6 +9,8 @@
Implementation of various functions which are related to Tensorflow models reading. Implementation of various functions which are related to Tensorflow models reading.
*/ */
#include "../precomp.hpp"
#ifdef HAVE_PROTOBUF #ifdef HAVE_PROTOBUF
#include <google/protobuf/io/coded_stream.h> #include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl.h> #include <google/protobuf/io/zero_copy_stream_impl.h>

@ -5,6 +5,7 @@
// Copyright (C) 2017, Intel Corporation, all rights reserved. // Copyright (C) 2017, Intel Corporation, all rights reserved.
// Third party copyrights are property of their respective owners. // Third party copyrights are property of their respective owners.
#include "test_precomp.hpp"
#include "npy_blob.hpp" #include "npy_blob.hpp"
namespace cv namespace cv

@ -7,7 +7,6 @@
#ifndef __OPENCV_DNN_TEST_NPY_BLOB_HPP__ #ifndef __OPENCV_DNN_TEST_NPY_BLOB_HPP__
#define __OPENCV_DNN_TEST_NPY_BLOB_HPP__ #define __OPENCV_DNN_TEST_NPY_BLOB_HPP__
#include "test_precomp.hpp"
namespace cv namespace cv
{ {

Loading…
Cancel
Save