[tensor_trainer] Change tensor_trainer from GstBaseTransfrom to GstElement
authorhyunil park <hyunil46.park@samsung.com>
Thu, 15 Dec 2022 07:00:06 +0000 (16:00 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 2 Feb 2023 08:30:19 +0000 (17:30 +0900)
commitf2c03813114f99ed90cb6f3fc68abdff6ea4e761
tree47b0a6e6a381ddc2f4e2205e255b29fb5a090166
parentf95a81e67a38fa7da463e1a6453b1ba360f790d4
[tensor_trainer] Change tensor_trainer from GstBaseTransfrom to GstElement

- A deleted GstBaseTransfrom's inheritance and used GstElement to push
  GstBuffer only when necessary.
- Add event and query function for caps negotiation
- Add chain function for handling input buffer
- Remove virtual function of GstBaseTransfrom

Signed-off-by: hyunil park <hyunil46.park@samsung.com>
gst/nnstreamer/elements/gsttensor_trainer.c
gst/nnstreamer/elements/gsttensor_trainer.h