diff options
author | Kwanghoon Son <k.son@samsung.com> | 2024-02-21 04:17:37 +0000 |
---|---|---|
committer | Kwanghoon Son <k.son@samsung.com> | 2024-03-06 11:20:30 +0900 |
commit | 0f36eb47ec802dbae5829fc6c161d077c890ec45 (patch) | |
tree | 40b73b92a06e0a00cc3b84d6ce50375ac7f20817 | |
parent | 7cb8f944da4e4a2c6decbbd7f2a53982f6d90553 (diff) | |
download | mediavision-0f36eb47ec802dbae5829fc6c161d077c890ec45.tar.gz mediavision-0f36eb47ec802dbae5829fc6c161d077c890ec45.tar.bz2 mediavision-0f36eb47ec802dbae5829fc6c161d077c890ec45.zip |
clang-format: Add missing header
clang-format detect missing header.
This Patch is pre-patch for SortIncludes
Sort order will
"local header"
<project header>
<3rd-party header>
<system C header>
<system CPP header>
Change-Id: If54698876bc8fd9016aff1709813932cdb4b8497
Signed-off-by: Kwanghoon Son <k.son@samsung.com>
5 files changed, 25 insertions, 13 deletions
diff --git a/mv_machine_learning/inference/include/DispVec.h b/mv_machine_learning/inference/include/DispVec.h index 9860be7a..996d897b 100644 --- a/mv_machine_learning/inference/include/DispVec.h +++ b/mv_machine_learning/inference/include/DispVec.h @@ -17,15 +17,17 @@ #ifndef __DISP_VEC_H__ #define __DISP_VEC_H__ +#include "MetadataType.h" +#include "DimInfo.h" +#include "Utils.h" + +#include <mv_inference_type.h> + #include <string> #include <vector> #include <map> #include <memory> -#include <mv_inference_type.h> -#include "DimInfo.h" -#include "Utils.h" - namespace mediavision { namespace inference diff --git a/mv_machine_learning/inference/include/Edge.h b/mv_machine_learning/inference/include/Edge.h index 338bee1d..893ce9ca 100644 --- a/mv_machine_learning/inference/include/Edge.h +++ b/mv_machine_learning/inference/include/Edge.h @@ -17,10 +17,13 @@ #ifndef __EDGE_H__ #define __EDGE_H__ -#include <vector> #include <mv_inference_type.h> +#include <mv_private.h> + #include <json-glib/json-glib.h> +#include <vector> + namespace mediavision { namespace inference diff --git a/mv_machine_learning/inference/include/Landmark.h b/mv_machine_learning/inference/include/Landmark.h index a691ef0a..f6040947 100644 --- a/mv_machine_learning/inference/include/Landmark.h +++ b/mv_machine_learning/inference/include/Landmark.h @@ -17,16 +17,18 @@ #ifndef __LANDMARK_H__ #define __LANDMARK_H__ -#include <string> -#include <vector> -#include <map> - -#include <opencv2/core.hpp> -#include <json-glib/json-glib.h> +#include "Edge.h" #include "DimInfo.h" #include "DispVec.h" #include "Utils.h" +#include <opencv2/core.hpp> +#include <json-glib/json-glib.h> + +#include <string> +#include <vector> +#include <map> + /** * @file Landmark.h * @brief This file contains the Landmark class definition which diff --git a/mv_machine_learning/object_detection_3d/include/IObjectDetection3d.h b/mv_machine_learning/object_detection_3d/include/IObjectDetection3d.h index b3852007..cf70b589 100644 --- a/mv_machine_learning/object_detection_3d/include/IObjectDetection3d.h +++ b/mv_machine_learning/object_detection_3d/include/IObjectDetection3d.h @@ -17,10 +17,11 @@ #ifndef __IOBJECT_DETECTION_3D_H__ #define __IOBJECT_DETECTION_3D_H__ -#include <mv_common.h> - #include "object_detection_3d_type.h" +#include <mv_common.h> +#include <types.h> + namespace mediavision { namespace machine_learning diff --git a/test/testsuites/machine_learning/inference/test_inference_helper.hpp b/test/testsuites/machine_learning/inference/test_inference_helper.hpp index 82af2f99..a29f0733 100644 --- a/test/testsuites/machine_learning/inference/test_inference_helper.hpp +++ b/test/testsuites/machine_learning/inference/test_inference_helper.hpp @@ -19,6 +19,10 @@ #include <mv_inference.h> +#include <gtest/gtest.h> + +#include <tuple> + typedef std::tuple<bool, mv_inference_target_device_e> ParamTypes; class TestInference : public ::testing::TestWithParam<ParamTypes> |