[C/Inference] Refactoring C-API module relations.
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 19 Oct 2021 09:54:21 +0000 (18:54 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 25 Oct 2021 04:10:51 +0000 (13:10 +0900)
commit181305562ea838ae276c1031118e2afad5099b14
treee246ac39596da1c4b45ee94872dcef1e19628703
parenta9a097ee148e279a9f0e2b9358f4bbd8b26bdc85
[C/Inference] Refactoring C-API module relations.

ML C-API interfaces and implementations are being refactored for better relations.

ml-common will be no longer depending on nnstreamer.

Then, in the future, nntrainer will be no longer depending on nnstreamer except for its nnstreamer-nntrainer subplugin.

1. Renamed headers and sources (except for Tizen Studio's files, which we need to tend later)
2. Refactored inter-file dependency and relations.

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
20 files changed:
c/README.md
c/capi-ml-common.pc.in
c/include/nnstreamer-capi-private.h [deleted file]
c/include/nnstreamer-tizen-internal.h
c/meson.build
c/src/ml-api-common-tizen-feature-check.c [moved from c/src/nnstreamer-capi-tizen-feature-check.c with 83% similarity]
c/src/ml-api-common.c [moved from c/src/nnstreamer-capi-util.c with 52% similarity]
c/src/ml-api-inference-internal.c [new file with mode: 0644]
c/src/ml-api-inference-internal.h [new file with mode: 0644]
c/src/ml-api-inference-pipeline.c [moved from c/src/nnstreamer-capi-pipeline.c with 92% similarity]
c/src/ml-api-inference-single.c [moved from c/src/nnstreamer-capi-single.c with 91% similarity]
c/src/ml-api-inference-tizen-privilege-check.c [moved from c/src/nnstreamer-capi-tizen-privilege-check.c with 93% similarity]
c/src/ml-api-internal.h [new file with mode: 0644]
java/android/nnstreamer/src/main/jni/Android-nnstreamer.mk
java/android/nnstreamer/src/main/jni/nnstreamer-native.h
packaging/machine-learning-api.spec
tests/capi/unittest_capi_datatype_consistency.cc
tests/capi/unittest_capi_inference.cc
tests/capi/unittest_capi_inference_latency.cc
tests/capi/unittest_capi_inference_nnfw_runtime.cc