Merge pull request #10962 from alalek:dnn_precomp_hpp

This commit is contained in:
Alexander Alekhin 2018-03-02 11:38:16 +00:00
commit fe97dc67dc
10 changed files with 6 additions and 8 deletions

View File

@ -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>

View File

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

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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
{ {