[Repo/Push] Use Has Table to handle repo & add slot_id property
authorjijoong.moon <jijoong.moon@samsung.com>
Wed, 21 Nov 2018 01:46:32 +0000 (10:46 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Fri, 23 Nov 2018 18:34:27 +0000 (18:34 +0000)
commit2c5a2a47290b3c827bd7a5b7a339e4cd33e099bc
treebe08f72e22f3ad0a3159d85ecd1d1e0435c96c3a
parent7a70cc2b3a67d553459fb184ec75a22ab22af882
[Repo/Push] Use Has Table to handle repo & add slot_id property

- Instead of single linked list, Hash table is used to manage repo's
  data. Hash Table is "key [slot_id], GstTensorData*" where slot_id is
  given by user when the tensor_repopush is used.

- Slot Id is added to use as key for hash table. This should be same
  with tensor_repopop element. "tensor_repopop" will withdraw the data
  according to this slot_id.

**Self evaluation:**
1. Build test:  [X]Passed [ ]Failed [ ]Skipped
2. Run test:  [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon <jijoong.moon@samsung.com>
gst/nnstreamer/tensor_repo.c
gst/nnstreamer/tensor_repo.h
gst/tensor_repopush/tensor_repopush.c
gst/tensor_repopush/tensor_repopush.h