[decoder] Remove dependency from base class to derived class
authorYelin Jeong <yelini.jeong@samsung.com>
Tue, 14 May 2024 04:56:14 +0000 (13:56 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 16 May 2024 10:55:50 +0000 (19:55 +0900)
commit426173a0f9ca2e3aba3f47bf66fb77025a288128
tree5ec3df9e19a666b52dc1d694efbb8533bedb74e0
parent14e419b59b22e45f387fd616a87fb2aadfd6ab15
[decoder] Remove dependency from base class to derived class

This patch removes dependency from Bounding box class to properties.
setBoxDecodingMode does not need to be modified even if a new box property added.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
ext/nnstreamer/tensor_decoder/box_properties/mobilenetssd.cc
ext/nnstreamer/tensor_decoder/box_properties/mobilenetssdpp.cc
ext/nnstreamer/tensor_decoder/box_properties/mppalmdetection.cc
ext/nnstreamer/tensor_decoder/box_properties/ovdetection.cc
ext/nnstreamer/tensor_decoder/box_properties/yolo.cc
ext/nnstreamer/tensor_decoder/tensordec-boundingbox.cc
ext/nnstreamer/tensor_decoder/tensordec-boundingbox.h