return()
endif()
-add_executable(${PROJECT_NAME} visualizer_test_suite.c)
+add_executable(${PROJECT_NAME} visualizer_test_suite.cpp)
target_link_libraries(${PROJECT_NAME} ${MV_IMAGE_LIB_NAME}
${GLIB_PKG_LIBRARIES}
capi-system-info
mv_video_helper
mv_testsuite_common)
-install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
\ No newline at end of file
+install(TARGETS ${PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
+++ /dev/null
-/**
- * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <image_helper.h>
-#include <mv_private.h>
-
-void test_visualizer_2d()
-{
-
-}
-
-void test_visualizer_3d()
-{
-
-}
-
-int main(int argc, char *argv[])
-{
- LOGI("Media Vision visualizer-Testsuite is launched.");
-
- struct arguments arguments;
-
- std::chrono::system_clock::time_point StartTime = std::chrono::system_clock::now();
- test_visualizer_2d();
- std::chrono::milliseconds ms = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - StartTime);
- std::cout << "test_visualizer_2d : " << ms.count() << "ms" << std::endl;
-
- StartTime = std::chrono::system_clock::now();
- test_visualizer_3d();
- ms = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - StartTime);
- std::cout << "test_visualizer_3d : "<< ms.count() << "ms" << std::endl;
-
- LOGI("Media Vision visualizer-Testsuite is closed.");
-
- return 0;
-}
--- /dev/null
+/**
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <image_helper.h>
+#include <mv_private.h>
+
+#include <iostream>
+#include <chrono>
+
+void test_visualizer_2d()
+{
+
+}
+
+void test_visualizer_3d()
+{
+
+}
+
+int main(int argc, char *argv[])
+{
+ LOGI("Media Vision visualizer-Testsuite is launched.");
+
+ std::chrono::system_clock::time_point StartTime = std::chrono::system_clock::now();
+ test_visualizer_2d();
+ std::chrono::milliseconds ms = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - StartTime);
+ std::cout << "test_visualizer_2d : " << ms.count() << "ms" << std::endl;
+
+ StartTime = std::chrono::system_clock::now();
+ test_visualizer_3d();
+ ms = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now() - StartTime);
+ std::cout << "test_visualizer_3d : "<< ms.count() << "ms" << std::endl;
+
+ LOGI("Media Vision visualizer-Testsuite is closed.");
+
+ return 0;
+}