Created gst folder that maintains all modules for consistency and efficiency
authorGeunsik Lim <geunsik.lim@samsung.com>
Fri, 15 Jun 2018 05:28:25 +0000 (14:28 +0900)
committer함명주/동작제어Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Mon, 18 Jun 2018 03:42:49 +0000 (12:42 +0900)
This PR is to crate `gst`folder to maintain all modules in same folder.
* Reference: https://github.com/GStreamer/gst-plugins-good/tree/master/gst

**Changes proposed in this PR:**
* Version2:
1. Fxied tests folder

* Version1:
1. Created 'gst' folder
2. Moved all modules (e.g., tensor_***) to 'gst' folder
3. Modified CMakeLists.txt

**Self assessment:**
1. GBS build: okay
2. Debian build:
   - Cmake test: okay
   - mk-build-deps test: okay

Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
19 files changed:
CMakeLists.txt
gst/tensor_converter/CMakeLists.txt [moved from tensor_converter/CMakeLists.txt with 100% similarity]
gst/tensor_converter/README.md [moved from tensor_converter/README.md with 100% similarity]
gst/tensor_converter/tensor_converter.c [moved from tensor_converter/tensor_converter.c with 100% similarity]
gst/tensor_converter/tensor_converter.h [moved from tensor_converter/tensor_converter.h with 100% similarity]
gst/tensor_decoder/CMakeLists.txt [moved from tensor_decoder/CMakeLists.txt with 100% similarity]
gst/tensor_decoder/tensordec.c [moved from tensor_decoder/tensordec.c with 100% similarity]
gst/tensor_decoder/tensordec.h [moved from tensor_decoder/tensordec.h with 100% similarity]
gst/tensor_filter/CMakeLists.txt [moved from tensor_filter/CMakeLists.txt with 100% similarity]
gst/tensor_filter/README.md [moved from tensor_filter/README.md with 100% similarity]
gst/tensor_filter/tensor_filter.c [moved from tensor_filter/tensor_filter.c with 100% similarity]
gst/tensor_filter/tensor_filter.h [moved from tensor_filter/tensor_filter.h with 100% similarity]
gst/tensor_filter/tensor_filter_custom.c [moved from tensor_filter/tensor_filter_custom.c with 100% similarity]
gst/tensor_filter/tensor_filter_tensorflow_lite.c [moved from tensor_filter/tensor_filter_tensorflow_lite.c with 100% similarity]
gst/tensor_merge/README.md [moved from tensor_merge/README.md with 100% similarity]
gst/tensor_sink/README.md [moved from tensor_sink/README.md with 100% similarity]
gst/tensor_source/README.md [moved from tensor_source/README.md with 100% similarity]
gst/tensor_transform/README.md [moved from tensor_transform/README.md with 100% similarity]
tests/testAPI.sh

index 6ef37aa..53d9ff5 100644 (file)
@@ -73,9 +73,9 @@ ADD_EXECUTABLE(unittest_common common/test/unittest_common.cpp ${gtestSrc})
 TARGET_INCLUDE_DIRECTORIES(unittest_common PUBLIC ${pkgs_INCLUDE_DIRS} ${gtestInc})
 TARGET_LINK_LIBRARIES(unittest_common ${pkgs_LIBRARIES} ${gtestLink})
 
-ADD_SUBDIRECTORY(tensor_converter)
-ADD_SUBDIRECTORY(tensor_filter)
-ADD_SUBDIRECTORY(tensor_decoder)
+ADD_SUBDIRECTORY(gst/tensor_converter)
+ADD_SUBDIRECTORY(gst/tensor_filter)
+ADD_SUBDIRECTORY(gst/tensor_decoder)
 ADD_SUBDIRECTORY(nnstreamer_example)
 
 CONFIGURE_FILE(nnstreamer.pc.in nnstreamer.pc @ONLY)
index 17e63a7..995e872 100644 (file)
@@ -1,6 +1,6 @@
 #!/usr/bin/env bash
 if [[ $# -eq 0 ]]; then
-       PATH_TO_PLUGIN="$PWD/../build/tensor_converter:$PWD/../build/tensor_filter:$PWD/../build/tensor_decoder"
+       PATH_TO_PLUGIN="$PWD/../build/gst/tensor_converter:$PWD/../build/gst/tensor_filter:$PWD/../build/gst/tensor_decoder"
 else
        PATH_TO_PLUGIN="$1"
 fi