mv_machine_learning: code refactoring
authorInki Dae <inki.dae@samsung.com>
Thu, 26 May 2022 06:22:58 +0000 (15:22 +0900)
committerInki Dae <inki.dae@samsung.com>
Wed, 20 Jul 2022 05:16:57 +0000 (14:16 +0900)
commitae106a667bbcc71cf2301199ab456e2377d35767
tree776cb277431bb7d98e03a7bcd4e4087fd9a332be
parent822e486eaefd111c1200a535456d511678d2bc22
mv_machine_learning: code refactoring

[Version] : 0.23.2-0
[Issue type] : code refactoring

Did code refactoring like below,
- Move ConfigureBackendType function to Inference class and do not
  keep the backend type in Inference class. Instead, pass the backend
  type through Bind function directly.
- Rename ConfigureBackendType to CheckBackendType. Now this function
  checks if a given backend type is valid or not when Bind function
  is called.
- Add some exception code.

This is just a step for next code refactoring.

Change-Id: Id81ba442656823540c45be00bc398d961662b6b0
Signed-off-by: Inki Dae <inki.dae@samsung.com>
mv_machine_learning/face_recognition/src/face_recognition.cpp
mv_machine_learning/inference/include/Inference.h
mv_machine_learning/inference/src/Inference.cpp
mv_machine_learning/inference/src/mv_inference_open.cpp
packaging/capi-media-vision.spec